summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-break/floats-and-text-narrow-and-short-dynamic-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-break/floats-and-text-narrow-and-short-dynamic-ref.html')
-rw-r--r--testing/web-platform/tests/css/css-break/floats-and-text-narrow-and-short-dynamic-ref.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-break/floats-and-text-narrow-and-short-dynamic-ref.html b/testing/web-platform/tests/css/css-break/floats-and-text-narrow-and-short-dynamic-ref.html
new file mode 100644
index 0000000000..51855d2d7a
--- /dev/null
+++ b/testing/web-platform/tests/css/css-break/floats-and-text-narrow-and-short-dynamic-ref.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<style>
+ .float {
+ float: left;
+ width: 2em;
+ height: 2em;
+ }
+ .yellow {
+ background: yellow;
+ }
+ .blue {
+ background: blue;
+ }
+</style>
+<p>Below there should be two yellow and two blue squares.</p>
+<div class="float yellow"></div>
+<div class="float blue"></div>
+<div class="float yellow"></div>
+<div class="float blue"></div>