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 upCorrectly paint the CSS canvas’ background #26414
Conversation
highfive
commented
May 4, 2020
|
Heads up! This PR modifies the following files:
|
|
At the moment this PR has the same test expectation changes as #26121. It passes a couple more tests, but has some remaining regressions on my machine. @bors-servo try=wpt-2020
|
Correctly paint the CSS canvas’ background https://drafts.csswg.org/css-backgrounds/#special-backgrounds Fixes #25559 Closes #26121, as it is an alternative.
|
|
This depends: Is the other content on the page transformed? If it is, the correct solution would likely be to assign the background display item the correct reference frame as its spatial node. If the rest of the page content is not transformed (but should be), then I think appropriate thing would be to create a new reference frame at the the top level. |
|
|
|
@bors-servo try=wpt-2020 |
Correctly paint the CSS canvas’ background https://drafts.csswg.org/css-backgrounds/#special-backgrounds Fixes #25559 Closes #26121, as it is an alternative. Fixes #26444.
|
|
|
@mrobinson Do you want to review Simon's change here? |
Alright, you gave me the correct lead on Matrix to fix this bug. This uncovered another pre-existing bug, for which I added a separate commit. And I also introduced another bug in passing, now fixed as well. I think this should be in pretty good shape now. @bors-servo try=wpt-2020 |
Correctly paint the CSS canvas’ background https://drafts.csswg.org/css-backgrounds/#special-backgrounds Fixes #25559 Closes #26121, as it is an alternative. Fixes #26444.
|
|
|
Thanks! These changes look good. |
|
@bors-servo r=mrobinson |
|
|
|
|
Adapt layout 2020 viewer to new BoxTree and FragmentTree structs - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors #26414 introduced some changes to how we represent the box and fragment trees, so we need to adapt the layout viewer to support them.
SimonSapin commentedMay 4, 2020
•
edited by jdm
https://drafts.csswg.org/css-backgrounds/#special-backgrounds
Fixes #25559
Closes #26121, as it is an alternative.
Fixes #26444.