Index: LayoutTests/fast/css/invalidation/shadow-add-sheet-content.html |
diff --git a/LayoutTests/fast/css/invalidation/shadow-add-sheet-content.html b/LayoutTests/fast/css/invalidation/shadow-add-sheet-content.html |
index a1bf5539172b50ad5f808779ff9a3c89b17109ea..e299bf99d9e554750c845541b6f8d91b4dc831c8 100644 |
--- a/LayoutTests/fast/css/invalidation/shadow-add-sheet-content.html |
+++ b/LayoutTests/fast/css/invalidation/shadow-add-sheet-content.html |
@@ -32,12 +32,13 @@ |
shouldBeEqualToString("getComputedStyle(outerSpan).color", "rgb(255, 0, 0)"); |
+ document.body.offsetTop; |
var sheet = document.createElement("style"); |
sheet.appendChild(document.createTextNode("::content #outerSpan { color: green }")); |
root2.appendChild(sheet); |
if (window.internals) |
- shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "9"); |
+ shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "5"); |
shouldBeEqualToString("getComputedStyle(outerSpan).color", "rgb(0, 128, 0)"); |
</script> |