Bug 1483901 [wpt PR 12527] - HTML: fieldset's legend and position: relative, a=testonly
authorSimon Pieters <zcorpan@gmail.com>
Wed, 22 Aug 2018 13:24:22 +0000
changeset 433113 3fffcfcdcbc182933559f7cd4255c5e57841becd
parent 433112 ef3bbe29c33d91e65e992657f56cc86dd223f749
child 433114 5e2681b808ee86302b9b09287e00d7586fd7b62b
push id34499
push usercsabou@mozilla.com
push dateThu, 23 Aug 2018 21:40:51 +0000
treeherdermozilla-central@49b70f7e6817 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1483901, 12527
milestone63.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 1483901 [wpt PR 12527] - HTML: fieldset's legend and position: relative, a=testonly Automatic update from web-platform-testsHTML: fieldset's legend and position: relative The legend should mask the border at its static position, but Edge moves the mask if it is relatively positioned. -- wpt-commits: 3e3892163140bcb51c2c015b1132fd817d3bc3f8 wpt-pr: 12527
testing/web-platform/meta/MANIFEST.json
testing/web-platform/tests/html/rendering/non-replaced-elements/the-fieldset-element-0/legend-position-relative-ref.html
testing/web-platform/tests/html/rendering/non-replaced-elements/the-fieldset-element-0/legend-position-relative.html
--- a/testing/web-platform/meta/MANIFEST.json
+++ b/testing/web-platform/meta/MANIFEST.json
@@ -183482,16 +183482,28 @@
       [
        "/html/rendering/non-replaced-elements/tables/table-width-ref.html",
        "=="
       ]
      ],
      {}
     ]
    ],
+   "html/rendering/non-replaced-elements/the-fieldset-element-0/legend-position-relative.html": [
+    [
+     "/html/rendering/non-replaced-elements/the-fieldset-element-0/legend-position-relative.html",
+     [
+      [
+       "/html/rendering/non-replaced-elements/the-fieldset-element-0/legend-position-relative-ref.html",
+       "=="
+      ]
+     ],
+     {}
+    ]
+   ],
    "html/rendering/non-replaced-elements/the-fieldset-element-0/min-width-not-important.html": [
     [
      "/html/rendering/non-replaced-elements/the-fieldset-element-0/min-width-not-important.html",
      [
       [
        "/html/rendering/non-replaced-elements/the-fieldset-element-0/ref.html",
        "=="
       ]
@@ -285608,16 +285620,21 @@
      {}
     ]
    ],
    "html/rendering/non-replaced-elements/tables/table-width-ref.html": [
     [
      {}
     ]
    ],
+   "html/rendering/non-replaced-elements/the-fieldset-element-0/legend-position-relative-ref.html": [
+    [
+     {}
+    ]
+   ],
    "html/rendering/non-replaced-elements/the-fieldset-element-0/ref.html": [
     [
      {}
     ]
    ],
    "html/rendering/non-replaced-elements/the-hr-element-0/align-ref.html": [
     [
      {}
@@ -596794,16 +596811,24 @@
   "html/rendering/non-replaced-elements/tables/table-width.html": [
    "59c5ca70d41cc969aed7ac6a531c1ca9a5f82f0f",
    "reftest"
   ],
   "html/rendering/non-replaced-elements/the-fieldset-element-0/legend-block-formatting-context.html": [
    "4e9539179739a3690aab276f2ba98c25bd4dfe9b",
    "testharness"
   ],
+  "html/rendering/non-replaced-elements/the-fieldset-element-0/legend-position-relative-ref.html": [
+   "fd6c11a00566759fbf1e749d49ad396cf1a7ee08",
+   "support"
+  ],
+  "html/rendering/non-replaced-elements/the-fieldset-element-0/legend-position-relative.html": [
+   "efd55ab22db75f8195a8d15161995311abf5b735",
+   "reftest"
+  ],
   "html/rendering/non-replaced-elements/the-fieldset-element-0/legend.html": [
    "1cda91f32baf119b8dd827275a3ba8b10c484084",
    "testharness"
   ],
   "html/rendering/non-replaced-elements/the-fieldset-element-0/min-width-not-important.html": [
    "cabbaf20e6563decd428c6fddae09e93b4dcc172",
    "reftest"
   ],
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/html/rendering/non-replaced-elements/the-fieldset-element-0/legend-position-relative-ref.html
@@ -0,0 +1,10 @@
+<!DOCTYPE html>
+<title>Reference for legend position: relative</title>
+<style>
+div { display: inline-block; background: lime; }
+.a { width: 100px; height: 200px; }
+.b { width: 100px; height: 100px; }
+.c { width: 200px; height: 200px; }
+</style>
+<p>There should be no red.</p>
+<div class=a></div><div class=b></div><div class=c></div>
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/html/rendering/non-replaced-elements/the-fieldset-element-0/legend-position-relative.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<title>legend position: relative</title>
+<link rel=match href=legend-position-relative-ref.html>
+<style>
+fieldset { border: 100px solid lime; width: 200px; padding: 0; margin: 0 }
+legend { position: relative; left: 100px; width: 100px; padding: 0 }
+.behind { position: absolute; left: 208px; width: 100px; height: 100px; background: red; z-index: -1 }
+</style>
+<p>There should be no red.</p>
+<div class=behind></div>
+<fieldset><legend></legend></fieldset>