From 1f6efbf9e94542bde390cf9edfe56a03b09c351e Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Mon, 4 May 2020 15:50:57 +0200 Subject: =?UTF-8?q?Correctly=20paint=20the=20CSS=20canvas=E2=80=99=20backg?= =?UTF-8?q?round?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- components/script_layout_interface/lib.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'components/script_layout_interface/lib.rs') 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, -- cgit v1.2.3