From 96258a022a7daee9606249beda61b1dc5d0eed2c Mon Sep 17 00:00:00 2001 From: trav90 Date: Sun, 9 Dec 2018 09:45:24 -0600 Subject: Only disallow lazy frame construction for direct children of display: contents elements --- .../display-contents-dyn-insert-text-ref.html | 7 +++++++ .../css-display/display-contents-dyn-insert-text.html | 16 ++++++++++++++++ layout/reftests/css-display/reftest.list | 1 + 3 files changed, 24 insertions(+) create mode 100644 layout/reftests/css-display/display-contents-dyn-insert-text-ref.html create mode 100644 layout/reftests/css-display/display-contents-dyn-insert-text.html (limited to 'layout/reftests') diff --git a/layout/reftests/css-display/display-contents-dyn-insert-text-ref.html b/layout/reftests/css-display/display-contents-dyn-insert-text-ref.html new file mode 100644 index 000000000..a212e025e --- /dev/null +++ b/layout/reftests/css-display/display-contents-dyn-insert-text-ref.html @@ -0,0 +1,7 @@ + + + +CSS Test reference - Bug 1338678 +
+
PASS
+
diff --git a/layout/reftests/css-display/display-contents-dyn-insert-text.html b/layout/reftests/css-display/display-contents-dyn-insert-text.html new file mode 100644 index 000000000..f3b0c0c95 --- /dev/null +++ b/layout/reftests/css-display/display-contents-dyn-insert-text.html @@ -0,0 +1,16 @@ + + + + +Bug 1338678 - display:contents makes textContent disappear +
+
+
+ diff --git a/layout/reftests/css-display/reftest.list b/layout/reftests/css-display/reftest.list index d310422bb..00f46a80b 100644 --- a/layout/reftests/css-display/reftest.list +++ b/layout/reftests/css-display/reftest.list @@ -24,5 +24,6 @@ skip pref(layout.css.display-contents.enabled,true) == display-contents-xbl-4.xu asserts(0-1) fuzzy-if(Android,8,3216) pref(layout.css.display-contents.enabled,true) == display-contents-fieldset.html display-contents-fieldset-ref.html # bug 1089223 asserts(1) pref(layout.css.display-contents.enabled,true) == display-contents-xbl-5.xul display-contents-xbl-3-ref.xul # bug 1089223 pref(layout.css.display-contents.enabled,true) == display-contents-list-item-child.html display-contents-list-item-child-ref.html +pref(layout.css.display-contents.enabled,true) == display-contents-dyn-insert-text.html display-contents-dyn-insert-text-ref.html pref(layout.css.display-contents.enabled,true) == display-contents-writing-mode-1.html display-contents-writing-mode-1-ref.html pref(layout.css.display-contents.enabled,true) == display-contents-writing-mode-2.html display-contents-writing-mode-2-ref.html -- cgit v1.2.3