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 upRoot element background extents are wrong in layout_2020 #25559
Closed
Comments
mrobinson
added a commit
to mrobinson/servo
that referenced
this issue
Jan 20, 2020
This allows us to test initial root scrolling support in Layout 2020 and can hopefully be removed very soon.
mrobinson
added a commit
to mrobinson/servo
that referenced
this issue
Jan 20, 2020
This allows us to test initial root scrolling support in Layout 2020 and can hopefully be removed very soon.
mrobinson
added a commit
to mrobinson/servo
that referenced
this issue
Jan 20, 2020
This allows us to test initial root scrolling support in Layout 2020 and can hopefully be removed very soon.
|
The relevant spec is:
This affects the border painting area and painting order (position in the display list) of background layers for the root element (or in some cases HTML The painting area (mistakenly called |
mrobinson
added a commit
to mrobinson/servo
that referenced
this issue
Jan 21, 2020
This allows us to test initial root scrolling support in Layout 2020 and can hopefully be removed very soon.
mrobinson
added a commit
to mrobinson/servo
that referenced
this issue
Jan 21, 2020
This allows us to test initial root scrolling support in Layout 2020 and can hopefully be removed very soon.
mrobinson
added a commit
to mrobinson/servo
that referenced
this issue
Jan 21, 2020
This allows us to test initial root scrolling support in Layout 2020 and can hopefully be removed very soon.
mrobinson
added a commit
to mrobinson/servo
that referenced
this issue
Apr 6, 2020
The CSS Backgrounds and Borders specification describes the circumstances under which the HTML element's used style for backgrounds is determined by the BODY element. This change properly implements that behavior, fixing a variety of tests that expect the background specified on the BODY cover the entire page. Fixes: servo#25559
mrobinson
added a commit
to mrobinson/servo
that referenced
this issue
Apr 6, 2020
The CSS Backgrounds and Borders specification describes the circumstances under which the HTML element's used style for backgrounds is determined by the BODY element. This change properly implements that behavior, fixing a variety of tests that expect the background specified on the BODY cover the entire page. Fixes: servo#25559
mrobinson
added a commit
to mrobinson/servo
that referenced
this issue
Apr 6, 2020
The CSS Backgrounds and Borders specification describes the circumstances under which the HTML element's used style for backgrounds is determined by the BODY element. This change properly implements that behavior, fixing a variety of tests that expect the background specified on the BODY cover the entire page. Fixes: servo#25559
mrobinson
added a commit
to mrobinson/servo
that referenced
this issue
Apr 7, 2020
The CSS Backgrounds and Borders specification describes the circumstances under which the HTML element's used style for backgrounds is determined by the BODY element. This change properly implements that behavior, fixing a variety of tests that expect the background specified on the BODY cover the entire page. Fixes: servo#25559
mrobinson
added a commit
to mrobinson/servo
that referenced
this issue
Apr 7, 2020
The CSS Backgrounds and Borders specification describes the circumstances under which the HTML element's used style for backgrounds is determined by the BODY element. This change properly implements that behavior, fixing a variety of tests that expect the background specified on the BODY cover the entire page. Fixes: servo#25559
SimonSapin
added a commit
that referenced
this issue
May 4, 2020
https://drafts.csswg.org/css-backgrounds/#special-backgrounds Fixes #25559 Closes #26121, as it is an alternative.
bors-servo
added a commit
that referenced
this issue
May 4, 2020
Correctly paint the CSS canvas’ background https://drafts.csswg.org/css-backgrounds/#special-backgrounds Fixes #25559 Closes #26121, as it is an alternative.
SimonSapin
added a commit
that referenced
this issue
May 7, 2020
https://drafts.csswg.org/css-backgrounds/#special-backgrounds Fixes #25559 Closes #26121, as it is an alternative.
SimonSapin
added a commit
that referenced
this issue
May 7, 2020
https://drafts.csswg.org/css-backgrounds/#special-backgrounds Fixes #25559 Closes #26121, as it is an alternative.
bors-servo
added a commit
that referenced
this issue
May 7, 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.
SimonSapin
added a commit
that referenced
this issue
May 7, 2020
https://drafts.csswg.org/css-backgrounds/#special-backgrounds Fixes #25559 Closes #26121, as it is an alternative.
SimonSapin
added a commit
that referenced
this issue
May 13, 2020
https://drafts.csswg.org/css-backgrounds/#special-backgrounds Fixes #25559 Closes #26121, as it is an alternative.
SimonSapin
added a commit
that referenced
this issue
May 14, 2020
https://drafts.csswg.org/css-backgrounds/#special-backgrounds Fixes #25559 Closes #26121, as it is an alternative.
bors-servo
added a commit
that referenced
this issue
May 15, 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.
bors-servo
added a commit
that referenced
this issue
May 15, 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.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It looks like root element background extents aren't including page margins and don't cover the page viewport.
This shows a white page:
This shows a green page with 8 pixel white borders on the top and right:
This shows a completely green page. This is what I would expect for all test cases: