aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/htmlbodyelement.rs
diff options
context:
space:
mode:
authorMartin Robinson <mrobinson@igalia.com>2014-05-30 13:05:56 -0700
committerMartin Robinson <mrobinson@igalia.com>2014-05-30 13:16:24 -0700
commit12097703ba81c29667777c522c58ebab97e7a903 (patch)
tree3404c7c44a58bec769892a5e22228a7944b457c5 /src/components/script/dom/htmlbodyelement.rs
parentda896b8299620ad31bcdc84d931ecdcb3efd6979 (diff)
downloadservo-12097703ba81c29667777c522c58ebab97e7a903.tar.gz
servo-12097703ba81c29667777c522c58ebab97e7a903.zip
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.
Diffstat (limited to 'src/components/script/dom/htmlbodyelement.rs')
0 files changed, 0 insertions, 0 deletions