| Index: third_party/WebKit/LayoutTests/fast/css/invalidation/selection-pseudo.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/css/invalidation/selection-pseudo.html b/third_party/WebKit/LayoutTests/fast/css/invalidation/selection-pseudo.html
|
| index 50c122b9584a1cd53cf7b97d8efd1263350ed047..1e26ee641ea0ea6a54a8fd6b41a45b353c63838e 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/css/invalidation/selection-pseudo.html
|
| +++ b/third_party/WebKit/LayoutTests/fast/css/invalidation/selection-pseudo.html
|
| @@ -51,7 +51,7 @@ shouldBe("getComputedStyle(select[0], '::selection').backgroundColor", "red");
|
| document.body.offsetTop; // Force recalc.
|
| t1.className = "t1";
|
| if (window.internals)
|
| - shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "1");
|
| + shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "2"); // 1: own style, 2: pseudo style.
|
| shouldBe("getComputedStyle(select[0], '::selection').backgroundColor", "green");
|
|
|
| shouldBeDefined(window.testRunner);
|
| @@ -63,6 +63,7 @@ shouldBe("getComputedStyle(select[1], '::selection').backgroundColor", "red");
|
| document.body.offsetTop; // Force recalc.
|
| t2.className = "t2";
|
| if (window.internals)
|
| - shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "1");
|
| + shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "2");
|
| shouldBe("getComputedStyle(select[1], '::selection').backgroundColor", "green");
|
| +
|
| </script>
|
|
|