aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/web-platform-tests/css/css-flexbox/anonymous-flex-item-006.html
diff options
context:
space:
mode:
Diffstat (limited to 'tests/wpt/web-platform-tests/css/css-flexbox/anonymous-flex-item-006.html')
-rw-r--r--tests/wpt/web-platform-tests/css/css-flexbox/anonymous-flex-item-006.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/wpt/web-platform-tests/css/css-flexbox/anonymous-flex-item-006.html b/tests/wpt/web-platform-tests/css/css-flexbox/anonymous-flex-item-006.html
new file mode 100644
index 00000000000..8544618efa4
--- /dev/null
+++ b/tests/wpt/web-platform-tests/css/css-flexbox/anonymous-flex-item-006.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>CSS Flexbox Test: Flex item - contiguous text runs - position:absolute and node removal</title>
+<link rel="author" title="Rune Lillesveen" href="mailto:futhark@chromium.org">
+<link rel="help" href="https://drafts.csswg.org/css-flexbox/#flex-items">
+<link rel="match" href="anonymous-flex-item-ref.html">
+<style>.abs { position:absolute }</style>
+<p>There should be a space between "two" and "words" below.</p>
+<div style="display:flex">two <span class="abs"></span><span id="spanRemove"></span><span class="abs"></span>words</div>
+<script>
+ document.body.offsetTop;
+ spanRemove.remove();
+</script>