summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/floats/float-root.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/CSS2/floats/float-root.html')
-rw-r--r--testing/web-platform/tests/css/CSS2/floats/float-root.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/CSS2/floats/float-root.html b/testing/web-platform/tests/css/CSS2/floats/float-root.html
new file mode 100644
index 0000000000..944ae7ad5f
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/floats/float-root.html
@@ -0,0 +1,13 @@
+<!DOCTYPe html>
+<link rel="help" href="https://drafts.csswg.org/css2/#propdef-float">
+<link rel="match" href="float-root-ref.html">
+
+<style>
+:root {
+ float: right;
+}
+</style>
+
+<body>
+<p>foo</p>
+</body>