summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-position/position-absolute-fieldset.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-position/position-absolute-fieldset.html')
-rw-r--r--testing/web-platform/tests/css/css-position/position-absolute-fieldset.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-position/position-absolute-fieldset.html b/testing/web-platform/tests/css/css-position/position-absolute-fieldset.html
new file mode 100644
index 0000000000..b212e627ae
--- /dev/null
+++ b/testing/web-platform/tests/css/css-position/position-absolute-fieldset.html
@@ -0,0 +1,8 @@
+<!DOCTYPE html>
+<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
+<link rel="help" href="https://www.w3.org/TR/CSS22/visudet.html#abs-non-replaced-width">
+<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
+<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
+<div style="position:relative; width:100px; height:100px; background:red;">
+ <fieldset style="position:absolute; left:0; top:0; right:0; bottom:0; margin:0; border:none; background:green;"></fieldset>
+</div>