summaryrefslogtreecommitdiffstats
path: root/layout/reftests/forms/legend/1339287.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/forms/legend/1339287.html')
-rw-r--r--layout/reftests/forms/legend/1339287.html58
1 files changed, 58 insertions, 0 deletions
diff --git a/layout/reftests/forms/legend/1339287.html b/layout/reftests/forms/legend/1339287.html
new file mode 100644
index 0000000000..482663f79f
--- /dev/null
+++ b/layout/reftests/forms/legend/1339287.html
@@ -0,0 +1,58 @@
+<!DOCTYPE HTML>
+<!--
+ Any copyright is dedicated to the Public Domain.
+ http://creativecommons.org/publicdomain/zero/1.0/
+-->
+<html><head>
+ <meta charset="utf-8">
+ <title>Testcase for bug 1339287</title>
+ <style type="text/css">
+
+html,body {
+ color:black; background-color:white; font:16px/1 monospace; padding:0; margin:0;
+}
+
+fieldset { border:1px solid black; } /* solid border is less likely to cause AA issues */
+
+ </style>
+</head>
+<body>
+
+ <fieldset>
+ <legend style="display:inline-flex">
+ Headline
+ <span>
+ Instructions
+ </span>
+ </legend>
+ </fieldset>
+
+ <fieldset>
+ <legend style="display:inline-grid">
+ Headline
+ <span>
+ Instructions
+ </span>
+ </legend>
+ </fieldset>
+
+ <fieldset>
+ <legend style="display:flex">
+ Headline
+ <span>
+ Instructions
+ </span>
+ </legend>
+ </fieldset>
+
+ <fieldset>
+ <legend style="display:grid">
+ Headline
+ <span>
+ Instructions
+ </span>
+ </legend>
+ </fieldset>
+
+</body>
+</html>