diff options
author | Moonchild <mcwerewolf@wolfbeast.com> | 2018-12-09 17:27:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-09 17:27:36 +0100 |
commit | 1fd53c96ef54e5e298fed7be9574fd2c9073463f (patch) | |
tree | f5979ebfeea6fbae934657494cce3ab035c97fba /layout/reftests/css-display/display-contents-dyn-insert-text.html | |
parent | 09cf173394adb294dd81362745b66f618968517b (diff) | |
parent | 96258a022a7daee9606249beda61b1dc5d0eed2c (diff) | |
download | UXP-1fd53c96ef54e5e298fed7be9574fd2c9073463f.tar UXP-1fd53c96ef54e5e298fed7be9574fd2c9073463f.tar.gz UXP-1fd53c96ef54e5e298fed7be9574fd2c9073463f.tar.lz UXP-1fd53c96ef54e5e298fed7be9574fd2c9073463f.tar.xz UXP-1fd53c96ef54e5e298fed7be9574fd2c9073463f.zip |
Merge pull request #903 from trav90/issue900
Only disallow lazy frame construction for direct children of display:…
Diffstat (limited to 'layout/reftests/css-display/display-contents-dyn-insert-text.html')
-rw-r--r-- | layout/reftests/css-display/display-contents-dyn-insert-text.html | 16 |
1 files changed, 16 insertions, 0 deletions
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 @@ +<!doctype html> +<meta charset="utf-8"> +<link rel="author" title="Markus Stange" href="mailto:mstange@themasta.com"> +<link rel="help" href="https://drafts.csswg.org/css-display/#box-generation"> +<title>Bug 1338678 - display:contents makes textContent disappear</title> +<div style="display: contents"> + <div id="element"></div> +</div> +<script> +window.onload = function() { + document.body.offsetTop; + var element = document.getElementById('element'); + element.textContent = "FAIL"; + element.textContent = "PASS"; +} +</script> |