summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-break/relpos-inline-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-break/relpos-inline-ref.html')
-rw-r--r--testing/web-platform/tests/css/css-break/relpos-inline-ref.html36
1 files changed, 36 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-break/relpos-inline-ref.html b/testing/web-platform/tests/css/css-break/relpos-inline-ref.html
new file mode 100644
index 0000000000..8c19f1cf4c
--- /dev/null
+++ b/testing/web-platform/tests/css/css-break/relpos-inline-ref.html
@@ -0,0 +1,36 @@
+<!DOCTYPE html>
+<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
+<style>
+ span {
+ position: relative;
+ left: -100px;
+ top: 100px;
+ border: 1px solid;
+ background:hotpink;
+ }
+ .fakecol {
+ float: left;
+ width: 150px;
+ height: 100%;
+ }
+</style>
+<div style="line-height:30px; height:60px;">
+ <div class="fakecol"></div>
+ <div class="fakecol">
+ <br>
+ <span style="border-right:none;">
+ line1<br>
+ </span>
+ </div>
+ <div class="fakecol">
+ <span style="border-left:none; border-right:none;">
+ line2<br>
+ line3<br>
+ </span>
+ </div>
+ <div class="fakecol">
+ <span style="border-left:none;">
+ line4<br>
+ </span>
+ </div>
+</div>