Skip to content
This repository has been archived by the owner on Dec 19, 2024. It is now read-only.

Child element has no height and is out of the css page flow #31

Open
rodrigogoncalves opened this issue Feb 2, 2016 · 0 comments
Open

Comments

@rodrigogoncalves
Copy link

First of all: is this the desired behaviour? If so, what is the rationale? If not, why not remove absolute positioning from child elements?

What I am trying to produce is a layout in which iron-pages children will remain in the normal css position flow. I can achieve that using Developer Tools inspector (disabling position: absolute from the rendered children), or programatically setting a custom-style rule that targets test-page and sets position: static, but I am not sure if that might break something down the road.

I have prepared a jsbin to illustrate this: http://jsbin.com/novemeqaro/edit?html,output. Try commenting out the position property from custom-style and resize window so that iron-pages yellow content overlaps the blue page footer.

At least from this example, there is no penalty to the layout leaving the position attribute to static.

Thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants