mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Update web-platform-tests to revision 4ab3cef83d73c2b6dd3616e0fe9165b3a6eed808
This commit is contained in:
parent
b0b01b86b8
commit
ecc0101a80
77 changed files with 1206 additions and 6877 deletions
|
@ -1,5 +1,4 @@
|
|||
[url-in-tags-revoke.window.html]
|
||||
expected: TIMEOUT
|
||||
[Fetching a blob URL immediately before revoking it works in an iframe.]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -7,7 +6,7 @@
|
|||
expected: FAIL
|
||||
|
||||
[Opening a blob URL in a new window immediately before revoking it works.]
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
||||
[Opening a blob URL in a noopener about:blank window immediately before revoking it works.]
|
||||
expected: FAIL
|
||||
|
@ -15,6 +14,3 @@
|
|||
[Opening a blob URL in a new window by clicking an <a> tag works immediately before revoking the URL.]
|
||||
expected: FAIL
|
||||
|
||||
[Fetching a blob URL immediately before revoking it works in <script> tags.]
|
||||
expected: TIMEOUT
|
||||
|
||||
|
|
|
@ -14,9 +14,6 @@
|
|||
[Revoke blob URL after creating Request, will fetch]
|
||||
expected: FAIL
|
||||
|
||||
[Revoke blob URL after calling fetch, fetch should succeed]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[url-with-fetch.any.html]
|
||||
[Untitled]
|
||||
|
|
|
@ -14761,12 +14761,6 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"proximity/ProximitySensor_onerror-manual.https.html": [
|
||||
[
|
||||
"proximity/ProximitySensor_onerror-manual.https.html",
|
||||
{}
|
||||
]
|
||||
],
|
||||
"quirks/active-and-hover-manual.html": [
|
||||
[
|
||||
"quirks/active-and-hover-manual.html",
|
||||
|
@ -203193,6 +203187,18 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"mathml/presentation-markup/scripts/underover-legacy-align-attribute-001.html": [
|
||||
[
|
||||
"mathml/presentation-markup/scripts/underover-legacy-align-attribute-001.html",
|
||||
[
|
||||
[
|
||||
"/mathml/presentation-markup/scripts/underover-legacy-align-attribute-001-ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
{}
|
||||
]
|
||||
],
|
||||
"mathml/presentation-markup/spaces/mspace-children.html": [
|
||||
[
|
||||
"mathml/presentation-markup/spaces/mspace-children.html",
|
||||
|
@ -210060,6 +210066,9 @@
|
|||
".gitattributes": [
|
||||
[]
|
||||
],
|
||||
".github/META.yml": [
|
||||
[]
|
||||
],
|
||||
".github/workflows/pull_request.yml": [
|
||||
[]
|
||||
],
|
||||
|
@ -226785,6 +226794,9 @@
|
|||
"content-security-policy/frame-ancestors/support/frame-in-frame.sub.html.sub.headers": [
|
||||
[]
|
||||
],
|
||||
"content-security-policy/frame-ancestors/support/service-worker.js": [
|
||||
[]
|
||||
],
|
||||
"content-security-policy/frame-src/frame-src-redirect.html.headers": [
|
||||
[]
|
||||
],
|
||||
|
@ -265995,7 +266007,7 @@
|
|||
"fonts/CanvasTest.ttf": [
|
||||
[]
|
||||
],
|
||||
"fonts/CanvasTest.ttf.sub.headers": [
|
||||
"fonts/CanvasTest.ttf.headers": [
|
||||
[]
|
||||
],
|
||||
"fonts/GentiumPlus-R.woff": [
|
||||
|
@ -266067,6 +266079,9 @@
|
|||
"fonts/ahem.css": [
|
||||
[]
|
||||
],
|
||||
"fonts/ahem.css.headers": [
|
||||
[]
|
||||
],
|
||||
"fonts/math/axisheight5000-verticalarrow14000.woff": [
|
||||
[]
|
||||
],
|
||||
|
@ -274188,6 +274203,9 @@
|
|||
"mathml/presentation-markup/radicals/radical-rendering-from-in-flow-ref.html": [
|
||||
[]
|
||||
],
|
||||
"mathml/presentation-markup/scripts/underover-legacy-align-attribute-001-ref.html": [
|
||||
[]
|
||||
],
|
||||
"mathml/presentation-markup/spaces/mspace-children-ref.html": [
|
||||
[]
|
||||
],
|
||||
|
@ -308841,6 +308859,12 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"content-security-policy/frame-ancestors/frame-ancestors-from-serviceworker.https.html": [
|
||||
[
|
||||
"content-security-policy/frame-ancestors/frame-ancestors-from-serviceworker.https.html",
|
||||
{}
|
||||
]
|
||||
],
|
||||
"content-security-policy/frame-ancestors/frame-ancestors-nested-cross-in-cross-none-block.html": [
|
||||
[
|
||||
"content-security-policy/frame-ancestors/frame-ancestors-nested-cross-in-cross-none-block.html",
|
||||
|
@ -309018,7 +309042,9 @@
|
|||
"content-security-policy/frame-ancestors/report-blocked-frame.sub.html": [
|
||||
[
|
||||
"content-security-policy/frame-ancestors/report-blocked-frame.sub.html",
|
||||
{}
|
||||
{
|
||||
"timeout": "long"
|
||||
}
|
||||
]
|
||||
],
|
||||
"content-security-policy/frame-src/frame-src-about-blank-allowed-by-default.sub.html": [
|
||||
|
@ -313181,6 +313207,12 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"css/css-animations/parsing/animation-computed.html": [
|
||||
[
|
||||
"css/css-animations/parsing/animation-computed.html",
|
||||
{}
|
||||
]
|
||||
],
|
||||
"css/css-animations/parsing/animation-delay-computed.html": [
|
||||
[
|
||||
"css/css-animations/parsing/animation-delay-computed.html",
|
||||
|
@ -315793,6 +315825,12 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"css/css-fonts/parsing/font-variant-invalid.html": [
|
||||
[
|
||||
"css/css-fonts/parsing/font-variant-invalid.html",
|
||||
{}
|
||||
]
|
||||
],
|
||||
"css/css-fonts/parsing/font-variant-ligatures-computed.html": [
|
||||
[
|
||||
"css/css-fonts/parsing/font-variant-ligatures-computed.html",
|
||||
|
@ -315847,6 +315885,12 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"css/css-fonts/parsing/font-variant-valid.html": [
|
||||
[
|
||||
"css/css-fonts/parsing/font-variant-valid.html",
|
||||
{}
|
||||
]
|
||||
],
|
||||
"css/css-fonts/parsing/font-variation-settings-computed.html": [
|
||||
[
|
||||
"css/css-fonts/parsing/font-variation-settings-computed.html",
|
||||
|
@ -325049,6 +325093,12 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"css/css-transitions/parsing/transition-computed.html": [
|
||||
[
|
||||
"css/css-transitions/parsing/transition-computed.html",
|
||||
{}
|
||||
]
|
||||
],
|
||||
"css/css-transitions/parsing/transition-delay-computed.html": [
|
||||
[
|
||||
"css/css-transitions/parsing/transition-delay-computed.html",
|
||||
|
@ -420015,6 +420065,24 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"webxr/xrDevice_isSessionSupported_immersive.https.html": [
|
||||
[
|
||||
"webxr/xrDevice_isSessionSupported_immersive.https.html",
|
||||
{}
|
||||
]
|
||||
],
|
||||
"webxr/xrDevice_isSessionSupported_immersive_unsupported.https.html": [
|
||||
[
|
||||
"webxr/xrDevice_isSessionSupported_immersive_unsupported.https.html",
|
||||
{}
|
||||
]
|
||||
],
|
||||
"webxr/xrDevice_isSessionSupported_inline.https.html": [
|
||||
[
|
||||
"webxr/xrDevice_isSessionSupported_inline.https.html",
|
||||
{}
|
||||
]
|
||||
],
|
||||
"webxr/xrDevice_requestSession_immersive.https.html": [
|
||||
[
|
||||
"webxr/xrDevice_requestSession_immersive.https.html",
|
||||
|
@ -445931,6 +445999,10 @@
|
|||
"5c11e4e33a723cc9023fbc314c966294236c3ca4",
|
||||
"support"
|
||||
],
|
||||
".github/META.yml": [
|
||||
"06083d1cd0ec0085ec9b4acbab4baad9aa133a33",
|
||||
"support"
|
||||
],
|
||||
".github/workflows/pull_request.yml": [
|
||||
"81a53c67f4b11ca3c7ddde916dcebb35cf83a021",
|
||||
"support"
|
||||
|
@ -475927,6 +475999,10 @@
|
|||
"63e464be21a0fea5fb1d2ae6b4df45cd29c0f2dd",
|
||||
"support"
|
||||
],
|
||||
"content-security-policy/frame-ancestors/frame-ancestors-from-serviceworker.https.html": [
|
||||
"bf0e9d54102de36da4c005f8652ae5440cacab2d",
|
||||
"testharness"
|
||||
],
|
||||
"content-security-policy/frame-ancestors/frame-ancestors-nested-cross-in-cross-none-block.html": [
|
||||
"674deb655a75c07ec9c06cc608bbb5e523bbea18",
|
||||
"testharness"
|
||||
|
@ -476044,7 +476120,7 @@
|
|||
"testharness"
|
||||
],
|
||||
"content-security-policy/frame-ancestors/report-blocked-frame.sub.html": [
|
||||
"047d377cf4cf5d05851e1d0c9c3b20c77f098cc6",
|
||||
"69c098d5597f574bfdab312504cc1551ce174bcc",
|
||||
"testharness"
|
||||
],
|
||||
"content-security-policy/frame-ancestors/support/content-security-policy.sub.html": [
|
||||
|
@ -476083,6 +476159,10 @@
|
|||
"e853d6cee5e0cb25824545284a7233497159a70c",
|
||||
"support"
|
||||
],
|
||||
"content-security-policy/frame-ancestors/support/service-worker.js": [
|
||||
"ebced90f50af06b174655b1d0ab0edcfe472e010",
|
||||
"support"
|
||||
],
|
||||
"content-security-policy/frame-src/frame-src-about-blank-allowed-by-default.sub.html": [
|
||||
"8211d0847a8ef97c0177353ab8308a8b0b0d9a60",
|
||||
"testharness"
|
||||
|
@ -541975,6 +542055,10 @@
|
|||
"aba7f9c6edd71d4a2b9446fb6de890866c41da64",
|
||||
"testharness"
|
||||
],
|
||||
"css/css-animations/parsing/animation-computed.html": [
|
||||
"467f4357f102fb75ed8df196d221d83cd2efdabc",
|
||||
"testharness"
|
||||
],
|
||||
"css/css-animations/parsing/animation-delay-computed.html": [
|
||||
"832466ac0642616c28bdb4aebad8833e6a4c92d0",
|
||||
"testharness"
|
||||
|
@ -555795,6 +555879,10 @@
|
|||
"0f16ceccfe1fe2668d01dfc64e99f4e3ca3164b1",
|
||||
"testharness"
|
||||
],
|
||||
"css/css-fonts/parsing/font-variant-invalid.html": [
|
||||
"c591acc3fcdfaac216a915ac4809f8a13fd9f9a4",
|
||||
"testharness"
|
||||
],
|
||||
"css/css-fonts/parsing/font-variant-ligatures-computed.html": [
|
||||
"a9dfac54e9b85946507b2ce055ea9166aa62518c",
|
||||
"testharness"
|
||||
|
@ -555831,6 +555919,10 @@
|
|||
"3887ab0cc4b59024544338d2338c3a723fe3b625",
|
||||
"testharness"
|
||||
],
|
||||
"css/css-fonts/parsing/font-variant-valid.html": [
|
||||
"921498d738e030ea2a2fe1e424b9d391e2b69a1b",
|
||||
"testharness"
|
||||
],
|
||||
"css/css-fonts/parsing/font-variation-settings-computed.html": [
|
||||
"0b01320a7f6e2a473a44bc435bfe9507321ce135",
|
||||
"testharness"
|
||||
|
@ -591071,6 +591163,10 @@
|
|||
"f26a04895781b389d7bad5aee80122b1e1d878a9",
|
||||
"testharness"
|
||||
],
|
||||
"css/css-transitions/parsing/transition-computed.html": [
|
||||
"3f253c3a0d1fbe2193bc101872ad67e4a24835cc",
|
||||
"testharness"
|
||||
],
|
||||
"css/css-transitions/parsing/transition-delay-computed.html": [
|
||||
"8e5b0e80daeb2a56ae05e210a8b682c8c1b9c87f",
|
||||
"testharness"
|
||||
|
@ -626880,7 +626976,7 @@
|
|||
"support"
|
||||
],
|
||||
"fonts/Ahem.ttf.headers": [
|
||||
"cb762eff806849df46dc758ef7b98b63f27f54c9",
|
||||
"659e3760fba9ee28df2a8bebb8bc27905b2ae0a3",
|
||||
"support"
|
||||
],
|
||||
"fonts/CSSTest/LICENSE": [
|
||||
|
@ -627103,8 +627199,8 @@
|
|||
"9023592ef5aa83a03dd6957398897a585062ca57",
|
||||
"support"
|
||||
],
|
||||
"fonts/CanvasTest.ttf.sub.headers": [
|
||||
"360e6686bfb65ed33d811d15e1ba7183a736d552",
|
||||
"fonts/CanvasTest.ttf.headers": [
|
||||
"6f34caa8f2ab5dee8a48caa58048218896dc9049",
|
||||
"support"
|
||||
],
|
||||
"fonts/GentiumPlus-R.woff": [
|
||||
|
@ -627196,7 +627292,11 @@
|
|||
"support"
|
||||
],
|
||||
"fonts/ahem.css": [
|
||||
"b278cc14c54af7f6a2d893c6453778bceb65a8ce",
|
||||
"02c1554537a60863e0a2bea39c4e18b93cdc7ab9",
|
||||
"support"
|
||||
],
|
||||
"fonts/ahem.css.headers": [
|
||||
"e828b629858d07afd989b80894986315bac16cc7",
|
||||
"support"
|
||||
],
|
||||
"fonts/math/axisheight5000-verticalarrow14000.woff": [
|
||||
|
@ -628060,7 +628160,7 @@
|
|||
"testharness"
|
||||
],
|
||||
"generic-sensor/resources/generic-sensor-helpers.js": [
|
||||
"8302f6f6cfbc77ebda6ab92f5a1269fb209416c1",
|
||||
"afc2fadec9d8da2771424e72f17e38f5b633adad",
|
||||
"support"
|
||||
],
|
||||
"generic-sensor/resources/iframe_sensor_handler.html": [
|
||||
|
@ -649436,7 +649536,7 @@
|
|||
"support"
|
||||
],
|
||||
"interfaces/css-properties-values-api.idl": [
|
||||
"d8f54b1e15bc020ef101ab53626eee6985c63dcb",
|
||||
"ee444ebb29d8b5b15c96d259bb8a1f2bdd280d5f",
|
||||
"support"
|
||||
],
|
||||
"interfaces/css-pseudo.idl": [
|
||||
|
@ -649472,7 +649572,7 @@
|
|||
"support"
|
||||
],
|
||||
"interfaces/encoding.idl": [
|
||||
"c89cad4f9a154c467224e3becbd8b12fcb8a1f23",
|
||||
"d4fffa89334b1e79f4966769e1d0cf9fb17378aa",
|
||||
"support"
|
||||
],
|
||||
"interfaces/encrypted-media.idl": [
|
||||
|
@ -649604,7 +649704,7 @@
|
|||
"support"
|
||||
],
|
||||
"interfaces/mediasession.idl": [
|
||||
"7a5a45c56c6c6ee4de947dceb2808bf15fba966a",
|
||||
"ecfb70a0d80468d0dbd985c6423ea2d8b75cf493",
|
||||
"support"
|
||||
],
|
||||
"interfaces/mediastream-recording.idl": [
|
||||
|
@ -649772,7 +649872,7 @@
|
|||
"support"
|
||||
],
|
||||
"interfaces/user-timing.idl": [
|
||||
"20fb2db9caac7ae112144f76e232da4836aa0e94",
|
||||
"8af17fdc03fd8bd174dc428d32bf49a23447c1e1",
|
||||
"support"
|
||||
],
|
||||
"interfaces/vibration.idl": [
|
||||
|
@ -649844,7 +649944,7 @@
|
|||
"support"
|
||||
],
|
||||
"interfaces/webrtc.idl": [
|
||||
"f56ff80389007129f843eb998c9d2f6a6ca44a33",
|
||||
"b8657386f9cea8e0587ebca3ab92b0eb76a70cc8",
|
||||
"support"
|
||||
],
|
||||
"interfaces/webusb.idl": [
|
||||
|
@ -650476,7 +650576,7 @@
|
|||
"testharness"
|
||||
],
|
||||
"layout-instability/observe-layout-shift.html": [
|
||||
"8e5624e09a3d92975f315f7601c8cfc474c89c9e",
|
||||
"1c35fe2aa234c96fce8798e6a1c35362f418e6f1",
|
||||
"testharness"
|
||||
],
|
||||
"layout-instability/resources/slow-image.py": [
|
||||
|
@ -651179,6 +651279,14 @@
|
|||
"5b718707de9ab316c6abb0ae7bf26667af191447",
|
||||
"testharness"
|
||||
],
|
||||
"mathml/presentation-markup/scripts/underover-legacy-align-attribute-001-ref.html": [
|
||||
"a9545c60f400d73eae4513316d7cf731676c9b68",
|
||||
"support"
|
||||
],
|
||||
"mathml/presentation-markup/scripts/underover-legacy-align-attribute-001.html": [
|
||||
"31920c61f4ebe7e341f1771dd7556bff0f8bbcb2",
|
||||
"reftest"
|
||||
],
|
||||
"mathml/presentation-markup/scripts/underover-parameters-1.html": [
|
||||
"9217488a561735c75798e2c05197f5a84b233237",
|
||||
"testharness"
|
||||
|
@ -664896,21 +665004,17 @@
|
|||
"support"
|
||||
],
|
||||
"proximity/ProximitySensor-iframe-access.https.html": [
|
||||
"016ae48eb9824fc467b3f8ba8e84605421acc899",
|
||||
"0ceba805be3ae0f012153ca4696a9190a6a1aa7d",
|
||||
"testharness"
|
||||
],
|
||||
"proximity/ProximitySensor.https.html": [
|
||||
"03db98e7d0dc18a18726296c87affffd5b79d392",
|
||||
"648071382552fd6b13d19aae03a30038c20f8fd0",
|
||||
"testharness"
|
||||
],
|
||||
"proximity/ProximitySensor_insecure_context.html": [
|
||||
"b524cdc3214df1c633c1811ffc1bb6c9a0f2b9e5",
|
||||
"testharness"
|
||||
],
|
||||
"proximity/ProximitySensor_onerror-manual.https.html": [
|
||||
"7e506f0482e144ee52e3754d81243656370615ce",
|
||||
"manual"
|
||||
],
|
||||
"proximity/idlharness.https.window.js": [
|
||||
"bf27f278ce0292073e7c0e1f9f167523d59ca374",
|
||||
"testharness"
|
||||
|
@ -676064,7 +676168,7 @@
|
|||
"support"
|
||||
],
|
||||
"resources/chromium/generic_sensor_mocks.js": [
|
||||
"d4ba89e199113b2aea9f393f0d38461ea1d30631",
|
||||
"a7272a65fa3e7f20b31310751278dfb8744146f0",
|
||||
"support"
|
||||
],
|
||||
"resources/chromium/generic_sensor_mocks.js.headers": [
|
||||
|
@ -676116,7 +676220,7 @@
|
|||
"support"
|
||||
],
|
||||
"resources/chromium/nfc-mock.js": [
|
||||
"1cc6c32caa121281d8c47555bfd57d54e922b4f1",
|
||||
"30645fb00dd924085cf2dc83325d2a579dec44ed",
|
||||
"support"
|
||||
],
|
||||
"resources/chromium/sensor.mojom.js": [
|
||||
|
@ -676128,7 +676232,7 @@
|
|||
"support"
|
||||
],
|
||||
"resources/chromium/sms_mock.js": [
|
||||
"a8cd81a5ceffc29ab1f4c6ea20d2771793f42d69",
|
||||
"bdfbc2052fa102a0e502937a610a9c64d79d1bbe",
|
||||
"support"
|
||||
],
|
||||
"resources/chromium/string16.mojom.js": [
|
||||
|
@ -695452,7 +695556,7 @@
|
|||
"support"
|
||||
],
|
||||
"web-animations/animation-model/animation-types/property-types.js": [
|
||||
"9f549c9a199e8078612932a7b666b85c0d7439ab",
|
||||
"75f7d61161a8569beef9b1104ce0e2c9b8e70a06",
|
||||
"support"
|
||||
],
|
||||
"web-animations/animation-model/animation-types/visibility.html": [
|
||||
|
@ -704055,6 +704159,18 @@
|
|||
"ace64e8f41212d2e21a450ef6958bf2b7508a0da",
|
||||
"testharness"
|
||||
],
|
||||
"webxr/xrDevice_isSessionSupported_immersive.https.html": [
|
||||
"2f1129fe16e5592ec9b6982e9defbee78f963a31",
|
||||
"testharness"
|
||||
],
|
||||
"webxr/xrDevice_isSessionSupported_immersive_unsupported.https.html": [
|
||||
"41ae338787e45b13ff42efae752eb8a39f5ffbc8",
|
||||
"testharness"
|
||||
],
|
||||
"webxr/xrDevice_isSessionSupported_inline.https.html": [
|
||||
"bf8d14a8f51ecc6eeb772800be423abfefd35880",
|
||||
"testharness"
|
||||
],
|
||||
"webxr/xrDevice_requestSession_immersive.https.html": [
|
||||
"be0bb32995b86ee576c1e55414d7f7d81a1e0fc1",
|
||||
"testharness"
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
[zero-width-floats-positioning.html]
|
||||
expected: FAIL
|
|
@ -0,0 +1,4 @@
|
|||
[inline-negative-margin-001.html]
|
||||
[#container 1]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,34 @@
|
|||
[animation-computed.html]
|
||||
[Property animation value 'paused' computes to '0s ease 0s 1 normal none paused none']
|
||||
expected: FAIL
|
||||
|
||||
[Property animation value 'anim paused both reverse, 4 1s -3s cubic-bezier(0, -2, 1, 3)' computes to '0s ease 0s 1 reverse both paused anim, 1s cubic-bezier(0, -2, 1, 3) -3s 4 normal none running none']
|
||||
expected: FAIL
|
||||
|
||||
[Property animation value 'cubic-bezier(0, -2, 1, 3)' computes to '0s cubic-bezier(0, -2, 1, 3) 0s 1 normal none running none']
|
||||
expected: FAIL
|
||||
|
||||
[Property animation value 'anim paused both reverse 4 1s -3s cubic-bezier(0, -2, 1, 3)' computes to '1s cubic-bezier(0, -2, 1, 3) -3s 4 reverse both paused anim']
|
||||
expected: FAIL
|
||||
|
||||
[Property animation value 'anim' computes to '0s ease 0s 1 normal none running anim']
|
||||
expected: FAIL
|
||||
|
||||
[Property animation value '1s -3s' computes to '1s ease -3s 1 normal none running none']
|
||||
expected: FAIL
|
||||
|
||||
[Property animation value '4' computes to '0s ease 0s 4 normal none running none']
|
||||
expected: FAIL
|
||||
|
||||
[Property animation value 'reverse' computes to '0s ease 0s 1 reverse none running none']
|
||||
expected: FAIL
|
||||
|
||||
[Property animation value 'none' computes to '0s ease 0s 1 normal none running none']
|
||||
expected: FAIL
|
||||
|
||||
[Property animation value '1s' computes to '1s ease 0s 1 normal none running none']
|
||||
expected: FAIL
|
||||
|
||||
[Property animation value 'both' computes to '0s ease 0s 1 normal both running none']
|
||||
expected: FAIL
|
||||
|
|
@ -1,3 +1,3 @@
|
|||
[font-display-preload.html]
|
||||
bug: https://github.com/servo/servo/issues/21566
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
|
|
@ -0,0 +1,133 @@
|
|||
[font-variant-valid.html]
|
||||
[e.style['font-variant'\] = "all-petite-caps" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['font-variant'\] = "sub" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['font-variant'\] = "simplified" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['font-variant'\] = "jis83" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['font-variant'\] = "proportional-width" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['font-variant'\] = "unicase" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['font-variant'\] = "petite-caps" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['font-variant'\] = "lining-nums" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['font-variant'\] = "swash(flowing)" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['font-variant'\] = "common-ligatures discretionary-ligatures historical-ligatures contextual small-caps stylistic(flowing) lining-nums proportional-nums diagonal-fractions ordinal slashed-zero jis78 full-width ruby sub" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['font-variant'\] = "stylistic(flowing) historical-forms styleset(flowing) character-variant(flowing) swash(flowing) ornaments(flowing) annotation(flowing)" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['font-variant'\] = "none" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['font-variant'\] = "tabular-nums" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['font-variant'\] = "ruby" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['font-variant'\] = "oldstyle-nums" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['font-variant'\] = "stacked-fractions" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['font-variant'\] = "annotation(flowing)" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['font-variant'\] = "super" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['font-variant'\] = "historical-forms" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['font-variant'\] = "all-small-caps" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['font-variant'\] = "styleset(flowing)" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['font-variant'\] = "no-historical-ligatures" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['font-variant'\] = "discretionary-ligatures" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['font-variant'\] = "annotation(flowing) ornaments(flowing) swash(flowing) character-variant(flowing) styleset(flowing) historical-forms stylistic(flowing)" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['font-variant'\] = "jis04" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['font-variant'\] = "historical-ligatures" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['font-variant'\] = "titling-caps" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['font-variant'\] = "ordinal" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['font-variant'\] = "no-discretionary-ligatures" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['font-variant'\] = "no-common-ligatures" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['font-variant'\] = "proportional-nums" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['font-variant'\] = "stylistic(flowing)" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['font-variant'\] = "ornaments(flowing)" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['font-variant'\] = "traditional" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['font-variant'\] = "full-width" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['font-variant'\] = "contextual" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['font-variant'\] = "common-ligatures" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['font-variant'\] = "jis78" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['font-variant'\] = "diagonal-fractions" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['font-variant'\] = "no-contextual" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['font-variant'\] = "jis90" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['font-variant'\] = "character-variant(flowing)" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['font-variant'\] = "super proportional-width jis83 stacked-fractions tabular-nums oldstyle-nums historical-forms all-small-caps no-contextual no-historical-ligatures no-discretionary-ligatures no-common-ligatures" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['font-variant'\] = "slashed-zero" should set the property value]
|
||||
expected: FAIL
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
[fill-box-mutation.html]
|
||||
expected: FAIL
|
|
@ -0,0 +1,22 @@
|
|||
[transition-computed.html]
|
||||
[Property transition value '1s -3s, cubic-bezier(0, -2, 1, 3) top' computes to 'all 1s ease -3s, top 0s cubic-bezier(0, -2, 1, 3) 0s']
|
||||
expected: FAIL
|
||||
|
||||
[Property transition value 'cubic-bezier(0, -2, 1, 3)' computes to 'all 0s cubic-bezier(0, -2, 1, 3) 0s']
|
||||
expected: FAIL
|
||||
|
||||
[Property transition value '1s' computes to 'all 1s ease 0s']
|
||||
expected: FAIL
|
||||
|
||||
[Property transition value '1s -3s' computes to 'all 1s ease -3s']
|
||||
expected: FAIL
|
||||
|
||||
[Property transition value 'none' computes to 'none 0s ease 0s']
|
||||
expected: FAIL
|
||||
|
||||
[Property transition value 'top' computes to 'top 0s ease 0s']
|
||||
expected: FAIL
|
||||
|
||||
[Property transition value '1s -3s cubic-bezier(0, -2, 1, 3) top' computes to 'top 1s cubic-bezier(0, -2, 1, 3) -3s']
|
||||
expected: FAIL
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
[transition-timing-function-001.html]
|
||||
[parse 'steps(3, jump-both)']
|
||||
expected: FAIL
|
||||
|
||||
[parse 'steps(3, jump-start)']
|
||||
expected: FAIL
|
||||
|
||||
[parse 'steps(3, jump-end)']
|
||||
expected: FAIL
|
||||
|
||||
[parse 'steps(3, jump-none)']
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
[contenttype_txt.html]
|
||||
expected: CRASH
|
|
@ -312,21 +312,18 @@
|
|||
[<iframe>: separate response Content-Type: */* text/html]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: combined response Content-Type: text/html;charset=gbk text/plain text/html]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: separate response Content-Type: text/plain */*]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: separate response Content-Type: text/plain */*;charset=gbk]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: separate response Content-Type: text/html;" text/plain]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: separate response Content-Type: text/html */*]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: combined response Content-Type: text/html;x=" text/plain]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: combined response Content-Type: */* text/html]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: separate response Content-Type: text/html;x=" text/plain]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: separate response Content-Type: text/html;" \\" text/plain]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -59,3 +59,6 @@
|
|||
[separate text/javascript;charset=windows-1252 text/javascript]
|
||||
expected: FAIL
|
||||
|
||||
[separate text/javascript;charset=windows-1252 error text/javascript]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -11,3 +11,9 @@
|
|||
[X-Content-Type-Options%3A%20nosniff%0C]
|
||||
expected: FAIL
|
||||
|
||||
[X-Content-Type-Options%3A%20%22nosniFF%22]
|
||||
expected: FAIL
|
||||
|
||||
[X-Content-Type-Options%3A%20no%0D%0AX-Content-Type-Options%3A%20nosniff]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
[traverse_the_history_5.html]
|
||||
[Multiple history traversals, last would be aborted]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[creating_browsing_context_test_01.html]
|
||||
expected: TIMEOUT
|
||||
[first argument: absolute url]
|
||||
expected: TIMEOUT
|
||||
|
|
@ -1,5 +1,24 @@
|
|||
[open-features-negative-innerwidth-innerheight.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[HTML: window.open `features`: negative values for legacy `innerwidth`, `innerheight`]
|
||||
expected: FAIL
|
||||
|
||||
[features "innerheight=-404.5" should NOT set "height=404"]
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "innerwidth=-404.5" should NOT set "width=404"]
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "innerwidth=-404" should NOT set "width=404"]
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "innerheight=-404e1" should NOT set "height=404"]
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "innerheight=-404" should NOT set "height=404"]
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "innerwidth=-404e1" should NOT set "width=404"]
|
||||
expected: TIMEOUT
|
||||
|
||||
|
|
|
@ -1,5 +1,24 @@
|
|||
[open-features-negative-screenx-screeny.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[HTML: window.open `features`: negative values for legacy `screenx`, `screeny`]
|
||||
expected: FAIL
|
||||
|
||||
[features "screenx=-204" should NOT set "left=204"]
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "screeny=-204" should NOT set "top=204"]
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "screeny=-204.5" should NOT set "top=204"]
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "screeny=-0" should NOT set "top=204"]
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "screenx=-0" should NOT set "left=204"]
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "screenx=-204.5" should NOT set "left=204"]
|
||||
expected: TIMEOUT
|
||||
|
||||
|
|
|
@ -1,5 +1,24 @@
|
|||
[open-features-negative-top-left.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[HTML: window.open `features`: negative values for `top`, `left`]
|
||||
expected: FAIL
|
||||
|
||||
[features "top=-204" should NOT set "top=204"]
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "top=-204.5" should NOT set "top=204"]
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "left=-204" should NOT set "left=204"]
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "top=-0" should NOT set "top=204"]
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "left=-204.5" should NOT set "left=204"]
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "left=-0" should NOT set "left=204"]
|
||||
expected: TIMEOUT
|
||||
|
||||
|
|
|
@ -1,5 +1,24 @@
|
|||
[open-features-negative-width-height.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[HTML: window.open `features`: negative values for `width`, `height`]
|
||||
expected: FAIL
|
||||
|
||||
[features "height=-404" should NOT set "height=404"]
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "height=-404e1" should NOT set "height=404"]
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "height=-404.5" should NOT set "height=404"]
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "width=-404" should NOT set "width=404"]
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "width=-404e1" should NOT set "width=404"]
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "width=-404.5" should NOT set "width=404"]
|
||||
expected: TIMEOUT
|
||||
|
||||
|
|
|
@ -1,32 +1,48 @@
|
|||
[open-features-non-integer-height.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[HTML: window.open `features`: non-integer values for feature `height`]
|
||||
expected: FAIL
|
||||
|
||||
[features "height=405*3" should set "height=405"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "height=405.32" should set "height=405"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "height=405e1" should set "height=405"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "height=405/5" should set "height=405"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "height=405^4" should set "height=405"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "height=405.5" should set "height=405"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "height=405e-1" should set "height=405"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "height=405 " should set "height=405"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "height=405LLl" should set "height=405"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "height=/404" should NOT set "height=404"]
|
||||
expected: TIMEOUT
|
||||
|
||||
[top=0,left=0,width=401,: absence of feature "height" should be treated same as "height=0"]
|
||||
expected: TIMEOUT
|
||||
|
||||
[top=0,left=0: absence of feature "height" should be treated same as "height=0"]
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "height=_404" should NOT set "height=404"]
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "height=L404" should NOT set "height=404"]
|
||||
expected: TIMEOUT
|
||||
|
||||
|
|
|
@ -1,32 +1,42 @@
|
|||
[open-features-non-integer-innerheight.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[HTML: window.open `features`: non-integer values for legacy feature `innerheight`]
|
||||
expected: FAIL
|
||||
|
||||
[features "innerheight=405e-1" should set "height=405"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "innerheight=405LLl" should set "height=405"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "innerheight=405^4" should set "height=405"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "innerheight=405e1" should set "height=405"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "innerheight=405 " should set "height=405"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "innerheight=405/5" should set "height=405"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "innerheight=405.32" should set "height=405"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "innerheight=405.5" should set "height=405"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "innerheight=405*3" should set "height=405"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "innerheight=_404" should NOT set "height=404"]
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "innerheight=L404" should NOT set "height=404"]
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "innerheight=/404" should NOT set "height=404"]
|
||||
expected: TIMEOUT
|
||||
|
||||
|
|
|
@ -1,32 +1,42 @@
|
|||
[open-features-non-integer-innerwidth.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[HTML: window.open `features`: non-integer values for legacy feature `innerwidth`]
|
||||
expected: FAIL
|
||||
|
||||
[features "innerwidth=405e-1" should set "width=405"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "innerwidth=405*3" should set "width=405"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "innerwidth=405.5" should set "width=405"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "innerwidth=405e1" should set "width=405"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "innerwidth=405.32" should set "width=405"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "innerwidth=405 " should set "width=405"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "innerwidth=405LLl" should set "width=405"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "innerwidth=405/5" should set "width=405"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "innerwidth=405^4" should set "width=405"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "innerwidth=/404" should NOT set "width=404"]
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "innerwidth=_404" should NOT set "width=404"]
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "innerwidth=L404" should NOT set "width=404"]
|
||||
expected: TIMEOUT
|
||||
|
||||
|
|
|
@ -1,32 +1,42 @@
|
|||
[open-features-non-integer-left.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[HTML: window.open `features`: non-integer values for feature `left`]
|
||||
expected: FAIL
|
||||
|
||||
[features "left=105e1" should set "left=105"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "left=105 " should set "left=105"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "left=105/5" should set "left=105"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "left=105e-1" should set "left=105"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "left=105^4" should set "left=105"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "left=105LLl" should set "left=105"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "left=105.32" should set "left=105"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "left=105*3" should set "left=105"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "left=105.5" should set "left=105"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "left=L104" should NOT set "left=104"]
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "left=/104" should NOT set "left=104"]
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "left=_104" should NOT set "left=104"]
|
||||
expected: TIMEOUT
|
||||
|
||||
|
|
|
@ -1,32 +1,42 @@
|
|||
[open-features-non-integer-screenx.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[HTML: window.open `features`: non-integer values for legacy feature `screenx`]
|
||||
expected: FAIL
|
||||
|
||||
[features "screenx=105.5" should set "left=105"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "screenx=105e1" should set "left=105"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "screenx=105 " should set "left=105"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "screenx=105*3" should set "left=105"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "screenx=105e-1" should set "left=105"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "screenx=105^4" should set "left=105"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "screenx=105LLl" should set "left=105"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "screenx=105/5" should set "left=105"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "screenx=105.32" should set "left=105"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "screenx=_104" should NOT set "left=104"]
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "screenx=L104" should NOT set "left=104"]
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "screenx=/104" should NOT set "left=104"]
|
||||
expected: TIMEOUT
|
||||
|
||||
|
|
|
@ -1,32 +1,42 @@
|
|||
[open-features-non-integer-screeny.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[HTML: window.open `features`: non-integer values for legacy feature `screeny`]
|
||||
expected: FAIL
|
||||
|
||||
[features "screeny=405^4" should set "height=405"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "screeny=405e-1" should set "height=405"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "screeny=405LLl" should set "height=405"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "screeny=405e1" should set "height=405"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "screeny=405 " should set "height=405"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "screeny=405/5" should set "height=405"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "screeny=405*3" should set "height=405"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "screeny=405.32" should set "height=405"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "screeny=405.5" should set "height=405"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "screeny=_404" should NOT set "height=404"]
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "screeny=L404" should NOT set "height=404"]
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "screeny=/404" should NOT set "height=404"]
|
||||
expected: TIMEOUT
|
||||
|
||||
|
|
|
@ -1,32 +1,42 @@
|
|||
[open-features-non-integer-top.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[HTML: window.open `features`: non-integer values for feature `top`]
|
||||
expected: FAIL
|
||||
|
||||
[features "top=105/5" should set "top=105"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "top=105*3" should set "top=105"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "top=105LLl" should set "top=105"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "top=105e-1" should set "top=105"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "top=105.32" should set "top=105"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "top=105e1" should set "top=105"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "top=105 " should set "top=105"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "top=105^4" should set "top=105"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "top=105.5" should set "top=105"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "top=/104" should NOT set "top=104"]
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "top=_104" should NOT set "top=104"]
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "top=L104" should NOT set "top=104"]
|
||||
expected: TIMEOUT
|
||||
|
||||
|
|
|
@ -1,32 +1,48 @@
|
|||
[open-features-non-integer-width.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[HTML: window.open `features`: non-integer values for feature `width`]
|
||||
expected: FAIL
|
||||
|
||||
[features "width=405^4" should set "width=405"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "width=405.5" should set "width=405"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "width=405e1" should set "width=405"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "width=405 " should set "width=405"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "width=405.32" should set "width=405"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "width=405LLl" should set "width=405"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "width=405*3" should set "width=405"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "width=405e-1" should set "width=405"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "width=405/5" should set "width=405"]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[top=0,left=0: absence of feature "width" should be treated same as "width=0"]
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "width=_404" should NOT set "width=404"]
|
||||
expected: TIMEOUT
|
||||
|
||||
[top=0,left=0,height=401,: absence of feature "width" should be treated same as "width=0"]
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "width=/404" should NOT set "width=404"]
|
||||
expected: TIMEOUT
|
||||
|
||||
[features "width=L404" should NOT set "width=404"]
|
||||
expected: TIMEOUT
|
||||
|
||||
|
|
|
@ -2,12 +2,6 @@
|
|||
[closed and cross-site nested browsing context]
|
||||
expected: FAIL
|
||||
|
||||
[closed/close() and cross-origin auxiliary browsing context]
|
||||
expected: FAIL
|
||||
|
||||
[closed/close() and same-origin auxiliary browsing context]
|
||||
expected: FAIL
|
||||
|
||||
[closed/close() and cross-site auxiliary browsing context]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
[embedded-opener-remove-frame.html]
|
||||
expected: CRASH
|
||||
[opener and "removed" embedded documents]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -7,5 +6,5 @@
|
|||
expected: FAIL
|
||||
|
||||
[opener of discarded auxiliary browsing context]
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
[toggleEvent.html]
|
||||
[Calling open twice on 'details' fires only one toggle event]
|
||||
expected: FAIL
|
||||
|
||||
[Setting open=true to opened 'details' element should not fire a toggle event at the 'details' element]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
[script-onerror-insertion-point-2.html]
|
||||
expected: TIMEOUT
|
|
@ -0,0 +1,4 @@
|
|||
[DOMContentLoaded-defer.html]
|
||||
[The end: DOMContentLoaded and defer scripts]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[promise-rejection-events-onerror.html]
|
||||
expected: TIMEOUT
|
||||
[Throwing inside an unhandledrejection handler invokes the error handler.]
|
||||
expected: TIMEOUT
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
[idlharness.window.html]
|
||||
[idlharness]
|
||||
expected: FAIL
|
||||
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -0,0 +1,4 @@
|
|||
[xrDevice_isSessionSupported_immersive.https.html]
|
||||
[isSessionSupported resolves to true when immersive options supported]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
[xrDevice_isSessionSupported_immersive_unsupported.https.html]
|
||||
[isSessionSupported resolves to false when options not supported]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
[xrDevice_isSessionSupported_inline.https.html]
|
||||
[isSessionSupported resolves to true when inline options supported]
|
||||
expected: FAIL
|
||||
|
|
@ -1,4 +1,5 @@
|
|||
[import-in-moduleworker.html]
|
||||
expected: ERROR
|
||||
[Base URL in module dedicated workers: import]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
[003.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[available interface objects in shared worker]
|
||||
expected: FAIL
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[004.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[unavailable interface objects in shared worker]
|
||||
expected: FAIL
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
[transition_calc_implicit.html]
|
||||
expected: TIMEOUT
|
3
tests/wpt/web-platform-tests/.github/META.yml
vendored
Normal file
3
tests/wpt/web-platform-tests/.github/META.yml
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
suggested_reviewers:
|
||||
- jgraham
|
||||
- jugglinmike
|
|
@ -0,0 +1,36 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/service-workers/service-worker/resources/test-helpers.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
var t = async_test("A 'frame-ancestors' CSP directive set from a serviceworker response with a value 'none' should block rendering.");
|
||||
|
||||
// Register service worker.
|
||||
var worker = 'support/service-worker.js';
|
||||
var scope = 'support/service-worker/';
|
||||
service_worker_unregister_and_register(t, worker, scope)
|
||||
.then(registration => wait_for_state(t, registration.installing, 'activated'))
|
||||
.then(() => {
|
||||
// Load iframe.
|
||||
var iframe = document.createElement("iframe");
|
||||
function iframeLoaded(ev) {
|
||||
var failed = false;
|
||||
try {
|
||||
ev.target.contentWindow.location.href;
|
||||
failed = true;
|
||||
} catch (ex) {}
|
||||
t.step_func_done(() => assert_false(failed, "The IFrame should have been blocked. It wasn't."))();
|
||||
};
|
||||
iframe.addEventListener("load", iframeLoaded);
|
||||
iframe.addEventListener("error", iframeLoaded);
|
||||
iframe.src = "/content-security-policy/frame-ancestors/support/service-worker/frame-ancestors-none.html";
|
||||
document.body.appendChild(iframe);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,5 +1,6 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<meta name="timeout" content="long">
|
||||
<head>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
self.onfetch = e => {
|
||||
e.respondWith(function() {
|
||||
return new Promise((resolve) => {
|
||||
var headers = new Headers;
|
||||
headers.append("Content-Security-Policy", "frame-ancestors 'none'");
|
||||
var response = new Response("", { "headers" : headers, "status": 200, "statusText" : "OK" });
|
||||
resolve(response);
|
||||
});
|
||||
}());
|
||||
};
|
|
@ -0,0 +1,38 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Animations: getComputedStyle().animation</title>
|
||||
<link rel="help" href="https://drafts.csswg.org/css-animations/#propdef-animation">
|
||||
<meta name="assert" content="animation computed value is as specified.">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/css/support/computed-testcommon.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="target"></div>
|
||||
<script>
|
||||
// <single-animation> = <time> || <easing-function> || <time> ||
|
||||
// <single-animation-iteration-count> || <single-animation-direction> ||
|
||||
// <single-animation-fill-mode> || <single-animation-play-state> ||
|
||||
// [ none | <keyframes-name> ]
|
||||
test_computed_value("animation", "1s", "1s ease 0s 1 normal none running none");
|
||||
test_computed_value("animation", "cubic-bezier(0, -2, 1, 3)", "0s cubic-bezier(0, -2, 1, 3) 0s 1 normal none running none");
|
||||
test_computed_value("animation", "1s -3s", "1s ease -3s 1 normal none running none");
|
||||
test_computed_value("animation", "4", "0s ease 0s 4 normal none running none");
|
||||
test_computed_value("animation", "reverse", "0s ease 0s 1 reverse none running none");
|
||||
test_computed_value("animation", "both", "0s ease 0s 1 normal both running none");
|
||||
test_computed_value("animation", "paused", "0s ease 0s 1 normal none paused none");
|
||||
test_computed_value("animation", "none", "0s ease 0s 1 normal none running none");
|
||||
test_computed_value("animation", "anim", "0s ease 0s 1 normal none running anim");
|
||||
|
||||
test_computed_value("animation", "anim paused both reverse 4 1s -3s cubic-bezier(0, -2, 1, 3)",
|
||||
"1s cubic-bezier(0, -2, 1, 3) -3s 4 reverse both paused anim");
|
||||
|
||||
test_computed_value("animation", "anim paused both reverse, 4 1s -3s cubic-bezier(0, -2, 1, 3)",
|
||||
"0s ease 0s 1 reverse both paused anim, 1s cubic-bezier(0, -2, 1, 3) -3s 4 normal none running none");
|
||||
|
||||
// TODO: Add test with a single timing-function keyword.
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,62 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Fonts Module Level 4: parsing font-variant with invalid values</title>
|
||||
<link rel="help" href="https://drafts.csswg.org/css-fonts-4/#propdef-font-variant">
|
||||
<meta name="assert" content="font-variant supports only the grammar 'normal | none | [ <common-lig-values> || <discretionary-lig-values> || <historical-lig-values> || <contextual-alt-values> || [ small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps ] || [ stylistic(<feature-value-name>) || historical-forms || styleset(<feature-value-name>#) || character-variant(<feature-value-name>#) || swash(<feature-value-name>) || ornaments(<feature-value-name>) || annotation(<feature-value-name>) ] || <numeric-figure-values> || <numeric-spacing-values> || <numeric-fraction-values> || ordinal || slashed-zero || <east-asian-variant-values> || <east-asian-width-values> || ruby || [ sub | super ] ]'.">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/css/support/parsing-testcommon.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
test_invalid_value('font-variant', 'normal none');
|
||||
|
||||
// <common-lig-values>
|
||||
test_invalid_value('font-variant', 'common-ligatures no-common-ligatures');
|
||||
|
||||
// <discretionary-lig-values>
|
||||
test_invalid_value('font-variant', 'discretionary-ligatures no-discretionary-ligatures');
|
||||
|
||||
// <historical-lig-values>
|
||||
test_invalid_value('font-variant', 'historical-ligatures no-historical-ligatures');
|
||||
|
||||
// <contextual-alt-values>
|
||||
test_invalid_value('font-variant', 'contextual no-contextual');
|
||||
|
||||
// [ small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps ]
|
||||
test_invalid_value('font-variant', 'small-caps all-small-caps');
|
||||
|
||||
// [ stylistic(<feature-value-name>) || historical-forms || styleset(<feature-value-name>#) || character-variant(<feature-value-name>#) || swash(<feature-value-name>) || ornaments(<feature-value-name>) || annotation(<feature-value-name>) ]
|
||||
test_invalid_value('font-variant', 'stylistic(flowing) stylistic(flowing)');
|
||||
|
||||
// <numeric-figure-values>
|
||||
test_invalid_value('font-variant', 'lining-nums oldstyle-nums');
|
||||
|
||||
// <numeric-spacing-values>
|
||||
test_invalid_value('font-variant', 'proportional-nums tabular-nums');
|
||||
|
||||
// <numeric-fraction-values>
|
||||
test_invalid_value('font-variant', 'diagonal-fractions stacked-fractions');
|
||||
|
||||
// ordinal
|
||||
test_invalid_value('font-variant', 'ordinal slashed-zero ordinal');
|
||||
|
||||
// slashed-zero
|
||||
test_invalid_value('font-variant', 'slashed-zero jis78 slashed-zero');
|
||||
|
||||
// <east-asian-variant-values>
|
||||
test_invalid_value('font-variant', 'jis78 jis83');
|
||||
|
||||
// <east-asian-width-values>
|
||||
test_invalid_value('font-variant', 'full-width proportional-width');
|
||||
|
||||
// ruby
|
||||
test_invalid_value('font-variant', 'ruby sub ruby');
|
||||
|
||||
// [ sub | super ]
|
||||
test_invalid_value('font-variant', 'sub super');
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,106 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Fonts Module Level 4: parsing font-variant with valid values</title>
|
||||
<link rel="help" href="https://drafts.csswg.org/css-fonts-4/#propdef-font-variant">
|
||||
<meta name="assert" content="font-variant supports the full grammar 'normal | none | [ <common-lig-values> || <discretionary-lig-values> || <historical-lig-values> || <contextual-alt-values> || [ small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps ] || [ stylistic(<feature-value-name>) || historical-forms || styleset(<feature-value-name>#) || character-variant(<feature-value-name>#) || swash(<feature-value-name>) || ornaments(<feature-value-name>) || annotation(<feature-value-name>) ] || <numeric-figure-values> || <numeric-spacing-values> || <numeric-fraction-values> || ordinal || slashed-zero || <east-asian-variant-values> || <east-asian-width-values> || ruby || [ sub | super ] ]'.">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/css/support/parsing-testcommon.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
test_valid_value('font-variant', 'normal');
|
||||
test_valid_value('font-variant', 'none');
|
||||
|
||||
// <common-lig-values>
|
||||
test_valid_value('font-variant', 'common-ligatures');
|
||||
test_valid_value('font-variant', 'no-common-ligatures');
|
||||
|
||||
// <discretionary-lig-values>
|
||||
test_valid_value('font-variant', 'discretionary-ligatures');
|
||||
test_valid_value('font-variant', 'no-discretionary-ligatures');
|
||||
|
||||
// <historical-lig-values>
|
||||
test_valid_value('font-variant', 'historical-ligatures');
|
||||
test_valid_value('font-variant', 'no-historical-ligatures');
|
||||
|
||||
// <contextual-alt-values>
|
||||
test_valid_value('font-variant', 'contextual');
|
||||
test_valid_value('font-variant', 'no-contextual');
|
||||
|
||||
// [ small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps ]
|
||||
test_valid_value('font-variant', 'small-caps');
|
||||
test_valid_value('font-variant', 'all-small-caps');
|
||||
test_valid_value('font-variant', 'petite-caps');
|
||||
test_valid_value('font-variant', 'all-petite-caps');
|
||||
test_valid_value('font-variant', 'unicase');
|
||||
test_valid_value('font-variant', 'titling-caps');
|
||||
|
||||
// [ stylistic(<feature-value-name>) || historical-forms || styleset(<feature-value-name>#) || character-variant(<feature-value-name>#) || swash(<feature-value-name>) || ornaments(<feature-value-name>) || annotation(<feature-value-name>) ]
|
||||
test_valid_value('font-variant', 'stylistic(flowing)');
|
||||
test_valid_value('font-variant', 'historical-forms');
|
||||
test_valid_value('font-variant', 'styleset(flowing)');
|
||||
test_valid_value('font-variant', 'character-variant(flowing)');
|
||||
test_valid_value('font-variant', 'swash(flowing)');
|
||||
test_valid_value('font-variant', 'ornaments(flowing)');
|
||||
test_valid_value('font-variant', 'annotation(flowing)');
|
||||
|
||||
test_valid_value('font-variant', 'stylistic(flowing) historical-forms styleset(flowing) character-variant(flowing) swash(flowing) ornaments(flowing) annotation(flowing)');
|
||||
|
||||
test_valid_value('font-variant', 'annotation(flowing) ornaments(flowing) swash(flowing) character-variant(flowing) styleset(flowing) historical-forms stylistic(flowing)', 'stylistic(flowing) historical-forms styleset(flowing) character-variant(flowing) swash(flowing) ornaments(flowing) annotation(flowing)');
|
||||
|
||||
// <numeric-figure-values>
|
||||
test_valid_value('font-variant', 'lining-nums');
|
||||
test_valid_value('font-variant', 'oldstyle-nums');
|
||||
|
||||
// <numeric-spacing-values>
|
||||
test_valid_value('font-variant', 'proportional-nums');
|
||||
test_valid_value('font-variant', 'tabular-nums');
|
||||
|
||||
// <numeric-fraction-values>
|
||||
test_valid_value('font-variant', 'diagonal-fractions');
|
||||
test_valid_value('font-variant', 'stacked-fractions');
|
||||
|
||||
// ordinal
|
||||
test_valid_value('font-variant', 'ordinal');
|
||||
|
||||
// slashed-zero
|
||||
test_valid_value('font-variant', 'slashed-zero');
|
||||
|
||||
// <east-asian-variant-values>
|
||||
test_valid_value('font-variant', 'jis78');
|
||||
test_valid_value('font-variant', 'jis83');
|
||||
test_valid_value('font-variant', 'jis90');
|
||||
test_valid_value('font-variant', 'jis04');
|
||||
test_valid_value('font-variant', 'simplified');
|
||||
test_valid_value('font-variant', 'traditional');
|
||||
|
||||
// <east-asian-width-values>
|
||||
test_valid_value('font-variant', 'full-width');
|
||||
test_valid_value('font-variant', 'proportional-width');
|
||||
|
||||
// ruby
|
||||
test_valid_value('font-variant', 'ruby');
|
||||
|
||||
// [ sub | super ]
|
||||
test_valid_value('font-variant', 'sub');
|
||||
test_valid_value('font-variant', 'super');
|
||||
|
||||
|
||||
test_valid_value('font-variant',
|
||||
'common-ligatures discretionary-ligatures historical-ligatures contextual' +
|
||||
' small-caps stylistic(flowing) lining-nums proportional-nums diagonal-fractions' +
|
||||
' ordinal slashed-zero jis78 full-width ruby sub');
|
||||
|
||||
test_valid_value('font-variant',
|
||||
'super proportional-width jis83 stacked-fractions' +
|
||||
' tabular-nums oldstyle-nums historical-forms all-small-caps no-contextual' +
|
||||
' no-historical-ligatures no-discretionary-ligatures no-common-ligatures',
|
||||
'no-common-ligatures no-discretionary-ligatures no-historical-ligatures' +
|
||||
' no-contextual all-small-caps historical-forms oldstyle-nums tabular-nums' +
|
||||
' stacked-fractions jis83 proportional-width super');
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,29 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Transitions: getComputedStyle().transition</title>
|
||||
<link rel="help" href="https://drafts.csswg.org/css-transitions/#transition-shorthand-property">
|
||||
<meta name="assert" content="transition computed value is as specified.">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/css/support/computed-testcommon.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="target"></div>
|
||||
<script>
|
||||
// <single-transition> = [ none | <single-transition-property> ] ||
|
||||
// <time> || <easing-function> || <time>
|
||||
test_computed_value("transition", "1s", "all 1s ease 0s");
|
||||
test_computed_value("transition", "cubic-bezier(0, -2, 1, 3)", "all 0s cubic-bezier(0, -2, 1, 3) 0s");
|
||||
test_computed_value("transition", "1s -3s", "all 1s ease -3s");
|
||||
test_computed_value("transition", "none", "none 0s ease 0s");
|
||||
test_computed_value("transition", "top", "top 0s ease 0s");
|
||||
|
||||
test_computed_value("transition", "1s -3s cubic-bezier(0, -2, 1, 3) top", "top 1s cubic-bezier(0, -2, 1, 3) -3s");
|
||||
test_computed_value("transition", "1s -3s, cubic-bezier(0, -2, 1, 3) top", "all 1s ease -3s, top 0s cubic-bezier(0, -2, 1, 3) 0s");
|
||||
|
||||
// TODO: Add test with a single timing-function keyword.
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -1 +1,2 @@
|
|||
Access-Control-Allow-Origin: *
|
||||
Cache-Control: max-age=3600
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
Cache-Control: max-age=3600
|
|
@ -1 +0,0 @@
|
|||
Cache-Control: max-age=1000
|
|
@ -1,5 +1,6 @@
|
|||
@font-face {
|
||||
font-family: 'Ahem';
|
||||
src: url('/fonts/Ahem.ttf');
|
||||
src: local('Ahem'),
|
||||
url('/fonts/Ahem.ttf');
|
||||
}
|
||||
|
||||
|
|
2
tests/wpt/web-platform-tests/fonts/ahem.css.headers
Normal file
2
tests/wpt/web-platform-tests/fonts/ahem.css.headers
Normal file
|
@ -0,0 +1,2 @@
|
|||
Content-Type: text/css;charset=utf-8
|
||||
Cache-Control: max-age=3600
|
|
@ -61,8 +61,11 @@ function sensor_test(func, name, properties) {
|
|||
}
|
||||
|
||||
function verifySensorReading(pattern, values, timestamp, isNull) {
|
||||
// If |val| cannot be converted to a float, we return the original value.
|
||||
// This can happen when a value in |pattern| is not a number.
|
||||
function round(val) {
|
||||
return Number.parseFloat(val).toPrecision(6);
|
||||
const res = Number.parseFloat(val).toPrecision(6);
|
||||
return res === "NaN" ? val : res;
|
||||
}
|
||||
|
||||
if (isNull) {
|
||||
|
@ -92,6 +95,10 @@ function verifyGeoSensorReading(pattern, {latitude, longitude, altitude,
|
|||
accuracy, altitudeAccuracy, heading, speed], timestamp, isNull);
|
||||
}
|
||||
|
||||
function verifyProximitySensorReading(pattern, {distance, max, near, timestamp}, isNull) {
|
||||
return verifySensorReading(pattern, [distance, max, near], timestamp, isNull);
|
||||
}
|
||||
|
||||
// A "sliding window" that iterates over |data| and returns one item at a
|
||||
// time, advancing and wrapping around as needed. |data| must be an array of
|
||||
// arrays.
|
||||
|
|
|
@ -14,6 +14,10 @@ partial namespace CSS {
|
|||
void registerProperty(PropertyDefinition definition);
|
||||
};
|
||||
|
||||
partial interface CSSRule {
|
||||
const unsigned short PROPERTY_RULE = 18;
|
||||
};
|
||||
|
||||
[Exposed=Window]
|
||||
interface CSSPropertyRule : CSSRule {
|
||||
readonly attribute CSSOMString name;
|
||||
|
|
|
@ -18,9 +18,10 @@ dictionary TextDecodeOptions {
|
|||
boolean stream = false;
|
||||
};
|
||||
|
||||
[Constructor(optional DOMString label = "utf-8", optional TextDecoderOptions options = {}),
|
||||
Exposed=(Window,Worker)]
|
||||
[Exposed=(Window,Worker)]
|
||||
interface TextDecoder {
|
||||
constructor(optional DOMString label = "utf-8", optional TextDecoderOptions options = {});
|
||||
|
||||
USVString decode(optional BufferSource input, optional TextDecodeOptions options = {});
|
||||
};
|
||||
TextDecoder includes TextDecoderCommon;
|
||||
|
@ -34,9 +35,10 @@ dictionary TextEncoderEncodeIntoResult {
|
|||
unsigned long long written;
|
||||
};
|
||||
|
||||
[Constructor,
|
||||
Exposed=(Window,Worker)]
|
||||
[Exposed=(Window,Worker)]
|
||||
interface TextEncoder {
|
||||
constructor();
|
||||
|
||||
[NewObject] Uint8Array encode(optional USVString input = "");
|
||||
TextEncoderEncodeIntoResult encodeInto(USVString source, Uint8Array destination);
|
||||
};
|
||||
|
@ -47,16 +49,16 @@ interface mixin GenericTransformStream {
|
|||
readonly attribute WritableStream writable;
|
||||
};
|
||||
|
||||
[Constructor(optional DOMString label = "utf-8", optional TextDecoderOptions options),
|
||||
Exposed=(Window,Worker)]
|
||||
[Exposed=(Window,Worker)]
|
||||
interface TextDecoderStream {
|
||||
constructor(optional DOMString label = "utf-8", optional TextDecoderOptions options = {});
|
||||
};
|
||||
TextDecoderStream includes TextDecoderCommon;
|
||||
TextDecoderStream includes GenericTransformStream;
|
||||
|
||||
[Constructor,
|
||||
Exposed=(Window,Worker)]
|
||||
[Exposed=(Window,Worker)]
|
||||
interface TextEncoderStream {
|
||||
constructor();
|
||||
};
|
||||
TextEncoderStream includes TextEncoderCommon;
|
||||
TextEncoderStream includes GenericTransformStream;
|
||||
|
|
|
@ -77,5 +77,5 @@ dictionary MediaSessionSeekActionDetails : MediaSessionActionDetails {
|
|||
|
||||
dictionary MediaSessionSeekToActionDetails : MediaSessionActionDetails {
|
||||
required double seekTime;
|
||||
bool? fastSeek;
|
||||
boolean? fastSeek;
|
||||
};
|
||||
|
|
|
@ -22,9 +22,9 @@ partial interface Performance {
|
|||
void clearMeasures(optional DOMString measureName);
|
||||
};
|
||||
|
||||
[Exposed=(Window,Worker),
|
||||
Constructor(DOMString markName, optional PerformanceMarkOptions markOptions = {})]
|
||||
[Exposed=(Window,Worker)]
|
||||
interface PerformanceMark : PerformanceEntry {
|
||||
constructor(DOMString markName, optional PerformanceMarkOptions markOptions = {});
|
||||
readonly attribute any detail;
|
||||
};
|
||||
|
||||
|
|
|
@ -91,19 +91,20 @@ enum RTCIceConnectionState {
|
|||
"connected"
|
||||
};
|
||||
|
||||
[Exposed=Window, Constructor(optional RTCConfiguration configuration)]
|
||||
interface RTCPeerConnection : EventTarget {
|
||||
Promise<RTCSessionDescriptionInit> createOffer(optional RTCOfferOptions options);
|
||||
Promise<RTCSessionDescriptionInit> createAnswer(optional RTCAnswerOptions options);
|
||||
Promise<void> setLocalDescription(optional RTCSessionDescriptionInit description);
|
||||
[Exposed=Window]
|
||||
interface RTCPeerConnection : EventTarget {
|
||||
constructor(optional RTCConfiguration configuration = {});
|
||||
Promise<RTCSessionDescriptionInit> createOffer(optional RTCOfferOptions options = {});
|
||||
Promise<RTCSessionDescriptionInit> createAnswer(optional RTCAnswerOptions options = {});
|
||||
Promise<void> setLocalDescription(optional RTCSessionDescriptionInit description = {});
|
||||
readonly attribute RTCSessionDescription? localDescription;
|
||||
readonly attribute RTCSessionDescription? currentLocalDescription;
|
||||
readonly attribute RTCSessionDescription? pendingLocalDescription;
|
||||
Promise<void> setRemoteDescription(optional RTCSessionDescriptionInit description);
|
||||
Promise<void> setRemoteDescription(optional RTCSessionDescriptionInit description = {});
|
||||
readonly attribute RTCSessionDescription? remoteDescription;
|
||||
readonly attribute RTCSessionDescription? currentRemoteDescription;
|
||||
readonly attribute RTCSessionDescription? pendingRemoteDescription;
|
||||
Promise<void> addIceCandidate(optional RTCIceCandidateInit candidate);
|
||||
Promise<void> addIceCandidate(optional RTCIceCandidateInit candidate = {});
|
||||
readonly attribute RTCSignalingState signalingState;
|
||||
readonly attribute RTCIceGatheringState iceGatheringState;
|
||||
readonly attribute RTCIceConnectionState iceConnectionState;
|
||||
|
@ -121,18 +122,21 @@ interface RTCPeerConnection : EventTarget {
|
|||
attribute EventHandler oniceconnectionstatechange;
|
||||
attribute EventHandler onicegatheringstatechange;
|
||||
attribute EventHandler onconnectionstatechange;
|
||||
};
|
||||
|
||||
partial interface RTCPeerConnection {
|
||||
// Legacy Interface Extensions
|
||||
// Supporting the methods in this section is optional.
|
||||
// If these methods are supported
|
||||
// they must be implemented as defined
|
||||
// in section "Legacy Interface Extensions"
|
||||
Promise<void> createOffer(RTCSessionDescriptionCallback successCallback,
|
||||
RTCPeerConnectionErrorCallback failureCallback,
|
||||
optional RTCOfferOptions options);
|
||||
Promise<void> setLocalDescription(optional RTCSessionDescriptionInit description,
|
||||
optional RTCOfferOptions options = {});
|
||||
Promise<void> setLocalDescription(optional RTCSessionDescriptionInit description = {},
|
||||
VoidFunction successCallback,
|
||||
RTCPeerConnectionErrorCallback failureCallback);
|
||||
Promise<void> createAnswer(RTCSessionDescriptionCallback successCallback,
|
||||
RTCPeerConnectionErrorCallback failureCallback);
|
||||
Promise<void> setRemoteDescription(optional RTCSessionDescriptionInit description,
|
||||
Promise<void> setRemoteDescription(optional RTCSessionDescriptionInit description = {},
|
||||
VoidFunction successCallback,
|
||||
RTCPeerConnectionErrorCallback failureCallback);
|
||||
Promise<void> addIceCandidate(RTCIceCandidateInit candidate,
|
||||
|
@ -156,8 +160,9 @@ enum RTCSdpType {
|
|||
"rollback"
|
||||
};
|
||||
|
||||
[Exposed=Window, Constructor(optional RTCSessionDescriptionInit descriptionInitDict)]
|
||||
[Exposed=Window]
|
||||
interface RTCSessionDescription {
|
||||
constructor(optional RTCSessionDescriptionInit descriptionInitDict = {});
|
||||
readonly attribute RTCSdpType type;
|
||||
readonly attribute DOMString sdp;
|
||||
[Default] object toJSON();
|
||||
|
@ -168,8 +173,9 @@ dictionary RTCSessionDescriptionInit {
|
|||
DOMString sdp = "";
|
||||
};
|
||||
|
||||
[Exposed=Window, Constructor(optional RTCIceCandidateInit candidateInitDict)]
|
||||
[Exposed=Window]
|
||||
interface RTCIceCandidate {
|
||||
constructor(optional RTCIceCandidateInit candidateInitDict = {});
|
||||
readonly attribute DOMString candidate;
|
||||
readonly attribute DOMString? sdpMid;
|
||||
readonly attribute unsigned short? sdpMLineIndex;
|
||||
|
@ -212,9 +218,9 @@ enum RTCIceCandidateType {
|
|||
"relay"
|
||||
};
|
||||
|
||||
[Exposed=Window,
|
||||
Constructor(DOMString type, optional RTCPeerConnectionIceEventInit eventInitDict)]
|
||||
[Exposed=Window]
|
||||
interface RTCPeerConnectionIceEvent : Event {
|
||||
constructor(DOMString type, optional RTCPeerConnectionIceEventInit eventInitDict = {});
|
||||
readonly attribute RTCIceCandidate? candidate;
|
||||
readonly attribute DOMString? url;
|
||||
};
|
||||
|
@ -224,9 +230,9 @@ dictionary RTCPeerConnectionIceEventInit : EventInit {
|
|||
DOMString? url;
|
||||
};
|
||||
|
||||
[Exposed=Window,
|
||||
Constructor(DOMString type, RTCPeerConnectionIceErrorEventInit eventInitDict)]
|
||||
[Exposed=Window]
|
||||
interface RTCPeerConnectionIceErrorEvent : Event {
|
||||
constructor(DOMString type, RTCPeerConnectionIceErrorEventInit eventInitDict);
|
||||
readonly attribute DOMString hostCandidate;
|
||||
readonly attribute DOMString url;
|
||||
readonly attribute unsigned short errorCode;
|
||||
|
@ -248,7 +254,8 @@ enum RTCPriorityType {
|
|||
};
|
||||
|
||||
partial interface RTCPeerConnection {
|
||||
static Promise<RTCCertificate> generateCertificate(AlgorithmIdentifier keygenAlgorithm);
|
||||
static Promise<RTCCertificate>
|
||||
generateCertificate(AlgorithmIdentifier keygenAlgorithm);
|
||||
};
|
||||
|
||||
dictionary RTCCertificateExpiration {
|
||||
|
@ -269,7 +276,7 @@ partial interface RTCPeerConnection {
|
|||
RTCRtpSender addTrack(MediaStreamTrack track, MediaStream... streams);
|
||||
void removeTrack(RTCRtpSender sender);
|
||||
RTCRtpTransceiver addTransceiver((MediaStreamTrack or DOMString) trackOrKind,
|
||||
optional RTCRtpTransceiverInit init);
|
||||
optional RTCRtpTransceiverInit init = {});
|
||||
attribute EventHandler ontrack;
|
||||
};
|
||||
|
||||
|
@ -488,8 +495,9 @@ enum RTCIceComponent {
|
|||
"rtcp"
|
||||
};
|
||||
|
||||
[Exposed=Window, Constructor(DOMString type, RTCTrackEventInit eventInitDict)]
|
||||
[Exposed=Window]
|
||||
interface RTCTrackEvent : Event {
|
||||
constructor(DOMString type, RTCTrackEventInit eventInitDict);
|
||||
readonly attribute RTCRtpReceiver receiver;
|
||||
readonly attribute MediaStreamTrack track;
|
||||
[SameObject] readonly attribute FrozenArray<MediaStream> streams;
|
||||
|
@ -506,7 +514,7 @@ dictionary RTCTrackEventInit : EventInit {
|
|||
partial interface RTCPeerConnection {
|
||||
readonly attribute RTCSctpTransport? sctp;
|
||||
RTCDataChannel createDataChannel(USVString label,
|
||||
optional RTCDataChannelInit dataChannelDict);
|
||||
optional RTCDataChannelInit dataChannelDict = {});
|
||||
attribute EventHandler ondatachannel;
|
||||
};
|
||||
|
||||
|
@ -569,8 +577,9 @@ enum RTCDataChannelState {
|
|||
"closed"
|
||||
};
|
||||
|
||||
[Exposed=Window, Constructor(DOMString type, RTCDataChannelEventInit eventInitDict)]
|
||||
[Exposed=Window]
|
||||
interface RTCDataChannelEvent : Event {
|
||||
constructor(DOMString type, RTCDataChannelEventInit eventInitDict);
|
||||
readonly attribute RTCDataChannel channel;
|
||||
};
|
||||
|
||||
|
@ -590,9 +599,9 @@ interface RTCDTMFSender : EventTarget {
|
|||
readonly attribute DOMString toneBuffer;
|
||||
};
|
||||
|
||||
[Exposed=Window,
|
||||
Constructor(DOMString type, RTCDTMFToneChangeEventInit eventInitDict)]
|
||||
[Exposed=Window]
|
||||
interface RTCDTMFToneChangeEvent : Event {
|
||||
constructor(DOMString type, RTCDTMFToneChangeEventInit eventInitDict);
|
||||
readonly attribute DOMString tone;
|
||||
};
|
||||
|
||||
|
@ -616,9 +625,9 @@ dictionary RTCStats {
|
|||
required DOMString id;
|
||||
};
|
||||
|
||||
[Exposed=Window,
|
||||
Constructor(DOMString type, RTCStatsEventInit eventInitDict)]
|
||||
[Exposed=Window]
|
||||
interface RTCStatsEvent : Event {
|
||||
constructor(DOMString type, RTCStatsEventInit eventInitDict);
|
||||
readonly attribute RTCStatsReport report;
|
||||
};
|
||||
|
||||
|
@ -626,8 +635,9 @@ dictionary RTCStatsEventInit : EventInit {
|
|||
required RTCStatsReport report;
|
||||
};
|
||||
|
||||
[Exposed=Window, Constructor(RTCErrorInit init, optional DOMString message = "")]
|
||||
[Exposed=Window]
|
||||
interface RTCError : DOMException {
|
||||
constructor(RTCErrorInit init, optional DOMString message = "");
|
||||
readonly attribute RTCErrorDetailType errorDetail;
|
||||
readonly attribute long? sdpLineNumber;
|
||||
readonly attribute long? httpRequestStatusCode;
|
||||
|
@ -663,9 +673,9 @@ enum RTCErrorDetailType {
|
|||
"hardware-encoder-error"
|
||||
};
|
||||
|
||||
[Exposed=Window,
|
||||
Constructor(DOMString type, RTCErrorEventInit eventInitDict)]
|
||||
[Exposed=Window]
|
||||
interface RTCErrorEvent : Event {
|
||||
constructor(DOMString type, RTCErrorEventInit eventInitDict);
|
||||
[SameObject] readonly attribute RTCError error;
|
||||
};
|
||||
|
||||
|
|
|
@ -4,6 +4,11 @@
|
|||
<body>
|
||||
<style>
|
||||
#myDiv { position: relative; width: 300px; height: 100px; }
|
||||
|
||||
/* Disable the button's focus ring, which otherwise expands its visual rect by
|
||||
* 1px on all sides, triggering a layout shift event.
|
||||
*/
|
||||
#button { outline: none; }
|
||||
</style>
|
||||
<div id='myDiv'></div>
|
||||
<button id='button'>Generate a 'click' event</button>
|
||||
|
|
|
@ -0,0 +1,61 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>munder/mover/munderover align (reference)</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if the center of the following rectangles is aligned
|
||||
on the same vertical axis.</p>
|
||||
<p>
|
||||
<math>
|
||||
<munder>
|
||||
<mspace width="30px" height="20px" style="background: cyan;"></mspace>
|
||||
<mspace width="10px" height="20px" style="background: blue;"></mspace>
|
||||
</munder>
|
||||
</math>
|
||||
</p>
|
||||
<p>
|
||||
<math>
|
||||
<munder>
|
||||
<mspace width="30px" height="20px" style="background: cyan;"></mspace>
|
||||
<mspace width="10px" height="20px" style="background: blue;"></mspace>
|
||||
</munder>
|
||||
</math>
|
||||
</p>
|
||||
<p>
|
||||
<math>
|
||||
<mover>
|
||||
<mspace width="30px" height="20px" style="background: cyan;"></mspace>
|
||||
<mspace width="10px" height="20px" style="background: blue;"></mspace>
|
||||
</mover>
|
||||
</math>
|
||||
</p>
|
||||
<p>
|
||||
<math>
|
||||
<mover>
|
||||
<mspace width="30px" height="20px" style="background: cyan;"></mspace>
|
||||
<mspace width="10px" height="20px" style="background: blue;"></mspace>
|
||||
</mover>
|
||||
</math>
|
||||
</p>
|
||||
<p>
|
||||
<math>
|
||||
<munderover>
|
||||
<mspace width="30px" height="20px" style="background: cyan;"></mspace>
|
||||
<mspace width="10px" height="20px" style="background: blue;"></mspace>
|
||||
<mspace width="10px" height="20px" style="background: blue;"></mspace>
|
||||
</munderover>
|
||||
</math>
|
||||
</p>
|
||||
<p>
|
||||
<math>
|
||||
<munderover>
|
||||
<mspace width="30px" height="20px" style="background: cyan;"></mspace>
|
||||
<mspace width="10px" height="20px" style="background: blue;"></mspace>
|
||||
<mspace width="10px" height="20px" style="background: blue;"></mspace>
|
||||
</munderover>
|
||||
</math>
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,72 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>munder/mover/munderover align</title>
|
||||
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#underscripts-and-overscripts-munder-mover-munderover">
|
||||
<link rel="help" href="https://www.w3.org/TR/MathML3/chapter3.html#presm.munder">
|
||||
<link rel="help" href="https://www.w3.org/TR/MathML3/chapter3.html#presm.mover">
|
||||
<link rel="help" href="https://www.w3.org/TR/MathML3/chapter3.html#presm.munderover">
|
||||
<meta name="assert" content="Check that the legacy align attribute is ignored.">
|
||||
<link rel="match" href="underover-legacy-align-attribute-001-ref.html">
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if the center of the following rectangles is aligned
|
||||
on the same vertical axis.</p>
|
||||
<p>
|
||||
<math>
|
||||
<munder align="left">
|
||||
<mspace width="30px" height="20px" style="background: cyan;"></mspace>
|
||||
<mspace width="10px" height="20px" style="background: blue;"></mspace>
|
||||
</munder>
|
||||
</math>
|
||||
</p>
|
||||
<p>
|
||||
<math>
|
||||
<munder align="right">
|
||||
<mspace width="30px" height="20px" style="background: cyan;"></mspace>
|
||||
<mspace width="10px" height="20px" style="background: blue;"></mspace>
|
||||
</munder>
|
||||
</math>
|
||||
</p>
|
||||
<p>
|
||||
<math>
|
||||
<mover align="left">
|
||||
<mspace width="30px" height="20px" style="background: cyan;"></mspace>
|
||||
<mspace width="10px" height="20px" style="background: blue;"></mspace>
|
||||
</mover>
|
||||
</math>
|
||||
</p>
|
||||
<p>
|
||||
<math>
|
||||
<mover align="right">
|
||||
<mspace width="30px" height="20px" style="background: cyan;"></mspace>
|
||||
<mspace width="10px" height="20px" style="background: blue;"></mspace>
|
||||
</mover>
|
||||
</math>
|
||||
</p>
|
||||
<p>
|
||||
<math>
|
||||
<munderover align="left">
|
||||
<mspace width="30px" height="20px" style="background: cyan;"></mspace>
|
||||
<mspace width="10px" height="20px" style="background: blue;"></mspace>
|
||||
<mspace width="10px" height="20px" style="background: blue;"></mspace>
|
||||
</munderover>
|
||||
</math>
|
||||
</p>
|
||||
<p>
|
||||
<math>
|
||||
<munderover align="right">
|
||||
<mspace width="30px" height="20px" style="background: cyan;"></mspace>
|
||||
<mspace width="10px" height="20px" style="background: blue;"></mspace>
|
||||
<mspace width="10px" height="20px" style="background: blue;"></mspace>
|
||||
</munderover>
|
||||
</math>
|
||||
</p>
|
||||
<script src="/mathml/support/feature-detection.js"></script>
|
||||
<script>
|
||||
MathMLFeatureDetection.ensure_for_match_reftest("has_mspace");
|
||||
MathMLFeatureDetection.ensure_for_match_reftest("has_munderover");
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -5,7 +5,7 @@
|
|||
<link rel="help" href="https://w3c.github.io/proximity/">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/generic-sensor/generic-sensor-tests.js"></script>
|
||||
<script src="/generic-sensor/resources/generic-sensor-helpers.js"></script>
|
||||
<script src="/generic-sensor/generic-sensor-iframe-tests.sub.js"></script>
|
||||
<script src="/generic-sensor/generic-sensor-feature-policy-test.sub.js"></script>
|
||||
<div id="log"></div>
|
||||
|
|
|
@ -5,10 +5,28 @@
|
|||
<link rel="help" href="https://w3c.github.io/proximity/">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/generic-sensor/resources/generic-sensor-helpers.js"></script>
|
||||
<script src="/generic-sensor/generic-sensor-tests.js"></script>
|
||||
<div id="log"></div>
|
||||
|
||||
<script>
|
||||
|
||||
runGenericSensorTests('ProximitySensor');
|
||||
'use strict';
|
||||
|
||||
// near: 0 stands for false, 1 stands for true, which will be convert to boolean
|
||||
// in mock sensor
|
||||
const kReadings = {
|
||||
readings: [
|
||||
[1.12345, 2.12345, 1]
|
||||
],
|
||||
expectedReadings: [
|
||||
[1.12345, 2.12345, true]
|
||||
]
|
||||
};
|
||||
|
||||
runGenericSensorTests(
|
||||
'ProximitySensor',
|
||||
kReadings,
|
||||
verifyProximitySensorReading,
|
||||
['proximity']);
|
||||
|
||||
</script>
|
||||
|
|
|
@ -1,20 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>ProximitySensor Test: onerror</title>
|
||||
<link rel="author" title="Intel" href="http://www.intel.com">
|
||||
<link rel="help" href="https://w3c.github.io/proximity/">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/generic-sensor/generic-sensor-tests.js"></script>
|
||||
<div id="log"></div>
|
||||
<h2>Precondition</h2>
|
||||
<ol>
|
||||
<li>
|
||||
Disable the Proximity Sensor or run test on a device without Proximity Sensor.
|
||||
</li>
|
||||
</ol>
|
||||
<script>
|
||||
|
||||
runGenericSensorOnerror('ProximitySensor');
|
||||
|
||||
</script>
|
|
@ -150,12 +150,13 @@ var GenericSensorTest = (() => {
|
|||
['RelativeOrientationSensor',
|
||||
device.mojom.SensorType.RELATIVE_ORIENTATION_QUATERNION],
|
||||
['RelativeOrientationEulerAngles',
|
||||
device.mojom.SensorType.RELATIVE_ORIENTATION_EULER_ANGLES]
|
||||
device.mojom.SensorType.RELATIVE_ORIENTATION_EULER_ANGLES],
|
||||
['ProximitySensor', device.mojom.SensorType.PROXIMITY]
|
||||
]);
|
||||
this.binding_ = new mojo.Binding(device.mojom.SensorProvider, this);
|
||||
|
||||
this.interceptor_ = new MojoInterfaceInterceptor(
|
||||
device.mojom.SensorProvider.name);
|
||||
device.mojom.SensorProvider.name, "context", true);
|
||||
this.interceptor_.oninterfacerequest = e => {
|
||||
this.bindToPipe(e.handle);
|
||||
};
|
||||
|
|
|
@ -161,7 +161,7 @@ var WebNFCTest = (() => {
|
|||
this.bindingSet_ = new mojo.BindingSet(device.mojom.NFC);
|
||||
|
||||
this.interceptor_ = new MojoInterfaceInterceptor(
|
||||
device.mojom.NFC.name);
|
||||
device.mojom.NFC.name, "context", true);
|
||||
this.interceptor_.oninterfacerequest =
|
||||
e => this.bindingSet_.addBinding(this, e.handle);
|
||||
this.interceptor_.start();
|
||||
|
|
|
@ -8,7 +8,7 @@ const SmsProvider = (() => {
|
|||
this.mojoReceiver_ = new blink.mojom.SmsReceiverReceiver(this);
|
||||
|
||||
this.interceptor_ = new MojoInterfaceInterceptor(
|
||||
blink.mojom.SmsReceiver.$interfaceName)
|
||||
blink.mojom.SmsReceiver.$interfaceName, "context", true)
|
||||
|
||||
this.interceptor_.oninterfacerequest = (e) => {
|
||||
this.mojoReceiver_.$.bindHandle(e.handle);
|
||||
|
|
|
@ -617,7 +617,7 @@ const visibilityType = {
|
|||
composite });
|
||||
testAnimationSamples(animation, idlName,
|
||||
[{ time: 0, expected: 'visible' },
|
||||
{ time: 1000, expected: 'visible' }]);
|
||||
{ time: 1000, expected: 'hidden' }]);
|
||||
}, `${property}: onto "visible"`);
|
||||
|
||||
test(t => {
|
||||
|
|
|
@ -0,0 +1,21 @@
|
|||
<!DOCTYPE html>
|
||||
<body>
|
||||
<script src=/resources/testharness.js></script>
|
||||
<script src=/resources/testharnessreport.js></script>
|
||||
<script src="resources/webxr_util.js"></script>
|
||||
<script src="resources/webxr_test_constants.js"></script>
|
||||
<script>
|
||||
xr_promise_test(
|
||||
"isSessionSupported resolves to true when immersive options supported",
|
||||
(t) => {
|
||||
return navigator.xr.test.simulateDeviceConnection(TRACKED_IMMERSIVE_DEVICE)
|
||||
.then( (controller) => {
|
||||
return navigator.xr.isSessionSupported('immersive-vr').then((supported) => {
|
||||
t.step(() => {
|
||||
assert_true(supported);
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</body>
|
|
@ -0,0 +1,21 @@
|
|||
<!DOCTYPE html>
|
||||
<body>
|
||||
<script src=/resources/testharness.js></script>
|
||||
<script src=/resources/testharnessreport.js></script>
|
||||
<script src="resources/webxr_util.js"></script>
|
||||
<script src="resources/webxr_test_constants.js"></script>
|
||||
<script>
|
||||
xr_promise_test(
|
||||
"isSessionSupported resolves to false when options not supported",
|
||||
(t) => {
|
||||
return navigator.xr.test.simulateDeviceConnection(VALID_NON_IMMERSIVE_DEVICE)
|
||||
.then( (controller) => {
|
||||
return navigator.xr.isSessionSupported('immersive-vr').then((supported) => {
|
||||
t.step(() => {
|
||||
assert_false(supported);
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</body>
|
|
@ -0,0 +1,22 @@
|
|||
<!DOCTYPE html>
|
||||
<body>
|
||||
<script src=/resources/testharness.js></script>
|
||||
<script src=/resources/testharnessreport.js></script>
|
||||
<script src="resources/webxr_util.js"></script>
|
||||
<script src="resources/webxr_test_constants.js"></script>
|
||||
<script>
|
||||
xr_promise_test(
|
||||
"isSessionSupported resolves to true when inline options supported",
|
||||
(t) => {
|
||||
return navigator.xr.test.simulateDeviceConnection(TRACKED_IMMERSIVE_DEVICE)
|
||||
.then( (controller) => {
|
||||
// Inline sessions should be supported.
|
||||
return navigator.xr.isSessionSupported('inline').then((supported) => {
|
||||
t.step(() => {
|
||||
assert_true(supported);
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</body>
|
Loading…
Add table
Add a link
Reference in a new issue