diff options
author | Anthony Ramine <n.oxyde@gmail.com> | 2018-01-18 10:15:04 +0100 |
---|---|---|
committer | Anthony Ramine <n.oxyde@gmail.com> | 2018-01-18 11:04:13 +0100 |
commit | 7e6290451fade3428eb7263949ed0fc4ac4388a7 (patch) | |
tree | cc2a4d1b8c742f25a7c5ef7a0e92db0eb879197b /tests/wpt/web-platform-tests/css/css-display | |
parent | 1f6a864ab5372fe4f59b1a4c3db7cf8e7a79b06d (diff) | |
download | servo-7e6290451fade3428eb7263949ed0fc4ac4388a7.tar.gz servo-7e6290451fade3428eb7263949ed0fc4ac4388a7.zip |
Update web-platform-tests to revision ddfc95cf0493ae147a4f6a4d7be8eff1a0c23098
Diffstat (limited to 'tests/wpt/web-platform-tests/css/css-display')
-rw-r--r-- | tests/wpt/web-platform-tests/css/css-display/display-contents-text-inherit-002.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/wpt/web-platform-tests/css/css-display/display-contents-text-inherit-002.html b/tests/wpt/web-platform-tests/css/css-display/display-contents-text-inherit-002.html new file mode 100644 index 00000000000..51bf96846c7 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-display/display-contents-text-inherit-002.html @@ -0,0 +1,16 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>CSS Display: Apply white-space property of display:contents element to inline children</title> +<link rel="author" title="Rune Lillesveen" href="mailto:futhark@chromium.org"> +<link rel="help" href="https://drafts.csswg.org/css-display-3/#valdef-display-contents"> +<link rel="match" href="display-contents-text-inherit-ref.html"> +<p>The words "Two" and "lines" should not be on the same line.</p> +<div id="div" style="background-color:red"> + <span style="display:contents;white-space:pre-line">Two + lines + </span> +</div> +<script> + document.body.offsetTop; + div.style.backgroundColor = "transparent"; +</script> |