| Index: third_party/WebKit/LayoutTests/svg/foreignObject/fO-percentage-height-style.html
|
| diff --git a/third_party/WebKit/LayoutTests/svg/foreignObject/fO-percentage-height-style.html b/third_party/WebKit/LayoutTests/svg/foreignObject/fO-percentage-height-style.html
|
| index 16475cb1bf3f39cb91c99a4bf7203ee74b2df4c8..bce3cfd879a659e9b350c33475958a6cf9ea4f2f 100644
|
| --- a/third_party/WebKit/LayoutTests/svg/foreignObject/fO-percentage-height-style.html
|
| +++ b/third_party/WebKit/LayoutTests/svg/foreignObject/fO-percentage-height-style.html
|
| @@ -10,12 +10,12 @@
|
| description("Test use of percentages inside foreignObject");
|
|
|
| var nestedSvg = document.querySelectorAll('svg')[1];
|
| - shouldBe("nestedSvg.offsetHeight", "250");
|
| + shouldBe("getComputedStyle(nestedSvg).height", "'250px'");
|
|
|
| nestedSvg.style.height = "50%";
|
| - shouldBe("nestedSvg.offsetHeight", "125");
|
| + shouldBe("getComputedStyle(nestedSvg).height", "'125px'");
|
|
|
| var foreignObject = nestedSvg.parentNode;
|
| foreignObject.height.baseVal.value = 400;
|
| - shouldBe("nestedSvg.offsetHeight", "200");
|
| + shouldBe("getComputedStyle(nestedSvg).height", "'200px'");
|
| </script>
|
|
|