mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update web-platform-tests to revision d011702f368b88b3bae86e7a8fd2ddd22e18b33c
This commit is contained in:
parent
f9608022ca
commit
299ad0f9d0
573 changed files with 38776 additions and 14942 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue