Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upStacking issue with iframe + overflow:hidden #8310
Closed
Labels
Comments
This was referenced Nov 3, 2015
mrobinson
added a commit
to mrobinson/servo
that referenced
this issue
Nov 3, 2015
Sometimes positioned content needs to be layered on top of stacking contexts. The layer synthesis code can do this, but the current design prevents it because stacking contexts are stored in a separate struct member. In order to preserve tree order, mix stacking contexts into the positioned content list, by adding a new StackingContextClass DisplayItem. Such items do not have a base DisplayItem. In some ways this simplifies the code, because we no longer have to have a separate code path in the StackingContextLayerCreator. Fixes servo#7779. Fixes servo#7983. Fixes servo#8122. Fixes servo#8310.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
PR #8266 solves the stacking issue with
overflow:hiddenfor regular elements, but with an iframe, stacking order is still wrong. The iframe element stacking level is ok (see its green border), but its content is not (blue square).