Update web-platform-tests to revision 8fde342d6e62e9820f2c19db634b99b78df796fa

This commit is contained in:
WPT Sync Bot 2019-03-08 20:43:08 -05:00
parent db29cb01b0
commit e9a369631b
48 changed files with 1012 additions and 283 deletions

View file

@ -13,10 +13,10 @@
<h:script src="/css/support/parsing-testcommon.js"/>
<script><![CDATA[
test_valid_value("stroke-dashoffset", "0");
test_valid_value("stroke-dashoffset", "0", "0px");
test_valid_value("stroke-dashoffset", "10px");
test_valid_value("stroke-dashoffset", "-20%");
test_valid_value("stroke-dashoffset", "30");
test_valid_value("stroke-dashoffset", "30", "30px");
test_valid_value("stroke-dashoffset", "40Q", "40q");
test_valid_value("stroke-dashoffset", "calc(2em + 3ex)");

Before

Width:  |  Height:  |  Size: 975 B

After

Width:  |  Height:  |  Size: 990 B

Before After
Before After

View file

@ -50,9 +50,9 @@ for (let lengthUnit of lengthUnits) {
target.style.strokeWidth = length;
const ref = document.getElementById('ref');
ref.style.wordSpacing = length;
ref.style.textIndent = length;
assert_equals(getComputedStyle(target).strokeWidth, getComputedStyle(ref).wordSpacing);
assert_equals(getComputedStyle(target).strokeWidth, getComputedStyle(ref).textIndent);
}, 'stroke-width computes ' + lengthUnit + ' lengths');
}

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

Before After
Before After

View file

@ -13,8 +13,8 @@
<h:script src="/css/support/parsing-testcommon.js"/>
<script><![CDATA[
test_valid_value("stroke-width", "0");
test_valid_value("stroke-width", "10");
test_valid_value("stroke-width", "0", "0px");
test_valid_value("stroke-width", "10", "10px");
test_valid_value("stroke-width", "1px");
test_valid_value("stroke-width", "calc(2em + 3ex)");
test_valid_value("stroke-width", "4%");

Before

Width:  |  Height:  |  Size: 990 B

After

Width:  |  Height:  |  Size: 1,005 B

Before After
Before After