diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-text/white-space/white-space-empty-text-sibling.html')
-rw-r--r-- | testing/web-platform/tests/css/css-text/white-space/white-space-empty-text-sibling.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-text/white-space/white-space-empty-text-sibling.html b/testing/web-platform/tests/css/css-text/white-space/white-space-empty-text-sibling.html new file mode 100644 index 0000000000..50439df433 --- /dev/null +++ b/testing/web-platform/tests/css/css-text/white-space/white-space-empty-text-sibling.html @@ -0,0 +1,11 @@ +<!DOCTYPE html> +<link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-rules"> +<link rel="match" href="../../reference/pass_if_two_words.html"> +<p>There should be a space between "two" and "words" below.</p> +<div id="block"> <span>words</span></div> +<script> + block.insertBefore(document.createTextNode(""), block.firstChild); + block.insertBefore(document.createTextNode(""), block.firstChild); + block.offsetTop; + block.firstChild.data = "two"; +</script> |