Dielectric slab waveguide
1) this is as an ideal structure to teach the basics of propagation inside a dielectric slab. The real guiding structure of course has walls if one wants to embed it in a photonic chip 
2) This ideal structure is the same along the x axis. So there cannot be variations of the electric field along this axis. The same does not apply to the y axis