aboutsummaryrefslogtreecommitdiffstats
path: root/components/script_layout_interface/lib.rs
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2020-05-04 15:50:57 +0200
committerSimon Sapin <simon.sapin@exyr.org>2020-05-15 13:37:09 +0200
commit1f6efbf9e94542bde390cf9edfe56a03b09c351e (patch)
tree84d6749d2cb4572f74f8744b817ca4c11d9964b6 /components/script_layout_interface/lib.rs
parentc7acfc37ed774cbec0bc3be7722c11facbbf8ac8 (diff)
downloadservo-1f6efbf9e94542bde390cf9edfe56a03b09c351e.tar.gz
servo-1f6efbf9e94542bde390cf9edfe56a03b09c351e.zip
Correctly paint the CSS canvas’ background
https://drafts.csswg.org/css-backgrounds/#special-backgrounds Fixes https://github.com/servo/servo/issues/25559 Closes https://github.com/servo/servo/pull/26121, as it is an alternative.
Diffstat (limited to 'components/script_layout_interface/lib.rs')
-rw-r--r--components/script_layout_interface/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/script_layout_interface/lib.rs b/components/script_layout_interface/lib.rs
index 374c650986d..6b4b2615412 100644
--- a/components/script_layout_interface/lib.rs
+++ b/components/script_layout_interface/lib.rs
@@ -101,8 +101,10 @@ pub enum LayoutNodeType {
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
pub enum LayoutElementType {
Element,
+ HTMLBodyElement,
HTMLBRElement,
HTMLCanvasElement,
+ HTMLHtmlElement,
HTMLIFrameElement,
HTMLImageElement,
HTMLInputElement,