| Index: third_party/WebKit/LayoutTests/fast/css/invalidation/targeted-id-style-invalidation.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/css/invalidation/targeted-id-style-invalidation.html b/third_party/WebKit/LayoutTests/fast/css/invalidation/targeted-id-style-invalidation.html
|
| index b89b0e0b6ba4dd3c7df0cf02c0fab3286fcfae0f..021ffa85106c0451fafcaf02413e5d9b37523f15 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/css/invalidation/targeted-id-style-invalidation.html
|
| +++ b/third_party/WebKit/LayoutTests/fast/css/invalidation/targeted-id-style-invalidation.html
|
| @@ -44,23 +44,23 @@ var outer3 = document.getElementById('outer3');
|
| // Style recalc should happen on "inner" and "outer", but not "inner2" or "mid".
|
| outer.offsetTop;
|
| outer.id = 'outer1on';
|
| -shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "1");
|
| +shouldBe("internals.updateStyleAndLayoutAndReturnAffectedElementCount()", "1");
|
| shouldBe("getComputedStyle(inner).width", '"200px"');
|
|
|
| // Style recalc should happen on "inner", but not "innerChild".
|
| inner.offsetTop;
|
| inner.id = '';
|
| -shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "1");
|
| +shouldBe("internals.updateStyleAndLayoutAndReturnAffectedElementCount()", "1");
|
| shouldBe("getComputedStyle(inner).width", '"100px"');
|
|
|
| // Style recalc should happen on "outer2", but not "inner3".
|
| outer2.offsetTop;
|
| outer2.id = 'outer2on';
|
| -shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "1");
|
| +shouldBe("internals.updateStyleAndLayoutAndReturnAffectedElementCount()", "1");
|
| shouldBe("getComputedStyle(outer2).width", '"150px"');
|
|
|
| // Style recalc should happen on "outer3", but none of its children.
|
| outer3.offsetTop;
|
| outer3.id = 'outer3on';
|
| -shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "1");
|
| +shouldBe("internals.updateStyleAndLayoutAndReturnAffectedElementCount()", "1");
|
| </script>
|
|
|