mirror of
https://github.com/servo/servo.git
synced 2025-06-08 08:33:26 +00:00
Auto merge of #22037 - servo-wpt-sync:wpt_update_28-10-2018, r=jdm
Sync WPT with upstream (28-10-2018) Automated downstream sync of changes from upstream as of 28-10-2018. [no-wpt-sync] <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22037) <!-- Reviewable:end -->
This commit is contained in:
commit
aabd4a5ef6
33 changed files with 694 additions and 146 deletions
|
@ -190997,6 +190997,18 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"svg/render/reftests/filter-effects-on-pattern.html": [
|
||||
[
|
||||
"/svg/render/reftests/filter-effects-on-pattern.html",
|
||||
[
|
||||
[
|
||||
"/svg/render/reftests/filter-effects-on-pattern-ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
{}
|
||||
]
|
||||
],
|
||||
"svg/rendering/order/z-index.svg": [
|
||||
[
|
||||
"/svg/rendering/order/z-index.svg",
|
||||
|
@ -191009,6 +191021,18 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"svg/shapes/circle-01.svg": [
|
||||
[
|
||||
"/svg/shapes/circle-01.svg",
|
||||
[
|
||||
[
|
||||
"/svg/shapes/circle-01-ref.svg",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
{}
|
||||
]
|
||||
],
|
||||
"svg/shapes/ellipse-01.svg": [
|
||||
[
|
||||
"/svg/shapes/ellipse-01.svg",
|
||||
|
@ -191105,6 +191129,18 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"svg/shapes/ellipse-09.svg": [
|
||||
[
|
||||
"/svg/shapes/ellipse-09.svg",
|
||||
[
|
||||
[
|
||||
"/svg/shapes/ellipse-04-ref.svg",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
{}
|
||||
]
|
||||
],
|
||||
"svg/shapes/line-dasharray.svg": [
|
||||
[
|
||||
"/svg/shapes/line-dasharray.svg",
|
||||
|
@ -191165,6 +191201,18 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"svg/shapes/rect-05.svg": [
|
||||
[
|
||||
"/svg/shapes/rect-05.svg",
|
||||
[
|
||||
[
|
||||
"/svg/shapes/rect-05-ref.svg",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
{}
|
||||
]
|
||||
],
|
||||
"svg/shapes/reftests/pathlength-001.svg": [
|
||||
[
|
||||
"/svg/shapes/reftests/pathlength-001.svg",
|
||||
|
@ -275482,6 +275530,11 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"css/support/computed-testcommon.js": [
|
||||
[
|
||||
{}
|
||||
]
|
||||
],
|
||||
"css/support/green.ico": [
|
||||
[
|
||||
{}
|
||||
|
@ -307667,11 +307720,21 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"svg/render/reftests/filter-effects-on-pattern-ref.html": [
|
||||
[
|
||||
{}
|
||||
]
|
||||
],
|
||||
"svg/rendering/order/z-index-ref.svg": [
|
||||
[
|
||||
{}
|
||||
]
|
||||
],
|
||||
"svg/shapes/circle-01-ref.svg": [
|
||||
[
|
||||
{}
|
||||
]
|
||||
],
|
||||
"svg/shapes/ellipse-01-ref.svg": [
|
||||
[
|
||||
{}
|
||||
|
@ -307722,6 +307785,11 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"svg/shapes/rect-05-ref.svg": [
|
||||
[
|
||||
{}
|
||||
]
|
||||
],
|
||||
"svg/shapes/reftests/pathlength-001-ref.svg": [
|
||||
[
|
||||
{}
|
||||
|
@ -345963,6 +346031,12 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"css/filter-effects/parsing/filter-computed.html": [
|
||||
[
|
||||
"/css/filter-effects/parsing/filter-computed.html",
|
||||
{}
|
||||
]
|
||||
],
|
||||
"css/filter-effects/parsing/filter-parsing-invalid.html": [
|
||||
[
|
||||
"/css/filter-effects/parsing/filter-parsing-invalid.html",
|
||||
|
@ -584442,12 +584516,16 @@
|
|||
"58539b015fd13ef923e50f0d9f077f537ec88f56",
|
||||
"testharness"
|
||||
],
|
||||
"css/filter-effects/parsing/filter-computed.html": [
|
||||
"343e1447f2ea39ecb916787bd2389d56a167ede2",
|
||||
"testharness"
|
||||
],
|
||||
"css/filter-effects/parsing/filter-parsing-invalid.html": [
|
||||
"b1e089758d47704d01d9424d872a5cf62d771595",
|
||||
"a03532af163f4be555bc824cb5901a2beebf6b61",
|
||||
"testharness"
|
||||
],
|
||||
"css/filter-effects/parsing/filter-parsing-valid.html": [
|
||||
"e2dd7036a24cd79aee057e0537ff43070ad59073",
|
||||
"9d733495cc967bf698a7d0de766b5db02e8e5e0d",
|
||||
"testharness"
|
||||
],
|
||||
"css/filter-effects/parsing/lighting-color-parsing-invalid.html": [
|
||||
|
@ -587062,6 +587140,10 @@
|
|||
"85dd7324815b8f8ef1a1d0496224c1a0661db9d8",
|
||||
"support"
|
||||
],
|
||||
"css/support/computed-testcommon.js": [
|
||||
"0999418e748162bcee4d062b010bca45bd7cfdfe",
|
||||
"support"
|
||||
],
|
||||
"css/support/green.ico": [
|
||||
"691f61166f0d8f3c51d8e6441c9584c858223686",
|
||||
"support"
|
||||
|
@ -636319,7 +636401,7 @@
|
|||
"testharness"
|
||||
],
|
||||
"payment-request/META.yml": [
|
||||
"0a075e19c6bd89b662c088689c87124c1627d024",
|
||||
"e608c0ee279fcb7987f9167f8223f3fedce66c33",
|
||||
"support"
|
||||
],
|
||||
"payment-request/MerchantValidationEvent/complete-method.https.html": [
|
||||
|
@ -656018,6 +656100,14 @@
|
|||
"7cbf68d39a05d9b3e27f2613b65eaf64f63ed54b",
|
||||
"reftest"
|
||||
],
|
||||
"svg/render/reftests/filter-effects-on-pattern-ref.html": [
|
||||
"a61f17bf199374af3b6d106d3f5a72bc532449b8",
|
||||
"support"
|
||||
],
|
||||
"svg/render/reftests/filter-effects-on-pattern.html": [
|
||||
"1894bf8cc3b1c51f7bebd334ca422e9c75d5c3dd",
|
||||
"reftest"
|
||||
],
|
||||
"svg/rendering/order/z-index-ref.svg": [
|
||||
"ff7f9156682b6436ea8d0e4ab805b7c0f0d0fd5a",
|
||||
"support"
|
||||
|
@ -656054,6 +656144,14 @@
|
|||
"5c1758908605d71baf9fe87c9b54ccfab5c5e5cd",
|
||||
"testharness"
|
||||
],
|
||||
"svg/shapes/circle-01-ref.svg": [
|
||||
"1d62e8e2af82f8da03937be22d4c3f695111edb8",
|
||||
"support"
|
||||
],
|
||||
"svg/shapes/circle-01.svg": [
|
||||
"8eecd6621fb47d0aafc79eed5db00780220b6496",
|
||||
"reftest"
|
||||
],
|
||||
"svg/shapes/ellipse-01-ref.svg": [
|
||||
"c4ab1bd03913d56166a0a54a91d3a3c03703eceb",
|
||||
"support"
|
||||
|
@ -656106,6 +656204,10 @@
|
|||
"1ff393beb0e558eeba328f2e0697c9bcc73c10d0",
|
||||
"reftest"
|
||||
],
|
||||
"svg/shapes/ellipse-09.svg": [
|
||||
"77e3f3fe70bbc1655942353bdc719e7ffac46ba0",
|
||||
"reftest"
|
||||
],
|
||||
"svg/shapes/line-dasharray-ref.svg": [
|
||||
"5b1caaa8bc732191433f478da5162c07b266d757",
|
||||
"support"
|
||||
|
@ -656154,6 +656256,14 @@
|
|||
"37c4c9b2ab59238f9ff1339ac31e1eb1c1f4685b",
|
||||
"reftest"
|
||||
],
|
||||
"svg/shapes/rect-05-ref.svg": [
|
||||
"1d62e8e2af82f8da03937be22d4c3f695111edb8",
|
||||
"support"
|
||||
],
|
||||
"svg/shapes/rect-05.svg": [
|
||||
"27d01efc64b9345f7deaeb6960c3d4b7ce8386b1",
|
||||
"reftest"
|
||||
],
|
||||
"svg/shapes/reftests/pathlength-001-ref.svg": [
|
||||
"0ec9e0353ae4bcdf12acbdfe0e3aa85c22565054",
|
||||
"support"
|
||||
|
|
|
@ -56,6 +56,3 @@
|
|||
[background-position length(px) / events]
|
||||
expected: FAIL
|
||||
|
||||
[font-size length(em) / events]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
[properties-value-inherit-002.html]
|
||||
expected: TIMEOUT
|
||||
[background-position length(pt) / values]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -54,7 +55,7 @@
|
|||
expected: FAIL
|
||||
|
||||
[outline-width length(px) / values]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[border-left-width length(em) / values]
|
||||
expected: FAIL
|
||||
|
@ -69,13 +70,13 @@
|
|||
expected: FAIL
|
||||
|
||||
[opacity number[0,1\](zero-to-one) / values]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[line-height number(integer) / values]
|
||||
expected: FAIL
|
||||
|
||||
[outline-offset length(px) / values]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[font-size length(pt) / values]
|
||||
expected: FAIL
|
||||
|
@ -84,7 +85,7 @@
|
|||
expected: FAIL
|
||||
|
||||
[vertical-align length(in) / values]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[max-height percentage(%) / values]
|
||||
expected: FAIL
|
||||
|
@ -111,7 +112,7 @@
|
|||
expected: FAIL
|
||||
|
||||
[vertical-align percentage(%) / values]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[border-right-width length(pc) / values]
|
||||
expected: FAIL
|
||||
|
@ -132,10 +133,10 @@
|
|||
expected: FAIL
|
||||
|
||||
[vertical-align length(em) / values]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[clip rectangle(rectangle) / values]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[word-spacing length(em) / values]
|
||||
expected: FAIL
|
||||
|
@ -156,7 +157,7 @@
|
|||
expected: FAIL
|
||||
|
||||
[outline-offset length(ex) / values]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[min-width length(cm) / values]
|
||||
expected: FAIL
|
||||
|
@ -171,16 +172,16 @@
|
|||
expected: FAIL
|
||||
|
||||
[vertical-align length(pc) / values]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[vertical-align length(cm) / values]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[max-height length(ex) / values]
|
||||
expected: FAIL
|
||||
|
||||
[vertical-align length(ex) / values]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[min-height percentage(%) / values]
|
||||
expected: FAIL
|
||||
|
@ -189,7 +190,7 @@
|
|||
expected: FAIL
|
||||
|
||||
[outline-offset length(mm) / values]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[font-weight font-weight(keyword) / values]
|
||||
expected: FAIL
|
||||
|
@ -198,7 +199,7 @@
|
|||
expected: FAIL
|
||||
|
||||
[outline-offset length(pt) / values]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[line-height length(mm) / values]
|
||||
expected: FAIL
|
||||
|
@ -231,7 +232,7 @@
|
|||
expected: FAIL
|
||||
|
||||
[vertical-align length(pt) / values]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[border-left-color color(rgba) / values]
|
||||
expected: FAIL
|
||||
|
@ -294,10 +295,10 @@
|
|||
expected: FAIL
|
||||
|
||||
[outline-offset length(in) / values]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[outline-width length(pt) / values]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[border-top-width length(pc) / values]
|
||||
expected: FAIL
|
||||
|
@ -315,7 +316,7 @@
|
|||
expected: FAIL
|
||||
|
||||
[outline-width length(in) / values]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[word-spacing length(pt) / values]
|
||||
expected: FAIL
|
||||
|
@ -327,7 +328,7 @@
|
|||
expected: FAIL
|
||||
|
||||
[outline-color color(rgba) / values]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[border-right-width length(pt) / values]
|
||||
expected: FAIL
|
||||
|
@ -345,7 +346,7 @@
|
|||
expected: FAIL
|
||||
|
||||
[outline-width length(ex) / values]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[font-size length(pc) / values]
|
||||
expected: FAIL
|
||||
|
@ -354,7 +355,7 @@
|
|||
expected: FAIL
|
||||
|
||||
[outline-width length(cm) / values]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[max-width percentage(%) / values]
|
||||
expected: FAIL
|
||||
|
@ -369,19 +370,19 @@
|
|||
expected: FAIL
|
||||
|
||||
[outline-width length(mm) / values]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[border-left-width length(pc) / values]
|
||||
expected: FAIL
|
||||
|
||||
[outline-width length(pc) / values]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[font-weight font-weight(numeric) / values]
|
||||
expected: FAIL
|
||||
|
||||
[vertical-align length(px) / values]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[letter-spacing length(px) / values]
|
||||
expected: FAIL
|
||||
|
@ -402,7 +403,7 @@
|
|||
expected: FAIL
|
||||
|
||||
[outline-width length(em) / values]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[border-right-width length(em) / values]
|
||||
expected: FAIL
|
||||
|
@ -414,10 +415,10 @@
|
|||
expected: FAIL
|
||||
|
||||
[outline-offset length(em) / values]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[outline-offset length(cm) / values]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[border-top-width length(ex) / values]
|
||||
expected: FAIL
|
||||
|
@ -426,13 +427,13 @@
|
|||
expected: FAIL
|
||||
|
||||
[z-index integer(integer) / values]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[border-left-width length(pt) / values]
|
||||
expected: FAIL
|
||||
|
||||
[vertical-align length(mm) / values]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[border-bottom-width length(pc) / values]
|
||||
expected: FAIL
|
||||
|
@ -450,7 +451,7 @@
|
|||
expected: FAIL
|
||||
|
||||
[outline-offset length(pc) / values]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[max-height length(pc) / values]
|
||||
expected: FAIL
|
||||
|
@ -467,36 +468,159 @@
|
|||
[min-width length(ex) / values]
|
||||
expected: FAIL
|
||||
|
||||
[height length(em) / values]
|
||||
expected: FAIL
|
||||
|
||||
[word-spacing length(mm) / values]
|
||||
expected: FAIL
|
||||
|
||||
[text-indent length(pc) / values]
|
||||
expected: FAIL
|
||||
|
||||
[height length(mm) / values]
|
||||
expected: FAIL
|
||||
|
||||
[margin-top length(ex) / values]
|
||||
expected: FAIL
|
||||
|
||||
[word-spacing length(in) / values]
|
||||
expected: FAIL
|
||||
|
||||
[text-indent length(pt) / values]
|
||||
expected: FAIL
|
||||
|
||||
[padding-top length(pc) / values]
|
||||
expected: FAIL
|
||||
|
||||
[padding-left length(pc) / values]
|
||||
expected: FAIL
|
||||
|
||||
[word-spacing percentage(%) / values]
|
||||
expected: FAIL
|
||||
|
||||
[word-spacing length(cm) / values]
|
||||
expected: FAIL
|
||||
|
||||
[right length(pc) / values]
|
||||
expected: FAIL
|
||||
|
||||
[outline-width length(pc) / events]
|
||||
expected: TIMEOUT
|
||||
|
||||
[height percentage(%) / values]
|
||||
expected: FAIL
|
||||
|
||||
[vertical-align length(px) / events]
|
||||
expected: TIMEOUT
|
||||
|
||||
[outline-offset length(mm) / events]
|
||||
expected: TIMEOUT
|
||||
|
||||
[vertical-align length(in) / events]
|
||||
expected: TIMEOUT
|
||||
|
||||
[padding-left length(px) / values]
|
||||
expected: FAIL
|
||||
|
||||
[vertical-align length(em) / events]
|
||||
expected: TIMEOUT
|
||||
|
||||
[vertical-align length(cm) / events]
|
||||
expected: TIMEOUT
|
||||
|
||||
[margin-bottom length(pt) / values]
|
||||
expected: FAIL
|
||||
|
||||
[outline-offset length(cm) / events]
|
||||
expected: TIMEOUT
|
||||
|
||||
[vertical-align length(mm) / events]
|
||||
expected: TIMEOUT
|
||||
|
||||
[outline-offset length(em) / events]
|
||||
expected: TIMEOUT
|
||||
|
||||
[z-index integer(integer) / events]
|
||||
expected: TIMEOUT
|
||||
|
||||
[height length(px) / values]
|
||||
expected: FAIL
|
||||
|
||||
[vertical-align length(ex) / events]
|
||||
expected: TIMEOUT
|
||||
|
||||
[outline-width length(em) / events]
|
||||
expected: TIMEOUT
|
||||
|
||||
[visibility visibility(keyword) / events]
|
||||
expected: TIMEOUT
|
||||
|
||||
[opacity number[0,1\](zero-to-one) / events]
|
||||
expected: TIMEOUT
|
||||
|
||||
[right length(ex) / values]
|
||||
expected: FAIL
|
||||
|
||||
[right length(mm) / values]
|
||||
expected: FAIL
|
||||
|
||||
[visibility visibility(keyword) / values]
|
||||
expected: TIMEOUT
|
||||
|
||||
[outline-width length(cm) / events]
|
||||
expected: TIMEOUT
|
||||
|
||||
[padding-right length(ex) / values]
|
||||
expected: FAIL
|
||||
|
||||
[clip rectangle(rectangle) / events]
|
||||
expected: TIMEOUT
|
||||
|
||||
[margin-left length(pt) / values]
|
||||
expected: FAIL
|
||||
|
||||
[outline-width length(ex) / events]
|
||||
expected: TIMEOUT
|
||||
|
||||
[outline-width length(mm) / events]
|
||||
expected: TIMEOUT
|
||||
|
||||
[width length(mm) / values]
|
||||
expected: FAIL
|
||||
|
||||
[vertical-align percentage(%) / events]
|
||||
expected: TIMEOUT
|
||||
|
||||
[outline-width length(pt) / events]
|
||||
expected: TIMEOUT
|
||||
|
||||
[outline-color color(rgba) / events]
|
||||
expected: TIMEOUT
|
||||
|
||||
[height length(pt) / values]
|
||||
expected: FAIL
|
||||
|
||||
[outline-width length(in) / events]
|
||||
expected: TIMEOUT
|
||||
|
||||
[margin-right length(cm) / values]
|
||||
expected: FAIL
|
||||
|
||||
[padding-right length(px) / values]
|
||||
expected: FAIL
|
||||
|
||||
[outline-offset length(ex) / events]
|
||||
expected: TIMEOUT
|
||||
|
||||
[vertical-align length(pc) / events]
|
||||
expected: TIMEOUT
|
||||
|
||||
[vertical-align length(pt) / events]
|
||||
expected: TIMEOUT
|
||||
|
||||
[width length(ex) / values]
|
||||
expected: FAIL
|
||||
|
||||
[outline-offset length(pt) / events]
|
||||
expected: TIMEOUT
|
||||
|
||||
[margin-top length(pc) / values]
|
||||
expected: FAIL
|
||||
|
||||
[right length(pt) / values]
|
||||
expected: FAIL
|
||||
|
||||
[height length(ex) / values]
|
||||
expected: FAIL
|
||||
|
||||
[outline-offset length(px) / events]
|
||||
expected: TIMEOUT
|
||||
|
||||
[outline-offset length(in) / events]
|
||||
expected: TIMEOUT
|
||||
|
||||
[outline-width length(px) / events]
|
||||
expected: TIMEOUT
|
||||
|
||||
[outline-offset length(pc) / events]
|
||||
expected: TIMEOUT
|
||||
|
||||
|
|
|
@ -74,54 +74,60 @@
|
|||
[clip end]
|
||||
expected: FAIL
|
||||
|
||||
[margin-left intermediate]
|
||||
expected: FAIL
|
||||
|
||||
[border-top-width end]
|
||||
expected: FAIL
|
||||
|
||||
[border-left-width end]
|
||||
expected: FAIL
|
||||
|
||||
[border-bottom-width end]
|
||||
expected: FAIL
|
||||
|
||||
[left end]
|
||||
expected: FAIL
|
||||
|
||||
[width end]
|
||||
expected: FAIL
|
||||
|
||||
[max-height end]
|
||||
expected: FAIL
|
||||
|
||||
[outline-color end]
|
||||
expected: FAIL
|
||||
|
||||
[line-height end]
|
||||
expected: FAIL
|
||||
|
||||
[min-width end]
|
||||
expected: FAIL
|
||||
|
||||
[background-color end]
|
||||
expected: FAIL
|
||||
|
||||
[margin-right intermediate]
|
||||
expected: FAIL
|
||||
|
||||
[padding-top intermediate]
|
||||
expected: FAIL
|
||||
|
||||
[border-right-width end]
|
||||
expected: FAIL
|
||||
|
||||
[padding-bottom intermediate]
|
||||
expected: FAIL
|
||||
|
||||
[color end]
|
||||
expected: FAIL
|
||||
|
||||
[border-spacing end]
|
||||
expected: FAIL
|
||||
|
||||
[text-indent end]
|
||||
expected: FAIL
|
||||
|
||||
[width intermediate]
|
||||
expected: FAIL
|
||||
|
||||
[outline-width end]
|
||||
expected: FAIL
|
||||
|
||||
[padding-left end]
|
||||
expected: FAIL
|
||||
|
||||
[font-size end]
|
||||
expected: FAIL
|
||||
|
||||
[text-shadow end]
|
||||
expected: FAIL
|
||||
|
||||
[vertical-align end]
|
||||
expected: FAIL
|
||||
|
||||
[border-right-color end]
|
||||
expected: FAIL
|
||||
|
||||
[border-top-color end]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -0,0 +1,85 @@
|
|||
[filter-computed.html]
|
||||
[Property filter value 'invert(0)' computes to 'invert(0)']
|
||||
expected: FAIL
|
||||
|
||||
[Property filter value 'brightness(0)' computes to 'brightness(0)']
|
||||
expected: FAIL
|
||||
|
||||
[Property filter value 'invert(100%)' computes to 'invert(1)']
|
||||
expected: FAIL
|
||||
|
||||
[Property filter value 'sepia(0)' computes to 'sepia(0)']
|
||||
expected: FAIL
|
||||
|
||||
[Property filter value 'saturate(0)' computes to 'saturate(0)']
|
||||
expected: FAIL
|
||||
|
||||
[Property filter value 'contrast(0)' computes to 'contrast(0)']
|
||||
expected: FAIL
|
||||
|
||||
[Property filter value 'hue-rotate(90deg)' computes to 'hue-rotate(90deg)']
|
||||
expected: FAIL
|
||||
|
||||
[Property filter value 'brightness()' computes to 'brightness(0)']
|
||||
expected: FAIL
|
||||
|
||||
[Property filter value 'blur(100px)' computes to 'blur(100px)']
|
||||
expected: FAIL
|
||||
|
||||
[Property filter value 'sepia()' computes to 'sepia(1)']
|
||||
expected: FAIL
|
||||
|
||||
[Property filter value 'grayscale(50%)' computes to 'grayscale(0.5)']
|
||||
expected: FAIL
|
||||
|
||||
[Property filter value 'saturate()' computes to 'saturate(1)']
|
||||
expected: FAIL
|
||||
|
||||
[Property filter value 'grayscale()' computes to 'grayscale(1)']
|
||||
expected: FAIL
|
||||
|
||||
[Property filter value 'contrast(300%)' computes to 'contrast(3)']
|
||||
expected: FAIL
|
||||
|
||||
[Property filter value 'none' computes to 'none']
|
||||
expected: FAIL
|
||||
|
||||
[Property filter value 'brightness(300%)' computes to 'brightness(3)']
|
||||
expected: FAIL
|
||||
|
||||
[Property filter value 'invert()' computes to 'invert(0)']
|
||||
expected: FAIL
|
||||
|
||||
[Property filter value 'hue-rotate()' computes to 'hue-rotate(0deg)']
|
||||
expected: FAIL
|
||||
|
||||
[Property filter value 'opacity(0)' computes to 'opacity(0)']
|
||||
expected: FAIL
|
||||
|
||||
[Property filter value 'opacity(100%)' computes to 'opacity(1)']
|
||||
expected: FAIL
|
||||
|
||||
[Property filter value 'drop-shadow(1px 2px)' computes to 'drop-shadow(rgb(0, 255, 0) 1px 2px 0px)']
|
||||
expected: FAIL
|
||||
|
||||
[Property filter value 'sepia(100%)' computes to 'sepia(1)']
|
||||
expected: FAIL
|
||||
|
||||
[Property filter value 'blur()' computes to 'blur(0px)']
|
||||
expected: FAIL
|
||||
|
||||
[Property filter value 'drop-shadow(rgb(4, 5, 6) 1px 2px 0px)' computes to 'drop-shadow(rgb(4, 5, 6) 1px 2px 0px)']
|
||||
expected: FAIL
|
||||
|
||||
[Property filter value 'saturate(300%)' computes to 'saturate(3)']
|
||||
expected: FAIL
|
||||
|
||||
[Property filter value 'blur(10px) url("https://www.example.com/picture.svg#f") contrast(20) brightness(30)' computes to 'blur(10px) url("https://www.example.com/picture.svg#f") contrast(20) brightness(30)']
|
||||
expected: FAIL
|
||||
|
||||
[Property filter value 'opacity()' computes to 'opacity(1)']
|
||||
expected: FAIL
|
||||
|
||||
[Property filter value 'contrast()' computes to 'contrast(1)']
|
||||
expected: FAIL
|
||||
|
|
@ -59,3 +59,30 @@
|
|||
[Serialization should round-trip after setting e.style['filter'\] = "drop-shadow(rgba(4, 5, 6, 0.75) 1px 2px 3px)"]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['filter'\] = "saturate()" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['filter'\] = "grayscale()" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['filter'\] = "sepia()" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['filter'\] = "blur()" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['filter'\] = "contrast()" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['filter'\] = "invert()" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['filter'\] = "brightness()" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['filter'\] = "opacity()" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['filter'\] = "hue-rotate()" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -535,7 +535,7 @@
|
|||
expected: FAIL
|
||||
|
||||
[windows-1254: iso_8859-9:1989 (XMLHttpRequest)]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[windows-1258: cp1258 (XMLHttpRequest)]
|
||||
expected: TIMEOUT
|
||||
|
@ -570,5 +570,38 @@
|
|||
[windows-1256: windows-1256 (XMLHttpRequest)]
|
||||
expected: TIMEOUT
|
||||
|
||||
[windows-1254: iso_8859-9 (XMLHttpRequest)]
|
||||
expected: TIMEOUT
|
||||
|
||||
[windows-1254: iso88599 (XMLHttpRequest)]
|
||||
expected: TIMEOUT
|
||||
|
||||
[windows-1257: windows-1257 (XMLHttpRequest)]
|
||||
expected: TIMEOUT
|
||||
|
||||
[windows-1254: windows-1254 (XMLHttpRequest)]
|
||||
expected: TIMEOUT
|
||||
|
||||
[windows-1255: x-cp1255 (XMLHttpRequest)]
|
||||
expected: TIMEOUT
|
||||
|
||||
[windows-1254: iso8859-9 (XMLHttpRequest)]
|
||||
expected: TIMEOUT
|
||||
|
||||
[windows-1254: l5 (XMLHttpRequest)]
|
||||
expected: TIMEOUT
|
||||
|
||||
[windows-1254: x-cp1254 (XMLHttpRequest)]
|
||||
expected: TIMEOUT
|
||||
|
||||
[windows-1255: cp1255 (XMLHttpRequest)]
|
||||
expected: TIMEOUT
|
||||
|
||||
[windows-1254: iso-ir-148 (XMLHttpRequest)]
|
||||
expected: TIMEOUT
|
||||
|
||||
[windows-1255: windows-1255 (XMLHttpRequest)]
|
||||
expected: TIMEOUT
|
||||
|
||||
|
||||
[single-byte-decoder.html?TextDecoder]
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
[fetch-in-iframe.html]
|
||||
expected: CRASH
|
||||
[Untitled]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
[traverse_the_history_3.html]
|
||||
[Multiple history traversals, last would be aborted]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
[traverse_the_history_5.html]
|
||||
[Multiple history traversals, last would be aborted]
|
||||
expected: FAIL
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
[location-protocol-setter-non-broken-weird.html]
|
||||
[Set location.protocol to gopher]
|
||||
expected: FAIL
|
||||
|
||||
[Set location.protocol to http+x]
|
||||
expected: FAIL
|
||||
|
||||
[Set location.protocol to data]
|
||||
expected: FAIL
|
||||
|
||||
[Set location.protocol to ftp]
|
||||
expected: FAIL
|
||||
|
||||
[Set location.protocol to x]
|
||||
expected: FAIL
|
||||
|
|
@ -13,21 +13,3 @@
|
|||
[picture: source (max-width:500px) valid image, img valid image, resize to narrow]
|
||||
expected: FAIL
|
||||
|
||||
[picture: source (max-width:500px) broken image, img valid image, resize to narrow]
|
||||
expected: FAIL
|
||||
|
||||
[img (srcset 1 cand) valid image, resize to wide]
|
||||
expected: FAIL
|
||||
|
||||
[picture: same URL in source (max-width:500px) and img, resize to wide]
|
||||
expected: FAIL
|
||||
|
||||
[img (srcset 1 cand) valid image, resize to narrow]
|
||||
expected: FAIL
|
||||
|
||||
[picture: source (max-width:500px) valid image, img broken image, resize to wide]
|
||||
expected: FAIL
|
||||
|
||||
[picture: same URL in source (max-width:500px) and img, resize to narrow]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,2 +1,52 @@
|
|||
[parse-a-sizes-attribute-width-1000px.html]
|
||||
expected: CRASH
|
||||
[<img srcset="/images/green-1x1.png?e37a 50w, /images/green-16x16.png?e37a 51w" sizes="(min-width:0) min(1px, 100px)"> ref sizes="1px" (width:1000px)]
|
||||
expected: FAIL
|
||||
|
||||
[<img srcset="/images/green-1x1.png?f49b 50w, /images/green-16x16.png?f49b 51w" sizes="(min-width:0) max(-200vw, 1px"> ref sizes="1px" (width:1000px)]
|
||||
expected: FAIL
|
||||
|
||||
[<img srcset="/images/green-1x1.png?e38b 50w, /images/green-16x16.png?e38b 51w" sizes="(min-width:max(-200vw, 0)) 1px"> ref sizes="1px" (width:1000px)]
|
||||
expected: FAIL
|
||||
|
||||
[<img srcset="/images/green-1x1.png?e60 50w, /images/green-16x16.png?e60 51w" sizes="(min-width:0) or (min-width:-1px) 1px"> ref sizes="1px" (width:1000px)]
|
||||
expected: FAIL
|
||||
|
||||
[<img srcset="/images/green-1x1.png?e37b 50w, /images/green-16x16.png?e37b 51w" sizes="(min-width:0) max(-100px, 1px)"> ref sizes="1px" (width:1000px)]
|
||||
expected: FAIL
|
||||
|
||||
[<img srcset="/images/green-1x1.png?e38a 50w, /images/green-16x16.png?e38a 51w" sizes="(min-width:min(0, 200vw)) 1px"> ref sizes="1px" (width:1000px)]
|
||||
expected: FAIL
|
||||
|
||||
[<img srcset="/images/green-1x1.png?e61 50w, /images/green-16x16.png?e61 51w" sizes="(min-width:0) or (unknown "general-enclosed") 1px"> ref sizes="1px" (width:1000px)]
|
||||
expected: FAIL
|
||||
|
||||
[<img srcset="/images/green-1x1.png?e36b 50w, /images/green-16x16.png?e36b 51w" sizes="min(-100px, 1px)"> ref sizes="1px" (width:1000px)]
|
||||
expected: FAIL
|
||||
|
||||
[<img srcset="/images/green-1x1.png?f48b 50w, /images/green-16x16.png?f48b 51w" sizes="max(-200vw, 1px"> ref sizes="1px" (width:1000px)]
|
||||
expected: FAIL
|
||||
|
||||
[<img srcset="/images/green-1x1.png?f48a 50w, /images/green-16x16.png?f48a 51w" sizes="min(1px, 200vw"> ref sizes="1px" (width:1000px)]
|
||||
expected: FAIL
|
||||
|
||||
[<img srcset="/images/green-1x1.png?e38 50w, /images/green-16x16.png?e38 51w" sizes="(min-width:calc(0)) 1px"> ref sizes="1px" (width:1000px)]
|
||||
expected: FAIL
|
||||
|
||||
[<img srcset="/images/green-1x1.png?e58 50w, /images/green-16x16.png?e58 51w" sizes="(min-width:0) or (unknown-mf-name) 1px"> ref sizes="1px" (width:1000px)]
|
||||
expected: FAIL
|
||||
|
||||
[<img srcset="/images/green-1x1.png?e62 50w, /images/green-16x16.png?e62 51w" sizes="(min-width:0) or unknown-general-enclosed(foo) 1px"> ref sizes="1px" (width:1000px)]
|
||||
expected: FAIL
|
||||
|
||||
[<img srcset="/images/green-1x1.png?e59 50w, /images/green-16x16.png?e59 51w" sizes="(min-width:0) or (min-width:unknown-mf-value) 1px"> ref sizes="1px" (width:1000px)]
|
||||
expected: FAIL
|
||||
|
||||
[<img srcset="/images/green-1x1.png?e106 50w, /images/green-16x16.png?e106 51w" sizes="(min-width:0) or (unknown-general-enclosed !) 1px"> ref sizes="1px" (width:1000px)]
|
||||
expected: FAIL
|
||||
|
||||
[<img srcset="/images/green-1x1.png?e36a 50w, /images/green-16x16.png?e36a 51w" sizes="min(1px, 100px)"> ref sizes="1px" (width:1000px)]
|
||||
expected: FAIL
|
||||
|
||||
[<img srcset="/images/green-1x1.png?f49a 50w, /images/green-16x16.png?f49a 51w" sizes="(min-width:0) min(1px, 200vw"> ref sizes="1px" (width:1000px)]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
[DOMContentLoaded-defer.html]
|
||||
[The end: DOMContentLoaded and defer scripts]
|
||||
expected: FAIL
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
[aborted-parser.window.html]
|
||||
[async document.open() after parser is aborted]
|
||||
[document.open() after parser is aborted]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[bailout-exception-vs-return-xml.window.html]
|
||||
expected: TIMEOUT
|
||||
expected: CRASH
|
||||
[document.open should throw an InvalidStateError with XML document even when the ignore-opens-during-unload counter is greater than 0 (during beforeunload event)]
|
||||
expected: TIMEOUT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
[limited-quirks.html]
|
||||
[no-quirks.html]
|
||||
[top: -\\31 .5]
|
||||
expected: FAIL
|
||||
|
|
@ -1,17 +1,23 @@
|
|||
[urlencoded-parser.any.html]
|
||||
[request.formData() with input: a&b&c]
|
||||
expected: FAIL
|
||||
|
||||
[response.formData() with input: a=b&c=d]
|
||||
expected: FAIL
|
||||
|
||||
[request.formData() with input: &&&a=b&&&&c=d&]
|
||||
expected: FAIL
|
||||
|
||||
[request.formData() with input: a=b&c=d]
|
||||
[request.formData() with input: a=b&c=d&]
|
||||
expected: FAIL
|
||||
|
||||
[request.formData() with input: a=b&c=d&]
|
||||
[response.formData() with input: a&b&c]
|
||||
expected: FAIL
|
||||
|
||||
[request.formData() with input: _charset_=windows-1252&test=%C2x]
|
||||
expected: FAIL
|
||||
|
||||
[response.formData() with input: a=b&c=d&]
|
||||
expected: FAIL
|
||||
|
||||
[response.formData() with input: _charset_=windows-1252&test=%C2x]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
|
@ -19,15 +25,12 @@
|
|||
[request.formData() with input: a&b&c]
|
||||
expected: FAIL
|
||||
|
||||
[response.formData() with input: a&b&c]
|
||||
expected: FAIL
|
||||
|
||||
[request.formData() with input: &&&a=b&&&&c=d&]
|
||||
expected: FAIL
|
||||
|
||||
[response.formData() with input: _charset_=windows-1252&test=%C2x]
|
||||
expected: FAIL
|
||||
|
||||
[request.formData() with input: a=b&c=d&]
|
||||
expected: FAIL
|
||||
|
||||
[response.formData() with input: a=b&c=d&]
|
||||
expected: FAIL
|
||||
|
||||
[response.formData() with input: a=b&c=d]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
[005.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[dedicated worker in shared worker in dedicated worker]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
[paint_timing.html]
|
||||
expected: TIMEOUT
|
||||
[Performance entries observer]
|
||||
expected: NOTRUN
|
||||
|
2
tests/wpt/mozilla/meta/mozilla/unitless-length.html.ini
Normal file
2
tests/wpt/mozilla/meta/mozilla/unitless-length.html.ini
Normal file
|
@ -0,0 +1,2 @@
|
|||
[unitless-length.html]
|
||||
expected: TIMEOUT
|
|
@ -0,0 +1,62 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Filter Effects Module Level 1: getComputedValue().filter</title>
|
||||
<link rel="author" title="Eric Willigers" href="mailto:ericwilligers@chromium.org">
|
||||
<link rel="help" href="https://drafts.fxtf.org/filter-effects/#FilterProperty">
|
||||
<meta name="assert" content="filter supports omitted arguments'.">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/css/support/computed-testcommon.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<style>
|
||||
#target {
|
||||
color: lime;
|
||||
}
|
||||
</style>
|
||||
<div id="target"></div>
|
||||
<script>
|
||||
test_computed_value("filter", "none");
|
||||
|
||||
test_computed_value("filter", "blur(100px)");
|
||||
test_computed_value("filter", "blur()", "blur(0px)");
|
||||
|
||||
test_computed_value("filter", "brightness(0)");
|
||||
test_computed_value("filter", "brightness(300%)", "brightness(3)");
|
||||
test_computed_value("filter", "brightness()", "brightness(0)");
|
||||
|
||||
test_computed_value("filter", "contrast(0)");
|
||||
test_computed_value("filter", "contrast(300%)", "contrast(3)");
|
||||
test_computed_value("filter", "contrast()", "contrast(1)");
|
||||
|
||||
test_computed_value("filter", "drop-shadow(1px 2px)", "drop-shadow(rgb(0, 255, 0) 1px 2px 0px)");
|
||||
test_computed_value("filter", "drop-shadow(rgb(4, 5, 6) 1px 2px 0px)");
|
||||
|
||||
test_computed_value("filter", "grayscale(50%)", "grayscale(0.5)");
|
||||
test_computed_value("filter", "grayscale()", "grayscale(1)");
|
||||
|
||||
test_computed_value("filter", "hue-rotate(90deg)");
|
||||
test_computed_value("filter", "hue-rotate()", "hue-rotate(0deg)");
|
||||
|
||||
test_computed_value("filter", "invert(0)");
|
||||
test_computed_value("filter", "invert(100%)", "invert(1)");
|
||||
test_computed_value("filter", "invert()", "invert(0)");
|
||||
|
||||
test_computed_value("filter", "opacity(0)");
|
||||
test_computed_value("filter", "opacity(100%)", "opacity(1)");
|
||||
test_computed_value("filter", "opacity()", "opacity(1)");
|
||||
|
||||
test_computed_value("filter", "saturate(0)");
|
||||
test_computed_value("filter", "saturate(300%)", "saturate(3)");
|
||||
test_computed_value("filter", "saturate()", "saturate(1)");
|
||||
|
||||
test_computed_value("filter", "sepia(0)");
|
||||
test_computed_value("filter", "sepia(100%)", "sepia(1)");
|
||||
test_computed_value("filter", "sepia()", "sepia(1)");
|
||||
|
||||
test_computed_value("filter", 'blur(10px) url("https://www.example.com/picture.svg#f") contrast(20) brightness(30)');
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -19,15 +19,12 @@ test_invalid_value("filter", "none hue-rotate(0deg)");
|
|||
|
||||
test_invalid_value("filter", "blur(10)");
|
||||
test_invalid_value("filter", "blur(-100px)");
|
||||
test_invalid_value("filter", "blur()"); // crbug.com/618960 Blink/WebKit accept no arguments for all but drop-shadow.
|
||||
|
||||
test_invalid_value("filter", "brightness(-20)"); // crbug.com/776208 Blink/WebKit accept negative brightness.
|
||||
test_invalid_value("filter", "brightness(30px)");
|
||||
test_invalid_value("filter", "brightness()");
|
||||
|
||||
test_invalid_value("filter", "contrast(-20)");
|
||||
test_invalid_value("filter", "contrast(30px)");
|
||||
test_invalid_value("filter", "contrast()");
|
||||
|
||||
test_invalid_value("filter", "drop-shadow(10 20)");
|
||||
test_invalid_value("filter", "drop-shadow(10% 20%)");
|
||||
|
@ -38,26 +35,20 @@ test_invalid_value("filter", "drop-shadow()");
|
|||
|
||||
test_invalid_value("filter", "grayscale(-20)");
|
||||
test_invalid_value("filter", "grayscale(30px)");
|
||||
test_invalid_value("filter", "grayscale()");
|
||||
|
||||
test_invalid_value("filter", "hue-rotate(90)");
|
||||
test_invalid_value("filter", "hue-rotate()");
|
||||
|
||||
test_invalid_value("filter", "invert(-20)");
|
||||
test_invalid_value("filter", "invert(30px)");
|
||||
test_invalid_value("filter", "invert()");
|
||||
|
||||
test_invalid_value("filter", "opacity(-20)");
|
||||
test_invalid_value("filter", "opacity(30px)");
|
||||
test_invalid_value("filter", "opacity()");
|
||||
|
||||
test_invalid_value("filter", "saturate(-20)");
|
||||
test_invalid_value("filter", "saturate(30px)");
|
||||
test_invalid_value("filter", "saturate()");
|
||||
|
||||
test_invalid_value("filter", "sepia(-20)");
|
||||
test_invalid_value("filter", "sepia(30px)");
|
||||
test_invalid_value("filter", "sepia()");
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -16,12 +16,15 @@ test_valid_value("filter", "none");
|
|||
|
||||
test_valid_value("filter", "blur(100px)");
|
||||
test_valid_value("filter", "blur(0)", "blur(0px)");
|
||||
test_valid_value("filter", "blur()");
|
||||
|
||||
test_valid_value("filter", "brightness(0)");
|
||||
test_valid_value("filter", "brightness(300%)");
|
||||
test_valid_value("filter", "brightness()");
|
||||
|
||||
test_valid_value("filter", "contrast(0)");
|
||||
test_valid_value("filter", "contrast(300%)");
|
||||
test_valid_value("filter", "contrast()");
|
||||
|
||||
test_valid_value("filter", "drop-shadow(1px 2px)");
|
||||
test_valid_value("filter", "drop-shadow(1px 2px 3px)");
|
||||
|
@ -33,21 +36,27 @@ test_valid_value("filter", "drop-shadow(rgba(4, 5, 6, 0.75) 1px 2px 3px)");
|
|||
|
||||
test_valid_value("filter", "grayscale(0)");
|
||||
test_valid_value("filter", "grayscale(300%)", "grayscale(100%)");
|
||||
test_valid_value("filter", "grayscale()");
|
||||
|
||||
test_valid_value("filter", "hue-rotate(90deg)");
|
||||
test_valid_value("filter", "hue-rotate(0)", "hue-rotate(0deg)"); // https://github.com/w3c/fxtf-drafts/issues/228
|
||||
test_valid_value("filter", "hue-rotate()");
|
||||
|
||||
test_valid_value("filter", "invert(0)");
|
||||
test_valid_value("filter", "invert(300%)", "invert(100%)");
|
||||
test_valid_value("filter", "invert()");
|
||||
|
||||
test_valid_value("filter", "opacity(0)");
|
||||
test_valid_value("filter", "opacity(300%)", "opacity(100%)");
|
||||
test_valid_value("filter", "opacity()");
|
||||
|
||||
test_valid_value("filter", "saturate(0)");
|
||||
test_valid_value("filter", "saturate(300%)");
|
||||
test_valid_value("filter", "saturate()");
|
||||
|
||||
test_valid_value("filter", "sepia(0)");
|
||||
test_valid_value("filter", "sepia(300%)", "sepia(100%)");
|
||||
test_valid_value("filter", "sepia()");
|
||||
|
||||
// Edge serializes url(...) without quotes. Blink/WebKit and Firefox use quotes.
|
||||
test_valid_value("filter", "url(picture.svg#f)", ['url("picture.svg#f")', 'url(picture.svg#f)']);
|
||||
|
|
|
@ -0,0 +1,22 @@
|
|||
'use strict';
|
||||
|
||||
/**
|
||||
* Create test that a CSS property computes to the expected value.
|
||||
* The document element #target is used to perform the test.
|
||||
*
|
||||
* @param {string} property The name of the CSS property being tested.
|
||||
* @param {string} specified A specified value for the property.
|
||||
* @param {string} computed The expected computed value. If omitted,
|
||||
defaults to specified.
|
||||
*/
|
||||
function test_computed_value(property, specified, computed) {
|
||||
if (!computed)
|
||||
computed = specified;
|
||||
test(() => {
|
||||
if (!getComputedStyle(target)[property])
|
||||
return;
|
||||
target.style[property] = '';
|
||||
target.style[property] = specified;
|
||||
assert_equals(getComputedStyle(target)[property], computed);
|
||||
}, "Property " + property + " value '" + specified + "' computes to '" + computed + "'");
|
||||
}
|
|
@ -3,7 +3,7 @@ suggested_reviewers:
|
|||
- marcoscaceres
|
||||
- rsolomakhin
|
||||
- domenic
|
||||
- MSFTkihans
|
||||
- zouhir
|
||||
- mnoorenberghe
|
||||
- romandev
|
||||
- edenchuang
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
<!DOCTYPE html>
|
||||
<div>Expected: a solid green square.</div>
|
||||
<svg style="width: 200px; height: 200px; background: green;"></svg>
|
|
@ -0,0 +1,14 @@
|
|||
<!DOCTYPE html>
|
||||
<title>'mix-blend-mode' for <svg:pattern></title>
|
||||
<link rel="help" href="https://www.w3.org/TR/SVG2/render.html#PaintersModel">
|
||||
<link rel="help" href="https://github.com/w3c/fxtf-drafts/issues/309">
|
||||
<link rel="match" href="filter-effects-on-pattern-ref.html">
|
||||
<div>Expected: a solid green square.</div>
|
||||
<svg style="width: 200px; height: 200px; background: green;">
|
||||
<defs>
|
||||
<pattern id="pattern" x="0" y="0" width=".25" height=".25" style="mix-blend-mode: difference;">
|
||||
<rect x="0" y="0" width="25" height="25" fill="green"/>
|
||||
</pattern>
|
||||
</defs>
|
||||
<rect fill="url(#pattern)" width="200" height="200"/>
|
||||
</svg>
|
|
@ -0,0 +1,3 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100">
|
||||
</svg>
|
After Width: | Height: | Size: 112 B |
9
tests/wpt/web-platform-tests/svg/shapes/circle-01.svg
Normal file
9
tests/wpt/web-platform-tests/svg/shapes/circle-01.svg
Normal file
|
@ -0,0 +1,9 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100">
|
||||
<metadata>
|
||||
<link xmlns="http://www.w3.org/1999/xhtml" rel="help" href="https://www.w3.org/TR/SVG2/shapes.html#CircleElement"/>
|
||||
<link xmlns="http://www.w3.org/1999/xhtml" rel="match" href="circle-01-ref.svg"/>
|
||||
<meta xmlns="http://www.w3.org/1999/xhtml" name="assert" content="r 0 disables rendering."/>
|
||||
</metadata>
|
||||
<circle cx="50" cy="50" r="0" fill="red" stroke="red" stroke-width="5"/>
|
||||
</svg>
|
After Width: | Height: | Size: 517 B |
11
tests/wpt/web-platform-tests/svg/shapes/ellipse-09.svg
Normal file
11
tests/wpt/web-platform-tests/svg/shapes/ellipse-09.svg
Normal file
|
@ -0,0 +1,11 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100">
|
||||
<metadata>
|
||||
<link xmlns="http://www.w3.org/1999/xhtml" rel="help" href="https://www.w3.org/TR/SVG2/shapes.html#EllipseElement"/>
|
||||
<link xmlns="http://www.w3.org/1999/xhtml" rel="match" href="ellipse-04-ref.svg"/>
|
||||
<meta xmlns="http://www.w3.org/1999/xhtml" name="assert" content="rx or ry 0 disables rendering."/>
|
||||
</metadata>
|
||||
<ellipse cx="30" cy="50" rx="0" ry="10" fill="red" stroke="red" stroke-width="5"/>
|
||||
<ellipse cx="50" cy="50" rx="10" ry="0" fill="red" stroke="red" stroke-width="5"/>
|
||||
<ellipse cx="70" cy="50" rx="0" ry="0" fill="red" stroke="red" stroke-width="5"/>
|
||||
</svg>
|
After Width: | Height: | Size: 705 B |
3
tests/wpt/web-platform-tests/svg/shapes/rect-05-ref.svg
Normal file
3
tests/wpt/web-platform-tests/svg/shapes/rect-05-ref.svg
Normal file
|
@ -0,0 +1,3 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100">
|
||||
</svg>
|
After Width: | Height: | Size: 112 B |
11
tests/wpt/web-platform-tests/svg/shapes/rect-05.svg
Normal file
11
tests/wpt/web-platform-tests/svg/shapes/rect-05.svg
Normal file
|
@ -0,0 +1,11 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100">
|
||||
<metadata>
|
||||
<link xmlns="http://www.w3.org/1999/xhtml" rel="help" href="http://www.w3.org/TR/SVG2/shapes.html#RectElement"/>
|
||||
<link xmlns="http://www.w3.org/1999/xhtml" rel="match" href="rect-05-ref.svg"/>
|
||||
<meta xmlns="http://www.w3.org/1999/xhtml" name="assert" content="width or height 0 disables rendering."/>
|
||||
</metadata>
|
||||
<rect x="30" y="50" width="0" height="10" fill="red" stroke="red" stroke-width="4"/>
|
||||
<rect x="50" y="50" width="10" height="0" fill="red" stroke="red" stroke-width="4"/>
|
||||
<rect x="70" y="50" width="0" height="0" fill="red" stroke="red" stroke-width="4"/>
|
||||
</svg>
|
After Width: | Height: | Size: 711 B |
Loading…
Add table
Add a link
Reference in a new issue