You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have established that it works with overflow auto, scroll and visible.
I have looked in components/gfx/display_list.
There's two files in this directory. One of them is the optimizer.
I have taken out the optimizer (I've had it return the same display_list it was given in input as it's output) and the problem is still present, so that rules out an optimizer bug.
I then looked at the mod.rs file. I then also looked at components/layout/[block, display_list_builder].rs. I don't understand everything going on in all those files yet though. Display lists, fragments, stacking order and even block elements are all pretty new to me so that makes a lot to absorb.
I've search components/gfx and components/layout for mentions of the terms overflow, hidden and absolute positioning and looked at that code and made some changes to see if they had any impact.
Do you have any suggestions as to where I could look next or any ideas?
I'm hoping for some angle on how to tackle this next.
@gilles-leblanc Tests that were added for issues in previous PRs that I have landed seem to be failing as well. Can you double-check that you are not running the tests with a stale build? One thing that I sometimes do is to only compile a debug build and accidentally run the tests with --release flag or the opposite.
@mrobinson Oh my bad I thought that the tests were ran with the last build, in my case a release build so I didn't supply the --release switch for the test command.
Activity
gilles-leblanc commentedon Oct 23, 2015
If this one is free for the taking I would like to have a look into it.
jdm commentedon Oct 23, 2015
Sure looks like it!
gilles-leblanc commentedon Oct 30, 2015
For the moment I'm stuck with this one.
I have established that it works with overflow auto, scroll and visible.
I have looked in
components/gfx/display_list.There's two files in this directory. One of them is the optimizer.
I have taken out the optimizer (I've had it return the same
display_listit was given in input as it's output) and the problem is still present, so that rules out an optimizer bug.I then looked at the
mod.rs file. I then also looked atcomponents/layout/[block, display_list_builder].rs. I don't understand everything going on in all those files yet though. Display lists, fragments, stacking order and even block elements are all pretty new to me so that makes a lot to absorb.I've search
components/gfxandcomponents/layoutfor mentions of the termsoverflow,hiddenand absolute positioning and looked at that code and made some changes to see if they had any impact.Do you have any suggestions as to where I could look next or any ideas?
I'm hoping for some angle on how to tackle this next.
eefriedman commentedon Oct 30, 2015
CC @mrobinson
metajack commentedon Nov 2, 2015
cc @pcwalton @glennw
This is blocking browser.html work.
mrobinson commentedon Nov 2, 2015
I believe this is also fixed by #8266.
Mix stacking contexts into the positioned content list
Mix stacking contexts into the positioned content list
Adds wpt css test for stacking order bug
gilles-leblanc commentedon Nov 3, 2015
@mrobinson I have made a wpt test with the case written by @paulrouget which I have committed to a branch (gilles-leblanc@b2ba72a). I then pulled and merged your branch master...mrobinson:stacking-context-mix and tested it but I'm still getting a failure on the test case.
mrobinson commentedon Nov 3, 2015
@gilles-leblanc I ran your test locally on top of master...mrobinson:stacking-context-mix and it seems to pass for me. Can you double-check by pulling the branch at https://github.com/mrobinson/servo/tree/gilles-test and testing again? If it continues to fail for you, would you post or describe the image diff from the test results analyzer at http://hoppipolla.co.uk/410/reftest-analyser-structured.xhtml?
gilles-leblanc commentedon Nov 3, 2015
@mrobinson I pulled the branch and it's still failing but it's probably something on my side, some sort of mistake I did. I've created a gist with the log file: https://gist.github.com/gilles-leblanc/8e6467040d342272a996 which you can paste in the reftest analyser.
mrobinson commentedon Nov 3, 2015
@gilles-leblanc Tests that were added for issues in previous PRs that I have landed seem to be failing as well. Can you double-check that you are not running the tests with a stale build? One thing that I sometimes do is to only compile a debug build and accidentally run the tests with --release flag or the opposite.
gilles-leblanc commentedon Nov 3, 2015
@mrobinson Oh my bad I thought that the tests were ran with the last build, in my case a release build so I didn't supply the --release switch for the test command.
Sorry!
Everything now works.
Mix stacking contexts into the positioned content list
Mix stacking contexts into the positioned content list