summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/floats/floats-line-wrap-shifted-001-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/CSS2/floats/floats-line-wrap-shifted-001-ref.html')
-rw-r--r--testing/web-platform/tests/css/CSS2/floats/floats-line-wrap-shifted-001-ref.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/CSS2/floats/floats-line-wrap-shifted-001-ref.html b/testing/web-platform/tests/css/CSS2/floats/floats-line-wrap-shifted-001-ref.html
new file mode 100644
index 0000000000..ab06bba524
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/floats/floats-line-wrap-shifted-001-ref.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<style>
+div {
+ font-size: 10px;
+ width: 12ch;
+ line-height: 1;
+ background: yellow;
+}
+.float {
+ width: 12ch;
+ height: 1em;
+ background: orange;
+}
+</style>
+
+<body>
+<div>
+ 1111<br>
+ 2222 3333
+ <div class="float"></div>
+</div>
+
+</body>