Bug 1339287 - Reftest.
authorMats Palmgren <mats@mozilla.com>
Mon, 20 Feb 2017 17:43:08 +0100
changeset 343909 5ef786064180a70c174f9205eb8ba4a27d7279a0
parent 343908 10d70527f1a0cdbbfac9ebce1832e1f97f9ccb27
child 343910 e745c540c6ed60d4d097167e35249fa6744a47da
push id31391
push userphilringnalda@gmail.com
push dateTue, 21 Feb 2017 04:29:09 +0000
treeherdermozilla-central@d84beb192e57 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1339287
milestone54.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1339287 - Reftest.
layout/reftests/forms/legend/1339287-ref.html
layout/reftests/forms/legend/1339287.html
layout/reftests/forms/legend/reftest.list
new file mode 100644
--- /dev/null
+++ b/layout/reftests/forms/legend/1339287-ref.html
@@ -0,0 +1,46 @@
+<!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 Instructions
+    </legend>
+  </fieldset>
+
+  <fieldset>
+    <legend style="display:inline-grid">
+      Headline Instructions
+    </legend>
+  </fieldset>
+
+  <fieldset>
+    <legend style="display:flex">
+      Headline Instructions
+    </legend>
+  </fieldset>
+
+  <fieldset>
+    <legend style="display:grid">
+      Headline Instructions
+    </legend>
+  </fieldset>
+
+</body>
+</html>
new file mode 100644
--- /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>
--- a/layout/reftests/forms/legend/reftest.list
+++ b/layout/reftests/forms/legend/reftest.list
@@ -1,3 +1,4 @@
 == legend.html legend-ref.html
 fuzzy-if(skiaContent,1,7) pref(dom.webcomponents.enabled,true) == shadow-dom.html shadow-dom-ref.html
 == 1273433.html 1273433-ref.html
+== 1339287.html 1339287-ref.html