Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Unified Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/html/rendering/replaced-elements/svg-inline-sizing/svg-inline.js

Issue 1899623002: Import latest web-platform-tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: handle new failures Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698