summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/floats/float-nowrap-1-notref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/CSS2/floats/float-nowrap-1-notref.html')
-rw-r--r--testing/web-platform/tests/css/CSS2/floats/float-nowrap-1-notref.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/CSS2/floats/float-nowrap-1-notref.html b/testing/web-platform/tests/css/CSS2/floats/float-nowrap-1-notref.html
new file mode 100644
index 0000000000..540c8048af
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/floats/float-nowrap-1-notref.html
@@ -0,0 +1,21 @@
+<!doctype html>
+<title>CSS Test Reference</title>
+<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
+<link rel="author" href="https://www.mozilla.org" title="Mozilla">
+<style>
+ div {
+ width: 10ch;
+ white-space: nowrap;
+ font-family: monospace;
+ }
+ span {
+ float: right;
+ width: 5ch;
+ height: 5ch;
+ background: blue;
+ }
+</style>
+<div>
+ <span></span>
+ Some text that overflows my parent.
+</div>