summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-text/white-space/reference/text-wrap-balance-float-005-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-text/white-space/reference/text-wrap-balance-float-005-ref.html')
-rw-r--r--testing/web-platform/tests/css/css-text/white-space/reference/text-wrap-balance-float-005-ref.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-text/white-space/reference/text-wrap-balance-float-005-ref.html b/testing/web-platform/tests/css/css-text/white-space/reference/text-wrap-balance-float-005-ref.html
new file mode 100644
index 0000000000..b28426f575
--- /dev/null
+++ b/testing/web-platform/tests/css/css-text/white-space/reference/text-wrap-balance-float-005-ref.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<style>
+.container {
+ font: 20px/1.5 monospace;
+ width: 26.5ch;
+ border: solid 1px;
+}
+.float {
+ background: yellow;
+ padding: 0.2em 1ch;
+ line-height: 1.2;
+ float: left;
+}
+.float2 {
+ background: cyan;
+ padding: 0.2em 1ch;
+ line-height: 1.2;
+ float: right;
+}
+</style>
+
+<div class="container"><div class="float">FLOAT<br>FLOAT</div>abcde fghi<br>jklm nop<div class="float2">FLOAT<br>FLOAT</div><br>qrst uvw xyz!</div>