Bug 1465247 [wpt PR 11234] - [LayoutNG] Minor outline bug fix, a=testonly
authorAleks Totic <atotic@chromium.org>
Wed, 06 Jun 2018 16:56:22 +0000
changeset 422230 0e5fef5db20184637b166057a5d5faa38b1df479
parent 422229 9f044aca749d4e2bd59737b53bb35092665071be
child 422231 5f5c9d153413bd42f49e6e1001e7c502a6cb810a
push id34122
push userebalazs@mozilla.com
push dateMon, 11 Jun 2018 09:37:00 +0000
treeherdermozilla-central@9941eb8c3b29 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1465247, 11234, 835484, 1077373, 562879
milestone62.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 1465247 [wpt PR 11234] - [LayoutNG] Minor outline bug fix, a=testonly Automatic update from web-platform-tests[LayoutNG] Minor outline bug fix I found this one by accident in a testharness test. Adding a ref test that will detect failure. Reftest also passes in FF. Bug: 835484 Change-Id: I13b58bc8641f24a3fe18d70a1e3850e8e4a30513 Reviewed-on: https://chromium-review.googlesource.com/1077373 Reviewed-by: Koji Ishii <kojii@chromium.org> Commit-Queue: Aleks Totic <atotic@chromium.org> Cr-Commit-Position: refs/heads/master@{#562879} -- wpt-commits: 22cae554ae0878e7c297efc488a2bcb4ad6cebb8 wpt-pr: 11234
testing/web-platform/meta/MANIFEST.json
testing/web-platform/tests/css/css-ui/outline-020.html
testing/web-platform/tests/css/css-ui/reference/outline-020-ref.html
--- a/testing/web-platform/meta/MANIFEST.json
+++ b/testing/web-platform/meta/MANIFEST.json
@@ -149400,16 +149400,28 @@
       [
        "/css/reference/ref-filled-green-100px-square.xht",
        "=="
       ]
      ],
      {}
     ]
    ],
+   "css/css-ui/outline-020.html": [
+    [
+     "/css/css-ui/outline-020.html",
+     [
+      [
+       "/css/css-ui/reference/outline-020-ref.html",
+       "=="
+      ]
+     ],
+     {}
+    ]
+   ],
    "css/css-ui/outline-color-001.html": [
     [
      "/css/css-ui/outline-color-001.html",
      [
       [
        "/css/reference/ref-filled-green-100px-square.xht",
        "=="
       ]
@@ -258529,16 +258541,21 @@
      {}
     ]
    ],
    "css/css-ui/reference/outline-007-ref.html": [
     [
      {}
     ]
    ],
+   "css/css-ui/reference/outline-020-ref.html": [
+    [
+     {}
+    ]
+   ],
    "css/css-ui/reference/outline-offset.html": [
     [
      {}
     ]
    ],
    "css/css-ui/reference/outline-style-011-ref.html": [
     [
      {}
@@ -531923,16 +531940,20 @@
   "css/css-ui/outline-018.html": [
    "3135c237dffc1408758b1c8dc6721921f9fb0279",
    "testharness"
   ],
   "css/css-ui/outline-019.html": [
    "343127ab9431a804a3d5484c4dbaad2a2dae8c05",
    "reftest"
   ],
+  "css/css-ui/outline-020.html": [
+   "38588f278a3795effa0b77b3e65a35a344bf85f1",
+   "reftest"
+  ],
   "css/css-ui/outline-color-001.html": [
    "ce0a7c0301b2d8b8d1f521b69fb987ff39d0ff3a",
    "reftest"
   ],
   "css/css-ui/outline-offset-001.html": [
    "c7e011e63626c490500e27ebcabac20c534e86bf",
    "reftest"
   ],
@@ -532091,16 +532112,20 @@
   "css/css-ui/reference/outline-006-ref.html": [
    "9458ba5ba640f6d9fcfff4341b0c08c96db7755c",
    "support"
   ],
   "css/css-ui/reference/outline-007-ref.html": [
    "c27aa0f4b78e0d388f90b1e54d19db72780b9c26",
    "support"
   ],
+  "css/css-ui/reference/outline-020-ref.html": [
+   "2491d5c730fa27be0257aa10147c249824d32edd",
+   "support"
+  ],
   "css/css-ui/reference/outline-offset.html": [
    "e2af3bbb57ba940e1dcfedc70f03c3281c259350",
    "support"
   ],
   "css/css-ui/reference/outline-style-011-ref.html": [
    "f81347a9e059907fa7b9bca4d94dcee6dea95235",
    "support"
   ],
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/css/css-ui/outline-020.html
@@ -0,0 +1,23 @@
+<!doctype html>
+<html lang=en>
+  <meta charset=utf-8>
+  <title>CSS-UI test: outline block with outline inline</title>
+  <link rel="author" title="Aleks Totic <atotic@chromium.org>" href="atotic@">
+  <meta name=assert content="">
+  <link rel=help href="https://drafts.csswg.org/css-ui-3/#outline-props">
+  <link rel="match" href="./reference/outline-020-ref.html">
+<style>
+#container {
+  outline: green solid 5px;
+  width: 100px;
+  height: 30px;
+  padding: 5px;
+}
+#target {
+  outline: blue solid 5px;
+}
+</style>
+
+  <p>Test passes if blue outline touches top left of green outline.</p>
+  <div id="container"><span id="target">x</span></div>
+
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/css/css-ui/reference/outline-020-ref.html
@@ -0,0 +1,26 @@
+<!doctype html>
+<html lang=en>
+  <meta charset=utf-8>
+  <title>CSS-UI test: outline block with outline inline reference file</title>
+  <link rel="author" title="Aleks Totic <atotic@chromium.org>">
+  <meta name=assert content="inline child displays outline correctly">
+<style>
+#container {
+  border: 5px solid green;
+  width: 110px;
+  height: 40px;
+  position: relative;
+  top: -5px;
+  left: -5px;
+}
+
+#target {
+  border: 5px solid blue;
+  position: relative;
+  top: 5px;
+}
+</style>
+
+  <p>Test passes if blue outline touches top left of green outline.</p>
+  <div id="container"><span id="target">x</span></div>
+