diff options
author | Simon Sapin <simon.sapin@exyr.org> | 2020-05-04 15:50:57 +0200 |
---|---|---|
committer | Simon Sapin <simon.sapin@exyr.org> | 2020-05-15 13:37:09 +0200 |
commit | 1f6efbf9e94542bde390cf9edfe56a03b09c351e (patch) | |
tree | 84d6749d2cb4572f74f8744b817ca4c11d9964b6 /components/script_layout_interface/lib.rs | |
parent | c7acfc37ed774cbec0bc3be7722c11facbbf8ac8 (diff) | |
download | servo-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.rs | 2 |
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, |