| Index: third_party/WebKit/LayoutTests/imported/web-platform-tests/html/rendering/replaced-elements/svg-inline-sizing/svg-inline.js
|
| diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/rendering/replaced-elements/svg-inline-sizing/svg-inline.js b/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/rendering/replaced-elements/svg-inline-sizing/svg-inline.js
|
| index 07c44f00ea6a1d2bb7c73cd894f0656871bfa0e2..9b7fca0502c3066a4af832d1d09819d62b1061cf 100644
|
| --- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/rendering/replaced-elements/svg-inline-sizing/svg-inline.js
|
| +++ b/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/rendering/replaced-elements/svg-inline-sizing/svg-inline.js
|
| @@ -29,8 +29,8 @@ if (window.location.search) {
|
| }
|
|
|
| var testContainer = document.querySelector('#testContainer');
|
| -var outerWidth = testContainer.getBoundingClientRect().width;
|
| -var outerHeight = testContainer.getBoundingClientRect().height;
|
| +var testContainerWidth = testContainer.getBoundingClientRect().width;
|
| +var testContainerHeight = testContainer.getBoundingClientRect().height;
|
|
|
| SVGSizing.doCombinationTest(
|
| [["placeholder", [ null ]],
|
| @@ -45,7 +45,8 @@ SVGSizing.doCombinationTest(
|
| var testData = new SVGSizing.TestData(config);
|
|
|
| var expectedRect =
|
| - testData.computeInlineReplacedSize(outerWidth, outerHeight);
|
| + testData.computeInlineReplacedSize(testContainerWidth,
|
| + testContainerHeight);
|
| var svgElement = testData.buildSVGOrPlaceholder();
|
| var container =
|
| testData.buildContainer(svgElement);
|
|
|