Bug 1465415 [wpt PR 11246] - [css-contain] Disable paint containment on internal table elements, a=testonly
authorManuel Rego Casasnovas <rego@igalia.com>
Wed, 06 Jun 2018 17:14:46 +0000
changeset 422240 02fe5b723322bc7579845f26c58ee393d20866e8
parent 422239 d4f4c6fcdc44d4ae85d4e1c4b07cb0bb13011fcc
child 422241 83e0a828f3cc612b3712f03f6c071589ec454810
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
bugs1465415, 11246, 843329, 1078868, 563000
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 1465415 [wpt PR 11246] - [css-contain] Disable paint containment on internal table elements, a=testonly Automatic update from web-platform-tests[css-contain] Disable paint containment on internal table elements Text from the spec (https://drafts.csswg.org/css-contain/#containment-paint): "... if the element is an internal table element other than 'display: table-cell', ... paint containment has no effect." The patch disables "contain: paint" for internal table elements except table cells. BUG=843329 TEST=external/wpt/css/css-contain/contain-paint-014.html TEST=external/wpt/css/css-contain/contain-paint-015.html TEST=external/wpt/css/css-contain/contain-paint-016.html TEST=external/wpt/css/css-contain/contain-paint-017.html TEST=external/wpt/css/css-contain/contain-paint-018.html TEST=external/wpt/css/css-contain/contain-paint-019.html Change-Id: I975950ab72fe5cc5aa106fa5fdafd37c64dd6d85 Reviewed-on: https://chromium-review.googlesource.com/1078868 Reviewed-by: Morten Stenshorne <mstensho@chromium.org> Commit-Queue: Manuel Rego Casasnovas <rego@igalia.com> Cr-Commit-Position: refs/heads/master@{#563000} -- wpt-commits: 76860d7aee0c9e0992f812123f47e8cc07f9e201 wpt-pr: 11246
testing/web-platform/meta/MANIFEST.json
testing/web-platform/tests/css/css-contain/contain-paint-014.html
testing/web-platform/tests/css/css-contain/contain-paint-015.html
testing/web-platform/tests/css/css-contain/contain-paint-016.html
testing/web-platform/tests/css/css-contain/contain-paint-017.html
testing/web-platform/tests/css/css-contain/contain-paint-018.html
testing/web-platform/tests/css/css-contain/contain-paint-019.html
testing/web-platform/tests/css/css-contain/reference/contain-paint-014-ref.html
--- a/testing/web-platform/meta/MANIFEST.json
+++ b/testing/web-platform/meta/MANIFEST.json
@@ -108914,16 +108914,88 @@
       [
        "/css/css-contain/reference/contain-paint-013-ref.html",
        "=="
       ]
      ],
      {}
     ]
    ],
+   "css/css-contain/contain-paint-014.html": [
+    [
+     "/css/css-contain/contain-paint-014.html",
+     [
+      [
+       "/css/css-contain/reference/contain-paint-014-ref.html",
+       "=="
+      ]
+     ],
+     {}
+    ]
+   ],
+   "css/css-contain/contain-paint-015.html": [
+    [
+     "/css/css-contain/contain-paint-015.html",
+     [
+      [
+       "/css/css-contain/reference/contain-size-001-ref.html",
+       "=="
+      ]
+     ],
+     {}
+    ]
+   ],
+   "css/css-contain/contain-paint-016.html": [
+    [
+     "/css/css-contain/contain-paint-016.html",
+     [
+      [
+       "/css/css-contain/reference/contain-size-001-ref.html",
+       "=="
+      ]
+     ],
+     {}
+    ]
+   ],
+   "css/css-contain/contain-paint-017.html": [
+    [
+     "/css/css-contain/contain-paint-017.html",
+     [
+      [
+       "/css/css-contain/reference/contain-size-001-ref.html",
+       "=="
+      ]
+     ],
+     {}
+    ]
+   ],
+   "css/css-contain/contain-paint-018.html": [
+    [
+     "/css/css-contain/contain-paint-018.html",
+     [
+      [
+       "/css/css-contain/reference/contain-size-001-ref.html",
+       "=="
+      ]
+     ],
+     {}
+    ]
+   ],
+   "css/css-contain/contain-paint-019.html": [
+    [
+     "/css/css-contain/contain-paint-019.html",
+     [
+      [
+       "/css/css-contain/reference/contain-paint-014-ref.html",
+       "=="
+      ]
+     ],
+     {}
+    ]
+   ],
    "css/css-contain/contain-size-001.html": [
     [
      "/css/css-contain/contain-size-001.html",
      [
       [
        "/css/css-contain/reference/contain-size-001-ref.html",
        "=="
       ]
@@ -239927,16 +239999,21 @@
      {}
     ]
    ],
    "css/css-contain/reference/contain-paint-013-ref.html": [
     [
      {}
     ]
    ],
+   "css/css-contain/reference/contain-paint-014-ref.html": [
+    [
+     {}
+    ]
+   ],
    "css/css-contain/reference/contain-size-001-ref.html": [
     [
      {}
     ]
    ],
    "css/css-contain/reference/contain-size-004-ref.html": [
     [
      {}
@@ -495440,16 +495517,40 @@
   "css/css-contain/contain-paint-012.html": [
    "6a0fe4f463f20f38b800aa4218814efe72c99f2e",
    "reftest"
   ],
   "css/css-contain/contain-paint-013.html": [
    "9d34bde07da1bcd1d8cb7e65cb35bafca7b6eef4",
    "reftest"
   ],
+  "css/css-contain/contain-paint-014.html": [
+   "c22ee90cf05992dab4188cc86c255bd040babe26",
+   "reftest"
+  ],
+  "css/css-contain/contain-paint-015.html": [
+   "3941644b7fffc11a2786e55dc28d6fcfe55c57dc",
+   "reftest"
+  ],
+  "css/css-contain/contain-paint-016.html": [
+   "fbedca7cd40c2e5a6aea020de403d81ea334f2c1",
+   "reftest"
+  ],
+  "css/css-contain/contain-paint-017.html": [
+   "40a82207bac0728925609faf19e0aa896f956009",
+   "reftest"
+  ],
+  "css/css-contain/contain-paint-018.html": [
+   "74f65ae0e2f8c4ceb77c54fa8bf9b1d364f55c38",
+   "reftest"
+  ],
+  "css/css-contain/contain-paint-019.html": [
+   "75b780b1b791b6c3c06cddbd9462103b88bbd603",
+   "reftest"
+  ],
   "css/css-contain/contain-size-001.html": [
    "089c4fd7352f91a85d5d8f6bf8c5f261c868cd37",
    "reftest"
   ],
   "css/css-contain/contain-size-002.html": [
    "ea16d90e56729c1678b327412cd945a0dea6b762",
    "reftest"
   ],
@@ -495556,16 +495657,20 @@
   "css/css-contain/reference/contain-paint-008-ref.html": [
    "deba6dbd69a33458e0ae5de8721ae10984864dc6",
    "support"
   ],
   "css/css-contain/reference/contain-paint-013-ref.html": [
    "c3d8d642f2b4b25df84170669222b61866ab3057",
    "support"
   ],
+  "css/css-contain/reference/contain-paint-014-ref.html": [
+   "1f281c10ae1bf7dd0f1c9119458b3698077a8e60",
+   "support"
+  ],
   "css/css-contain/reference/contain-size-001-ref.html": [
    "6f68316c3e9647eb6f71d299bb1d43e286899a7d",
    "support"
   ],
   "css/css-contain/reference/contain-size-004-ref.html": [
    "090aba85ddcf927a33de227157ac8e411fd5c268",
    "support"
   ],
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/css/css-contain/contain-paint-014.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>CSS Containment Test: Paint containment on table-cell</title>
+<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
+<link rel="help" href="https://drafts.csswg.org/css-contain-1/#containment-paint">
+<link rel="match" href="reference/contain-paint-014-ref.html">
+<meta name=assert content="Paint containment does apply to table-cell elements.">
+<style>
+div {
+  display: table-cell;
+  contain: paint;
+}
+span {
+  position: absolute;
+}
+</style>
+
+<p>This test passes if you can NOT see the word FAIL below.</p>
+<div><span>FAIL</span></div>
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/css/css-contain/contain-paint-015.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>CSS Containment Test: Paint containment on table-row-group</title>
+<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
+<link rel="help" href="https://drafts.csswg.org/css-contain-1/#containment-paint">
+<link rel="match" href="reference/contain-size-001-ref.html">
+<meta name=assert content="Paint containment doesn't apply to table-row-group elements.">
+<style>
+div {
+  display: table-row-group;
+  contain: paint;
+}
+span {
+  position: absolute;
+}
+</style>
+
+<p>This test passes if you can see the word PASS below.</p>
+<div><span>PASS</span></div>
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/css/css-contain/contain-paint-016.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>CSS Containment Test: Paint containment on table-header-group</title>
+<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
+<link rel="help" href="https://drafts.csswg.org/css-contain-1/#containment-paint">
+<link rel="match" href="reference/contain-size-001-ref.html">
+<meta name=assert content="Paint containment doesn't apply to table-header-group elements.">
+<style>
+div {
+  display: table-header-group;
+  contain: paint;
+}
+span {
+  position: absolute;
+}
+</style>
+
+<p>This test passes if you can see the word PASS below.</p>
+<div><span>PASS</span></div>
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/css/css-contain/contain-paint-017.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>CSS Containment Test: Paint containment on table-footer-group</title>
+<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
+<link rel="help" href="https://drafts.csswg.org/css-contain-1/#containment-paint">
+<link rel="match" href="reference/contain-size-001-ref.html">
+<meta name=assert content="Paint containment doesn't apply to table-footer-group elements.">
+<style>
+div {
+  display: table-footer-group;
+  contain: paint;
+}
+span {
+  position: absolute;
+}
+</style>
+
+<p>This test passes if you can see the word PASS below.</p>
+<div><span>PASS</span></div>
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/css/css-contain/contain-paint-018.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>CSS Containment Test: Paint containment on table-row</title>
+<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
+<link rel="help" href="https://drafts.csswg.org/css-contain-1/#containment-paint">
+<link rel="match" href="reference/contain-size-001-ref.html">
+<meta name=assert content="Paint containment doesn't apply to table-row elements.">
+<style>
+div {
+  display: table-row;
+  contain: paint;
+}
+span {
+  position: absolute;
+}
+</style>
+
+<p>This test passes if you can see the word PASS below.</p>
+<div><span>PASS</span></div>
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/css/css-contain/contain-paint-019.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>CSS Containment Test: Paint containment on table-caption</title>
+<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
+<link rel="help" href="https://drafts.csswg.org/css-contain-1/#containment-paint">
+<link rel="match" href="reference/contain-paint-014-ref.html">
+<meta name=assert content="Paint containment does apply to table-caption elements.">
+<style>
+div {
+  display: table-caption;
+  contain: paint;
+}
+span {
+  position: absolute;
+}
+</style>
+
+<p>This test passes if you can NOT see the word FAIL below.</p>
+<div><span>FAIL</span></div>
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/css/css-contain/reference/contain-paint-014-ref.html
@@ -0,0 +1,5 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>CSS Containment Test: Reference file</title>
+<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
+<p>This test passes if you can NOT see the word FAIL below.</p>