mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Prevent child layers from overriding root background color
The first layer implicitly provides the size of the page, but child layer background colors can still improperly override the body background color. This commit ensures that layer background colors only apply to layers with the same id and pipeline id. Additionally the root layer's unrendered color is defined by the first layer's background color, just like for size.
This commit is contained in:
parent
da896b8299
commit
12097703ba
6 changed files with 37 additions and 10 deletions
|
@ -75,3 +75,4 @@
|
|||
== linebreak_simple_a.html linebreak_simple_b.html
|
||||
== linebreak_inline_span_a.html linebreak_inline_span_b.html
|
||||
== overconstrained_block.html overconstrained_block_ref.html
|
||||
== position_fixed_background_color_a.html position_fixed_background_color_b.html
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue