Update web-platform-tests to revision 36ff3198676718b4af5d55c5e6c1ec8c51a2a0d6

This commit is contained in:
WPT Sync Bot 2020-11-06 08:20:09 +00:00
parent 0c3631605e
commit a605e18eb6
121 changed files with 1605 additions and 156 deletions

View file

@ -0,0 +1,4 @@
[hit-test-floats-002.html]
[Hit test float]
expected: FAIL

View file

@ -0,0 +1,4 @@
[hit-test-floats-004.html]
[Miss float below something else]
expected: FAIL

View file

@ -0,0 +1,4 @@
[hit-test-floats-005.html]
[Miss clipped float]
expected: FAIL

View file

@ -0,0 +1,10 @@
[flex-aspect-ratio-img-row-013.html]
[img 1]
expected: FAIL
[img 2]
expected: FAIL
[img 3]
expected: FAIL

View file

@ -0,0 +1,2 @@
[trailing-ideographic-space-011.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[trailing-ideographic-space-013.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[trailing-ideographic-space-015.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[trailing-ideographic-space-016.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[preserve-3d-flat-grouping-properties-containing-block.tentative.html]
expected: ERROR

View file

@ -0,0 +1,2 @@
[preserve-3d-flat-grouping-properties.html]
expected: ERROR

View file

@ -1,2 +0,0 @@
[matchMedia-display-none-iframe.html]
expected: ERROR

View file

@ -312,21 +312,21 @@
[Response: combined response Content-Type: text/html;" \\" text/plain ";charset=GBK]
expected: NOTRUN
[<iframe>: separate response Content-Type: text/html */*;charset=gbk]
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/html;x=" text/plain]
expected: FAIL
[<iframe>: separate response Content-Type: text/html;" \\" text/plain]
[<iframe>: combined response Content-Type: text/html;" text/plain]
expected: FAIL
[<iframe>: combined response Content-Type: text/html;x=" text/plain]
[<iframe>: combined response Content-Type: */* text/html]
expected: FAIL
[<iframe>: combined response Content-Type: text/html */*]
expected: FAIL
[<iframe>: separate response Content-Type: text/html;" text/plain]
expected: FAIL
[<iframe>: combined response Content-Type: text/html */*;charset=gbk]
expected: FAIL

View file

@ -56,6 +56,6 @@
[separate text/javascript x/x]
expected: FAIL
[separate text/javascript ]
[separate text/javascript;charset=windows-1252 error text/javascript]
expected: FAIL

View file

@ -11,6 +11,3 @@
[X-Content-Type-Options%3A%20nosniff%2C%2C%40%23%24%23%25%25%26%5E%26%5E*()()11!]
expected: FAIL
[Content-Type-Options%3A%20nosniff]
expected: FAIL

View file

@ -0,0 +1,4 @@
[traverse_the_history_2.html]
[Multiple history traversals, last would be aborted]
expected: FAIL

View file

@ -0,0 +1,4 @@
[traverse_the_history_3.html]
[Multiple history traversals, last would be aborted]
expected: FAIL

View file

@ -0,0 +1,4 @@
[traverse_the_history_5.html]
[Multiple history traversals, last would be aborted]
expected: FAIL

View file

@ -0,0 +1,2 @@
[cross-origin-objects-on-new-window.html]
expected: TIMEOUT

View file

@ -1,4 +0,0 @@
[creating_browsing_context_test_01.html]
[first argument: absolute url]
expected: FAIL

View file

@ -1,4 +1,5 @@
[embedded-opener-remove-frame.html]
expected: CRASH
[opener of discarded nested browsing context]
expected: FAIL

View file

@ -1,5 +1,5 @@
[iframe_sandbox_popups_escaping-2.html]
expected: TIMEOUT
expected: CRASH
[Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used]
expected: TIMEOUT

View file

@ -1,5 +1,5 @@
[iframe_sandbox_popups_nonescaping-1.html]
expected: CRASH
expected: TIMEOUT
[Check that popups from a sandboxed iframe do not escape the sandbox]
expected: FAIL
expected: NOTRUN

View file

@ -1,5 +1,5 @@
[iframe_sandbox_popups_nonescaping-2.html]
expected: TIMEOUT
expected: CRASH
[Check that popups from a sandboxed iframe do not escape the sandbox]
expected: NOTRUN

View file

@ -1,5 +1,4 @@
[iframe_sandbox_popups_nonescaping-3.html]
expected: TIMEOUT
[Check that popups from a sandboxed iframe do not escape the sandbox]
expected: NOTRUN
expected: FAIL

View file

@ -0,0 +1,4 @@
[form-double-submit-2.html]
[preventDefault should allow onclick submit() to succeed]
expected: FAIL

View file

@ -0,0 +1,4 @@
[form-double-submit-3.html]
[<button> should have the same double-submit protection as <input type=submit>]
expected: FAIL

View file

@ -1,4 +0,0 @@
[form-double-submit.html]
[default submit action should supersede onclick submit()]
expected: FAIL

View file

@ -8,3 +8,6 @@
[Check that rel=noopener with target=_parent does a normal load]
expected: FAIL
[Check that rel=noopener with target=_self does a normal load]
expected: FAIL

View file

@ -0,0 +1,4 @@
[module-delayed.html]
[async document.write in a module]
expected: FAIL

View file

@ -3,3 +3,6 @@
[The incumbent settings object while executing the compiled callback via Web IDL's invoke must be that of the node document]
expected: TIMEOUT
[The entry settings object while executing the compiled callback via Web IDL's invoke must be that of the node document]
expected: FAIL

View file

@ -245,3 +245,9 @@
[X Stitched sine-wave buffers at sample rate 43800 does not equal [0,0.06264832615852356,0.12505052983760834,0.18696144223213196,0.24813786149024963,0.308339387178421,0.36732959747314453,0.4248766601085663,0.480754554271698,0.5347436666488647,0.5866320133209229,0.6362156271934509,0.6832997798919678,0.7276994585990906,0.7692402601242065,0.8077589869499207...\] with an element-wise tolerance of {"absoluteThreshold":0.0038986,"relativeThreshold":0}.\n\tIndex\tActual\t\t\tExpected\t\tAbsError\t\tRelError\t\tTest threshold\n\t[28696\]\t2.7146387523941948e-32\t9.3139332532882690e-1\t9.3139332532882690e-1\t1.0000000000000000e+0\t3.8985999999999999e-3\n\t[28697\]\t7.0477002859115601e-1\t9.0675884485244751e-1\t2.0198881626129150e-1\t2.2275913536212616e-1\t3.8985999999999999e-3\n\tMax AbsError of 9.3139332532882690e-1 at index of 28696.\n\tMax RelError of 1.0000000000000000e+0 at index of 28696.\n]
expected: FAIL
[X Stitched sine-wave buffers at sample rate 43800 does not equal [0,0.06264832615852356,0.12505052983760834,0.18696144223213196,0.24813786149024963,0.308339387178421,0.36732959747314453,0.4248766601085663,0.480754554271698,0.5347436666488647,0.5866320133209229,0.6362156271934509,0.6832997798919678,0.7276994585990906,0.7692402601242065,0.8077589869499207...\] with an element-wise tolerance of {"absoluteThreshold":0.0038986,"relativeThreshold":0}.\n\tIndex\tActual\t\t\tExpected\t\tAbsError\t\tRelError\t\tTest threshold\n\t[28696\]\t2.1021796856075525e-3\t9.3139332532882690e-1\t9.2929114564321935e-1\t9.9774297321181105e-1\t3.8985999999999999e-3\n\t[28697\]\t7.0477002859115601e-1\t9.0675884485244751e-1\t2.0198881626129150e-1\t2.2275913536212616e-1\t3.8985999999999999e-3\n\tMax AbsError of 9.2929114564321935e-1 at index of 28696.\n\tMax RelError of 9.9774297321181105e-1 at index of 28696.\n]
expected: FAIL
[X SNR (43.842664034730205 dB) is not greater than or equal to 65.737. Got 43.842664034730205.]
expected: FAIL

View file

@ -1,5 +1,4 @@
[audiocontext-not-fully-active.html]
expected: TIMEOUT
[frame in navigated remote-site frame]
expected: FAIL

View file

@ -0,0 +1,5 @@
[017.html]
expected: TIMEOUT
[origin of the script that invoked the method, about:blank]
expected: TIMEOUT

View file

@ -0,0 +1,5 @@
[017.html]
expected: TIMEOUT
[origin of the script that invoked the method, about:blank]
expected: TIMEOUT

View file

@ -0,0 +1,5 @@
[018.html]
expected: TIMEOUT
[origin of the script that invoked the method, javascript:]
expected: TIMEOUT

View file

@ -1,2 +0,0 @@
[Worker-constructor.html]
expected: ERROR

View file

@ -187157,6 +187157,71 @@
{}
]
],
"full-width-leading-spaces-001.html": [
"c23e4fdbc76e6f4c70cf936aaba2e7f5f51b734e",
[
null,
[
[
"/css/css-text/white-space/reference/full-width-leading-spaces-001-ref.html",
"=="
]
],
{}
]
],
"full-width-leading-spaces-002.html": [
"610e5ae4632e6014c7de997a2a259ff4310dd96d",
[
null,
[
[
"/css/css-text/white-space/reference/white-space-break-spaces-005-ref.html",
"=="
]
],
{}
]
],
"full-width-leading-spaces-003.html": [
"610e5ae4632e6014c7de997a2a259ff4310dd96d",
[
null,
[
[
"/css/css-text/white-space/reference/white-space-break-spaces-005-ref.html",
"=="
]
],
{}
]
],
"full-width-leading-spaces-004.html": [
"eb7d24f042c4cd952c0fb4b8826abf70633fdaab",
[
null,
[
[
"/css/css-text/white-space/reference/white-space-break-spaces-005-ref.html",
"=="
]
],
{}
]
],
"full-width-leading-spaces-005.html": [
"8fd86a900298c0e715cd7f65d469c726faf72240",
[
null,
[
[
"/css/css-text/white-space/reference/white-space-break-spaces-005-ref.html",
"=="
]
],
{}
]
],
"line-edge-white-space-collapse-001.html": [
"4e144e6c330191435f183936c2ab2437ec4f7609",
[
@ -188218,6 +188283,210 @@
{}
]
],
"trailing-ideographic-space-005.html": [
"b33531bff998f46d8dfdba3a45757db03ff0cb62",
[
null,
[
[
"/css/css-text/white-space/reference/trailing-ideographic-space-004-ref.html",
"=="
],
[
"/css/css-text/white-space/reference/trailing-ideographic-space-alt-003-ref.html",
"=="
]
],
{}
]
],
"trailing-ideographic-space-006.html": [
"f5a8ab1dfbec8b494bb542e948e7c456112e29a3",
[
null,
[
[
"/css/css-text/white-space/reference/trailing-ideographic-space-003-ref.html",
"=="
],
[
"/css/css-text/white-space/reference/trailing-ideographic-space-alt-003-ref.html",
"=="
]
],
{}
]
],
"trailing-ideographic-space-007.html": [
"d58d5ba9cf21f1e606f3ebc32edb19629a9b677a",
[
null,
[
[
"/css/css-text/white-space/reference/trailing-ideographic-space-003-ref.html",
"=="
],
[
"/css/css-text/white-space/reference/trailing-ideographic-space-alt-003-ref.html",
"=="
]
],
{}
]
],
"trailing-ideographic-space-008.html": [
"50de162540f56c09cc859934c4d3c0c5d10b522d",
[
null,
[
[
"/css/css-text/white-space/reference/trailing-ideographic-space-003-ref.html",
"=="
],
[
"/css/css-text/white-space/reference/trailing-ideographic-space-alt-003-ref.html",
"=="
]
],
{}
]
],
"trailing-ideographic-space-009.html": [
"2a642bbc6fd26369087915d2cf6674737e9bba10",
[
null,
[
[
"/css/css-text/white-space/reference/trailing-ideographic-space-004-ref.html",
"=="
],
[
"/css/css-text/white-space/reference/trailing-ideographic-space-alt-003-ref.html",
"=="
]
],
{}
]
],
"trailing-ideographic-space-010.html": [
"eef3613edd0045592a7f6749724904faadb8f73d",
[
null,
[
[
"/css/css-text/white-space/reference/trailing-ideographic-space-004-ref.html",
"=="
],
[
"/css/css-text/white-space/reference/trailing-ideographic-space-alt-003-ref.html",
"=="
]
],
{}
]
],
"trailing-ideographic-space-011.html": [
"381d7a41b001a969615699b60752ff79c0f926ec",
[
null,
[
[
"/css/css-text/white-space/reference/trailing-ideographic-space-011-ref.html",
"=="
],
[
"/css/css-text/white-space/reference/trailing-ideographic-space-alt-011-ref.html",
"=="
]
],
{}
]
],
"trailing-ideographic-space-012.html": [
"2b73db18202d1b27feda9fb9fc9e779b943a82b6",
[
null,
[
[
"/css/css-text/white-space/reference/white-space-pre-wrap-trailing-spaces-004-ref.html",
"=="
],
[
"/css/css-text/white-space/reference/white-space-pre-wrap-trailing-spaces-alt-004-ref.html",
"=="
]
],
{}
]
],
"trailing-ideographic-space-013.html": [
"fa8195e4a8286d767f84de4762f5be69eb3c43b6",
[
null,
[
[
"/css/css-text/white-space/reference/white-space-pre-wrap-trailing-spaces-004-ref.html",
"=="
],
[
"/css/css-text/white-space/reference/white-space-pre-wrap-trailing-spaces-alt-004-ref.html",
"=="
]
],
{}
]
],
"trailing-ideographic-space-014.html": [
"8eab5924c57fe6ebaa7618980e3dd6d8bcccb3c4",
[
null,
[
[
"/css/css-text/white-space/reference/white-space-pre-wrap-trailing-spaces-004-ref.html",
"=="
],
[
"/css/css-text/white-space/reference/white-space-pre-wrap-trailing-spaces-alt-004-ref.html",
"=="
]
],
{}
]
],
"trailing-ideographic-space-015.html": [
"efcb2c8a0575a2204a6d03af60c5d95bc76d26f7",
[
null,
[
[
"/css/css-text/white-space/reference/trailing-ideographic-space-011-ref.html",
"=="
],
[
"/css/css-text/white-space/reference/trailing-ideographic-space-alt-011-ref.html",
"=="
]
],
{}
]
],
"trailing-ideographic-space-016.html": [
"3e65785f39dc20049e0e16e09f95efedbef1edd5",
[
null,
[
[
"/css/css-text/white-space/reference/trailing-ideographic-space-011-ref.html",
"=="
],
[
"/css/css-text/white-space/reference/trailing-ideographic-space-alt-011-ref.html",
"=="
]
],
{}
]
],
"trailing-ogham-001.html": [
"f687c7cdc377679a3eeb392254e6f68c883c504f",
[
@ -188869,13 +189138,17 @@
]
],
"white-space-pre-wrap-trailing-spaces-004.html": [
"cde64415b7b074d0efe35ffa189b27f0b0327ded",
"d2fda889bc08aecb1e2f12ed3e34d3db5ea5ced1",
[
null,
[
[
"/css/css-text/white-space/reference/white-space-pre-wrap-trailing-spaces-004-ref.html",
"=="
],
[
"/css/css-text/white-space/reference/white-space-pre-wrap-trailing-spaces-alt-004-ref.html",
"=="
]
],
{}
@ -258774,7 +259047,11 @@
"critical-ch": {
"resources": {
"echo-critical-hint.py": [
"4e2577a231b8b49ab95da71b519a101120711448",
"8c06f79f1ad4e2b075cb67a72695e737ccc49207",
[]
],
"util.js": [
"7471d9022e48613f799283afdd7600ecdac6b15a",
[]
]
}
@ -319144,6 +319421,10 @@
"30a4ffd303d55f6228b886aa658822975601967a",
[]
],
"full-width-leading-spaces-001-ref.html": [
"2b9cf1c3b27edbe44a1009366e47d245e4cb7a8b",
[]
],
"line-edge-white-space-collapse-001-ref.html": [
"02fa594255f00396f66e86837409cd579282f7de",
[]
@ -319232,10 +319513,18 @@
"a72e050031c5da7aad65eece88da65ace8293f52",
[]
],
"trailing-ideographic-space-011-ref.html": [
"a2efec249064cdd8ed2ee6888863c513ccb52da2",
[]
],
"trailing-ideographic-space-alt-003-ref.html": [
"9f579f29e0c897c744e1b06d5d2d60e85612f823",
[]
],
"trailing-ideographic-space-alt-011-ref.html": [
"03023f5359c62f71138696f8e90c6468de65b9d8",
[]
],
"trailing-ogham-001-ref.html": [
"1b6fddd30e2389f5cd3cba0f794d13c8a9ce98b5",
[]
@ -319329,7 +319618,7 @@
[]
],
"white-space-pre-wrap-trailing-spaces-004-ref.html": [
"0cbc7b231f0e3c7dd524ed94562663baf04667ed",
"6f79dfbeb3fd63a3b49d6c3831886b76ab1b5240",
[]
],
"white-space-pre-wrap-trailing-spaces-012-ref.html": [
@ -319348,6 +319637,10 @@
"ffcabadeb3295072ef95c3e1e71ac27fa3706834",
[]
],
"white-space-pre-wrap-trailing-spaces-alt-004-ref.html": [
"de92f22e627bf844ac02aa9366f4e1dbcf0ca35b",
[]
],
"white-space-pre-wrap-trailing-spaces-alt-012-ref.html": [
"fc485c42b17ae9f4d469bc57b07bdff140a588be",
[]
@ -348966,7 +349259,7 @@
},
"interfaces": {
"CSP.idl": [
"43ec3e4e87d142e110fb901a355a8b9c2e47bf98",
"fd08a33499b19ea7af2512e55ace7ee36eefa409",
[]
],
"DOM-Parsing.idl": [
@ -349550,7 +349843,7 @@
[]
],
"ua-client-hints.idl": [
"6e59d8e1fef5e34d94fe71a41f56a826a2c35981",
"09df2968aaaf925b0c1bb4c7d5df304ce8e1bf50",
[]
],
"uievents.idl": [
@ -356076,7 +356369,7 @@
[]
],
"force-load-at-top.js": [
"223e3a4b5a066038135f4ae09f4a13f527f0ed7f",
"691168859ff2bb9e56af4f84036d7ff7be9026c5",
[]
],
"navigate-back.html": [
@ -358563,6 +358856,14 @@
"8fb0a9b995d6289bb28582fa01e6bb092afa5dda",
[]
],
"declarative": {
"support": {
"declarative-child-frame.html": [
"10608b4875e0bd7d0169cf109b62b2b3612a8288",
[]
]
}
},
"directionality-001-ref.html": [
"7a2eaeb8681e860a52e5bf1268665fb896e4a950",
[]
@ -391220,18 +391521,29 @@
},
"critical-ch": {
"iframe.https.window.js": [
"87c68a347ce1d683852a17559d9202483871e7f2",
"f4dd295208fd4acddb084530cae772077004cab4",
[
"client-hints/critical-ch/iframe.https.window.html",
{}
{
"script_metadata": [
[
"script",
"resources/util.js"
]
]
}
]
],
"mis-matched-count.https.window.js": [
"b0c8d875a86946971f547d4cd01d079e0de65ed3",
"54bd66789793babdc8aab812059d30aeaa21ba11",
[
"client-hints/critical-ch/mis-matched-count.https.window.html",
{
"script_metadata": [
[
"script",
"resources/util.js"
],
[
"script",
"/common/utils.js"
@ -391241,32 +391553,57 @@
]
],
"mis-matched.https.window.js": [
"fcfd5412c009efc824d23a691f0c0857a35a254a",
"9476640b3513d36850d26ab2154e0bd07db5d77d",
[
"client-hints/critical-ch/mis-matched.https.window.html",
{}
{
"script_metadata": [
[
"script",
"resources/util.js"
]
]
}
]
],
"navigation.https.window.js": [
"831987eef1b515da10619d93237b2689d22c2ae8",
"549b32144321381ce48f4eb7ea95c0a1f31bc404",
[
"client-hints/critical-ch/navigation.https.window.html",
{}
{
"script_metadata": [
[
"script",
"resources/util.js"
]
]
}
]
],
"non-secure.http.window.js": [
"46c00ffdb66da314bbeec7804795566d3217712e",
"cdd79243982a46d60177e8721479e9eab111e88c",
[
"client-hints/critical-ch/non-secure.http.window.html",
{}
{
"script_metadata": [
[
"script",
"resources/util.js"
]
]
}
]
],
"request-count.https.window.js": [
"36c0ef8b99349e8ded23b80c3efc0894071adba0",
"b337340509354c3268d6fea2d935de4400ace70d",
[
"client-hints/critical-ch/request-count.https.window.html",
{
"script_metadata": [
[
"script",
"resources/util.js"
],
[
"script",
"/common/utils.js"
@ -391276,9 +391613,27 @@
]
],
"subresource.https.window.js": [
"494933500946aba2620c479857f99e091d4e3376",
"f8112b628d0f263959fd2a7dd8dfa066920f3514",
[
"client-hints/critical-ch/subresource.https.window.html",
{
"script_metadata": [
[
"script",
"resources/util.js"
],
[
"script",
"/common/utils.js"
]
]
}
]
],
"unsafe-method.https.window.js": [
"0eca0eb8e9aea1c066d56b685f23ffadf3a6754f",
[
"client-hints/critical-ch/unsafe-method.https.window.html",
{}
]
]
@ -402146,6 +402501,13 @@
{}
]
],
"flex-aspect-ratio-img-row-013.html": [
"07b4302bfb1d58cb9ec3cc9b706dd0df05e72bc5",
[
null,
{}
]
],
"flex-basis-009.html": [
"3e2026958fdd899349126ebe4778fb62a692d631",
[
@ -416548,8 +416910,15 @@
]
]
},
"preserve-3d-flat-grouping-properties.tentative.html": [
"2d4bb4854976b489c8aeff6c0fc0dcaf5884b1dd",
"preserve-3d-flat-grouping-properties-containing-block.tentative.html": [
"e30607c1197ddc13b76daf768686be13a9351a05",
[
null,
{}
]
],
"preserve-3d-flat-grouping-properties.html": [
"9d2423f98819dc11a5369e449f9e6d1de0bfad00",
[
null,
{}
@ -483981,7 +484350,7 @@
]
],
"input-valueasnumber.html": [
"321c981c74d2293694fecf18284126b089aca1c2",
"1af75eafa3e3743435e19a65cb1c30b67d1504dd",
[
null,
{}
@ -495068,6 +495437,13 @@
{}
]
],
"fixed-position-move.html": [
"877c2ba4b34615c41a5b21dbf114df69eef04352",
[
null,
{}
]
],
"fully-clipped-visual-rect.html": [
"bfd74a2407e2d91cdb2a13b86945b040aeb6dcca",
[
@ -495253,6 +495629,20 @@
{}
]
],
"sticky-descendant-move.html": [
"afab89592de311f000c461415e77b83227780423",
[
null,
{}
]
],
"sticky-layout-no-change.html": [
"8f3b2cf37382766fae97acd4f8059365f2479bae",
[
null,
{}
]
],
"supported-layout-type.html": [
"3ba209f50a427965b651c92701a62f9006b8a2b1",
[
@ -522962,14 +523352,21 @@
]
],
"declarative-shadow-dom-attachment.tentative.html": [
"b78902c4b59dc26ac819fbe24809621201fdc0ca",
"73b43829f1a093140a83b92e383e9a02ad3b4a6f",
[
null,
{}
]
],
"declarative-shadow-dom-basic.tentative.html": [
"92e667fdbcf9c3828e97732795af9d682c59645b",
"f17e304fe75995b492a23dfdf082a0f5e5bc48c6",
[
null,
{}
]
],
"declarative-shadow-dom-opt-in.tentative.html": [
"b314adb85c40097c17d838fe1645110df39059e7",
[
null,
{}

View file

@ -0,0 +1,4 @@
[hit-test-floats-002.html]
[Hit test float]
expected: FAIL

View file

@ -0,0 +1,4 @@
[hit-test-floats-004.html]
[Miss float below something else]
expected: FAIL

View file

@ -0,0 +1,4 @@
[hit-test-floats-005.html]
[Miss clipped float]
expected: FAIL

View file

@ -0,0 +1,10 @@
[flex-aspect-ratio-img-row-013.html]
[img 1]
expected: FAIL
[img 2]
expected: FAIL
[img 3]
expected: FAIL

View file

@ -0,0 +1,2 @@
[trailing-ideographic-space-011.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[trailing-ideographic-space-013.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[trailing-ideographic-space-015.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[trailing-ideographic-space-016.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[preserve-3d-flat-grouping-properties-containing-block.tentative.html]
expected: ERROR

View file

@ -0,0 +1,2 @@
[preserve-3d-flat-grouping-properties.html]
expected: ERROR

View file

@ -1,2 +0,0 @@
[preserve-3d-flat-grouping-properties.tentative.html]
expected: ERROR

View file

@ -1,2 +0,0 @@
[matchMedia-display-none-iframe.html]
expected: ERROR

View file

@ -312,21 +312,21 @@
[fetch(): separate response Content-Type: text/plain ]
expected: NOTRUN
[<iframe>: separate response Content-Type: text/html */*;charset=gbk]
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/html;x=" text/plain]
expected: FAIL
[<iframe>: separate response Content-Type: text/html;" \\" text/plain]
[<iframe>: combined response Content-Type: text/html;" text/plain]
expected: FAIL
[<iframe>: combined response Content-Type: text/html;x=" text/plain]
[<iframe>: combined response Content-Type: */* text/html]
expected: FAIL
[<iframe>: combined response Content-Type: text/html */*]
expected: FAIL
[<iframe>: separate response Content-Type: text/html;" text/plain]
expected: FAIL
[<iframe>: combined response Content-Type: text/html */*;charset=gbk]
expected: FAIL

View file

@ -56,6 +56,6 @@
[separate text/javascript x/x]
expected: FAIL
[separate text/javascript ]
[separate text/javascript;charset=windows-1252 error text/javascript]
expected: FAIL

View file

@ -11,6 +11,3 @@
[X-Content-Type-Options%3A%20nosniff%2C%2C%40%23%24%23%25%25%26%5E%26%5E*()()11!]
expected: FAIL
[Content-Type-Options%3A%20nosniff]
expected: FAIL

View file

@ -0,0 +1,4 @@
[traverse_the_history_2.html]
[Multiple history traversals, last would be aborted]
expected: FAIL

View file

@ -0,0 +1,4 @@
[traverse_the_history_3.html]
[Multiple history traversals, last would be aborted]
expected: FAIL

View file

@ -0,0 +1,4 @@
[traverse_the_history_5.html]
[Multiple history traversals, last would be aborted]
expected: FAIL

View file

@ -0,0 +1,2 @@
[cross-origin-objects-on-new-window.html]
expected: TIMEOUT

View file

@ -1,4 +0,0 @@
[creating_browsing_context_test_01.html]
[first argument: absolute url]
expected: FAIL

View file

@ -1,4 +1,5 @@
[embedded-opener-remove-frame.html]
expected: CRASH
[opener and "removed" embedded documents]
expected: FAIL

View file

@ -1,5 +1,5 @@
[iframe_sandbox_popups_escaping-2.html]
expected: TIMEOUT
expected: CRASH
[Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used]
expected: TIMEOUT

View file

@ -1,6 +1,6 @@
[iframe_sandbox_popups_nonescaping-1.html]
type: testharness
expected: CRASH
expected: TIMEOUT
[Check that popups from a sandboxed iframe do not escape the sandbox]
expected: FAIL
expected: NOTRUN

View file

@ -1,6 +1,6 @@
[iframe_sandbox_popups_nonescaping-2.html]
type: testharness
expected: TIMEOUT
expected: CRASH
[Check that popups from a sandboxed iframe do not escape the sandbox]
expected: NOTRUN

View file

@ -1,6 +1,5 @@
[iframe_sandbox_popups_nonescaping-3.html]
type: testharness
expected: TIMEOUT
[Check that popups from a sandboxed iframe do not escape the sandbox]
expected: NOTRUN
expected: FAIL

View file

@ -0,0 +1,4 @@
[form-double-submit-2.html]
[preventDefault should allow onclick submit() to succeed]
expected: FAIL

View file

@ -0,0 +1,4 @@
[form-double-submit-3.html]
[<button> should have the same double-submit protection as <input type=submit>]
expected: FAIL

View file

@ -1,4 +0,0 @@
[form-double-submit.html]
[default submit action should supersede onclick submit()]
expected: FAIL

View file

@ -12,3 +12,6 @@
[Check that rel=noopener with target=_parent does a normal load]
expected: FAIL
[Check that rel=noopener with target=_self does a normal load]
expected: FAIL

View file

@ -0,0 +1,4 @@
[module-delayed.html]
[async document.write in a module]
expected: FAIL

View file

@ -4,3 +4,6 @@
[The incumbent settings object while executing the compiled callback via Web IDL's invoke must be that of the node document]
expected: TIMEOUT
[The entry settings object while executing the compiled callback via Web IDL's invoke must be that of the node document]
expected: FAIL

View file

@ -473,3 +473,9 @@
[X Stitched sine-wave buffers at sample rate 43800 does not equal [0,0.06264832615852356,0.12505052983760834,0.18696144223213196,0.24813786149024963,0.308339387178421,0.36732959747314453,0.4248766601085663,0.480754554271698,0.5347436666488647,0.5866320133209229,0.6362156271934509,0.6832997798919678,0.7276994585990906,0.7692402601242065,0.8077589869499207...\] with an element-wise tolerance of {"absoluteThreshold":0.0038986,"relativeThreshold":0}.\n\tIndex\tActual\t\t\tExpected\t\tAbsError\t\tRelError\t\tTest threshold\n\t[28696\]\t2.7146387523941948e-32\t9.3139332532882690e-1\t9.3139332532882690e-1\t1.0000000000000000e+0\t3.8985999999999999e-3\n\t[28697\]\t7.0477002859115601e-1\t9.0675884485244751e-1\t2.0198881626129150e-1\t2.2275913536212616e-1\t3.8985999999999999e-3\n\tMax AbsError of 9.3139332532882690e-1 at index of 28696.\n\tMax RelError of 1.0000000000000000e+0 at index of 28696.\n]
expected: FAIL
[X Stitched sine-wave buffers at sample rate 43800 does not equal [0,0.06264832615852356,0.12505052983760834,0.18696144223213196,0.24813786149024963,0.308339387178421,0.36732959747314453,0.4248766601085663,0.480754554271698,0.5347436666488647,0.5866320133209229,0.6362156271934509,0.6832997798919678,0.7276994585990906,0.7692402601242065,0.8077589869499207...\] with an element-wise tolerance of {"absoluteThreshold":0.0038986,"relativeThreshold":0}.\n\tIndex\tActual\t\t\tExpected\t\tAbsError\t\tRelError\t\tTest threshold\n\t[28696\]\t2.1021796856075525e-3\t9.3139332532882690e-1\t9.2929114564321935e-1\t9.9774297321181105e-1\t3.8985999999999999e-3\n\t[28697\]\t7.0477002859115601e-1\t9.0675884485244751e-1\t2.0198881626129150e-1\t2.2275913536212616e-1\t3.8985999999999999e-3\n\tMax AbsError of 9.2929114564321935e-1 at index of 28696.\n\tMax RelError of 9.9774297321181105e-1 at index of 28696.\n]
expected: FAIL
[X SNR (43.842664034730205 dB) is not greater than or equal to 65.737. Got 43.842664034730205.]
expected: FAIL

View file

@ -1,5 +1,4 @@
[audiocontext-not-fully-active.html]
expected: TIMEOUT
[frame in navigated remote-site frame]
expected: FAIL

View file

@ -0,0 +1,5 @@
[017.html]
expected: TIMEOUT
[origin of the script that invoked the method, about:blank]
expected: TIMEOUT

View file

@ -0,0 +1,5 @@
[017.html]
expected: TIMEOUT
[origin of the script that invoked the method, about:blank]
expected: TIMEOUT

View file

@ -0,0 +1,5 @@
[018.html]
expected: TIMEOUT
[origin of the script that invoked the method, javascript:]
expected: TIMEOUT

View file

@ -1,2 +0,0 @@
[Worker-constructor.html]
expected: ERROR

View file

@ -1,9 +1,8 @@
// META: script=resources/util.js
async_test((t) => {
var iframe = document.createElement("iframe");
iframe.addEventListener('load', (e) => {
t.step(()=>{assert_equals(iframe.contentDocument.body.textContent, "FAIL");});
t.done();
});
iframe.src = "resources/echo-critical-hint.py";
iframe.src = ECHO_URL;
document.body.appendChild(iframe);
iframe.contentWindow.addEventListener('message', message_listener(t, "FAIL"));
}, "Critical-CH iframe");

View file

@ -1,10 +1,4 @@
// META: script=resources/util.js
// META: script=/common/utils.js
async_test((t) => {
var popup_window = window.open("resources/echo-critical-hint.py?mismatch=true&token="+token());
assert_not_equals(popup_window, null, "Popup windows not allowed?");
popup_window.addEventListener('load', (e) => {
t.step(()=>{assert_equals(popup_window.document.body.textContent, "1")});
t.done();
});
}, "Critical-CH navigation")
async_test(make_message_test(ECHO_URL+"?mismatch=true&token="+token(), "1"), "Critical-CH no restart on mismatched hints")

View file

@ -1,8 +1,3 @@
async_test((t) => {
var popup_window = window.open("resources/echo-critical-hint.py?mismatch=true");
assert_not_equals(popup_window, null, "Popup windows not allowed?");
popup_window.addEventListener('load', (e) => {
t.step(()=>{assert_equals(popup_window.document.body.textContent, "FAIL")});
t.done();
});
}, "Critical-CH navigation")
// META: script=resources/util.js
async_test(make_message_test(ECHO_URL+"?mismatch=true", "FAIL"), "Critical-CH Mis-matched hints")

View file

@ -1,8 +1,3 @@
async_test((t) => {
var popup_window = window.open("resources/echo-critical-hint.py");
assert_not_equals(popup_window, null, "Popup windows not allowed?");
popup_window.addEventListener('load', (e) => {
t.step(()=>{assert_equals(popup_window.document.body.textContent, "PASS")});
t.done();
});
}, "Critical-CH navigation")
// META: script=resources/util.js
async_test(make_message_test(ECHO_URL, "PASS"), "Critical-CH navigation")

View file

@ -1,8 +1,3 @@
async_test((t) => {
var popup_window = window.open("resources/echo-critical-hint.py");
assert_not_equals(popup_window, null, "Popup windows not allowed?");
popup_window.addEventListener('load', (e) => {
t.step(()=>{assert_equals(popup_window.document.body.textContent, "FAIL")});
t.done();
});
}, "Critical-CH non-secure navigation")
// META: script=resources/util.js
async_test(make_message_test(ECHO_URL, "FAIL"), "Critical-CH navigation non-secure")

View file

@ -1,10 +1,4 @@
// META: script=resources/util.js
// META: script=/common/utils.js
async_test((t) => {
var popup_window = window.open("resources/echo-critical-hint.py?token="+token());
assert_not_equals(popup_window, null, "Popup windows not allowed?");
popup_window.addEventListener('load', (e) => {
t.step(()=>{assert_equals(popup_window.document.body.textContent, "2")});
t.done();
});
}, "Critical-CH navigation")
async_test(make_message_test(ECHO_URL+"?token="+token(), "2"), "Critical-CH navigation restart")

View file

@ -40,4 +40,4 @@ def main(request, response):
if b"viewport-width" in request.headers:
result = "MISMATCH"
response.content = result
response.content = "<script>window.postMessage('{0}', '*')</script>".format(result)

View file

@ -0,0 +1,15 @@
ECHO_URL = "resources/echo-critical-hint.py"
message_listener = (t, message) =>
(e) => {
t.step(()=>{assert_equals(e.data, message)});
t.done();
}
make_message_test = (url, message) =>
(t) => {
popup_window = window.open("/common/blank.html");
assert_not_equals(popup_window, null, "Popup windows not allowed?");
popup_window.addEventListener('message', message_listener(t, message));
popup_window.location = url;
}

View file

@ -1,7 +1,10 @@
// META: script=resources/util.js
// META: script=/common/utils.js
promise_test(() =>
fetch("resources/echo-critical-hint.py")
.then((r) => r.text())
.then((r) => {
assert_equals(r, "FAIL");
assert_true(r.includes("FAIL"));
})
, "Critical-CH");
, "Critical-CH subresource fetch");

View file

@ -0,0 +1,23 @@
async_test((t) => {
// This test requires a navigation with a non-safe (i.e. non-GET) HTTP
// response, which the Critical-CH spec says to ignore. The most
// "straight-forward" way to do this in JS is by making a form with an
// unsafe method (e.g. POST) method and submit it.
// Build the form DOM element
var form = document.createElement("form");
form.setAttribute("method", "post");
form.setAttribute("action", "resources/echo-critical-hint.py");
form.setAttribute("target", "popup"); //don't navigate away from the page running the test...
document.body.appendChild(form);
var popup_window = window.open("/common/blank.html", "popup");
assert_not_equals(popup_window, null, "Popup windows not allowed?");
popup_window.addEventListener('message', (e) => {
t.step(()=>{assert_equals(e.data, "FAIL")});
t.done();
});
form.submit();
}, "Critical-CH unsafe method")

View file

@ -0,0 +1,33 @@
<!DOCTYPE html>
<link rel="author" title="David Grogan" href="mailto:dgrogan@chromium.org">
<link rel="help" href="https://drafts.csswg.org/css-flexbox/#transferred-size-suggestion">
<link rel="help" href="https://github.com/w3c/csswg-drafts/issues/5663">
<meta name="assert" content="Transferred size suggestion can get its cross size from stretching." />
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>
<body onload="checkLayout('img')">
<p>
Pass condition is 3 green 100x100 squares.
</p>
<p>
Firefox 84a1 passes. Chrome 87 fails them all by making the green rectangles be 200x100.
</p>
<p>Transferred size suggestion is the stretched 100px:</p>
<div style="display: flex; width: 0; height: 100px;">
<img src="support/200x200-green.png" data-expected-height=100 data-expected-width=100>
</div>
<p>Have to subtract the margin from the stretched height to get the transferred size suggestion:</p>
<div style="display: flex; width: 0; height: 120px;">
<img src="support/200x200-green.png" style="margin-bottom: 20px" data-expected-height=100 data-expected-width=100>
</div>
<p>Stretched transferred size suggestion has to obey min-height:</p>
<div style="display: flex; width: 0; height: 50px;">
<img src="support/200x200-green.png" style="min-height: 100px;" data-expected-height=100 data-expected-width=100>
</div>

View file

@ -0,0 +1,25 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Text level 3 Test: handling leading ideographic space sequence</title>
<link rel="author" title="Javier Fernandez Garcia-Boente" href="mailto:jfernandez@igalia.com">
<link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-phase-2">
<link rel="match" href="reference/full-width-leading-spaces-001-ref.html">
<meta name="assert" content="An ideographic space (U+3000) sequence at the beginning of the line must not be collapsed.">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<style>
div { font: 20px/1 Ahem; }
.test {
width: 5em;
color: green;
background: green;
}
.ref {
position: absolute;
z-index: -1;
color: red;
}
</style>
<p>Test passes if the characters below are arranged in a green rectangle and if there is no red.
<div class="ref">XXXXX</div>
<div class="test">&#x3000;&#x3000;&#x3000;XX</div>

View file

@ -0,0 +1,25 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Text level 3 Test: handling leading ideographic space sequence</title>
<link rel="author" title="Javier Fernandez Garcia-Boente" href="mailto:jfernandez@igalia.com">
<link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-phase-2">
<link rel="match" href="reference/white-space-break-spaces-005-ref.html">
<meta name="assert" content="An ideographic space (U+3000) sequence at the beginning of the line must not be collapsed.">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<style>
div { font: 50px/1 Ahem; }
.test {
width: 2em;
color: green;
background: green;
}
.ref {
position: absolute;
z-index: -1;
color: red;
}
</style>
<p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p>
<div class="ref">XX<br>XX</div>
<div class="test">&#x3000;&#x3000;XX</div>

View file

@ -0,0 +1,25 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Text level 3 Test: handling leading ideographic space sequence</title>
<link rel="author" title="Javier Fernandez Garcia-Boente" href="mailto:jfernandez@igalia.com">
<link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-phase-2">
<link rel="match" href="reference/white-space-break-spaces-005-ref.html">
<meta name="assert" content="An ideographic space (U+3000) sequence at the beginning of the line must not be collapsed.">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<style>
div { font: 50px/1 Ahem; }
.test {
width: 2em;
color: green;
background: green;
}
.ref {
position: absolute;
z-index: -1;
color: red;
}
</style>
<p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p>
<div class="ref">XX<br>XX</div>
<div class="test">&#x3000;&#x3000;XX</div>

View file

@ -0,0 +1,24 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Text level 3 Test: handling leading ideographic space sequence</title>
<link rel="author" title="Javier Fernandez Garcia-Boente" href="mailto:jfernandez@igalia.com">
<link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-phase-2">
<link rel="match" href="reference/white-space-break-spaces-005-ref.html">
<meta name="assert" content="Leading ideographic space sequences must account for intrinsic size.">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<style>
.ref {
width: 100px;
height: 100px;
background: red;
}
.test {
width: min-content;
font-size: 100px;
line-height: 1;
background: green;
}
</style>
<p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p>
<div class="ref"><div class="test">&#x03000;</div></div>

View file

@ -0,0 +1,25 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Text level 3 Test: handling leading ideographic space sequence</title>
<link rel="author" title="Javier Fernandez Garcia-Boente" href="mailto:jfernandez@igalia.com">
<link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-phase-2">
<link rel="match" href="reference/white-space-break-spaces-005-ref.html">
<meta name="assert" content="There is a breaking opportunity at the end of a leading ideographic space (U+3000) sequence.">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<style>
div { font: 50px/1 Ahem; }
.test {
width: 2em;
color: green;
background: green;
}
.ref {
position: absolute;
z-index: -1;
color: red;
}
</style>
<p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p>
<div class="ref">XX<br>XX</div>
<div class="test">&#x3000;&#x3000;XX</div>

View file

@ -0,0 +1,6 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS test reference</title>
<link rel="author" title="Javier Fernandez Garcia-Boente" href="mailto:jfernandez@igalia.com">
<p>Test passes if the characters below are arranged in a green rectangle and if there is no red.
<div style="width: 100px; height: 20px; background: green"></div>

View file

@ -0,0 +1,15 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS test reference</title>
<link rel="author" title="Javier Fernandez Garcia-Boente" href="mailto:jfernandez@igalia.com">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<style>
div {
font: 20px/1 Ahem;
white-space: pre;
}
span { background: blue; }
</style>
<p>Test passes if the characters below are arranged in a single line and if there is a blue square at the end of the first line.
<div>X X<span> </span></div>

View file

@ -0,0 +1,11 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS test reference</title>
<link rel="author" title="Javier Fernandez Garcia-Boente" href="mailto:jfernandez@igalia.com">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<style>
div { font: 20px/1 Ahem; }
</style>
<p>Test passes if the characters below are arranged in a square and if there is a blue rectangle at the end of the first line.
<div>X X<span>X</span></div>

View file

@ -9,6 +9,7 @@ div {
font: 25px/1 Ahem;
color: green;
}
span { color: blue; }
</style>
<p>This test passes if there is a green square and no red.

View file

@ -0,0 +1,17 @@
<!doctype html>
<meta charset=utf-8>
<title>CSS test Reference</title>
<link rel="author" title="Javier Fernandez" href="mailto:jfernandez@igalia.com" />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style>
div {
font: 25px/1 Ahem;
color: green;
}
span { color: blue; }
</style>
<p>This test passes if there is a green square and no red.
<div>XX<span>X</span><br>XX</div>

View file

@ -0,0 +1,27 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Text level 3 Test: sequences of spaces and ideographic spaces at the end of line must hang</title>
<link rel="author" title="Javier Fernandez Garcia-Boente" href="mailto:jfernandez@igalia.com"
<link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-phase-2">
<link rel="help" href="https://drafts.csswg.org/css-text-3/#valdef-white-space-normal">
<link rel="match" href="reference/trailing-ideographic-space-004-ref.html">
<link rel="match" href="reference/trailing-ideographic-space-alt-003-ref.html">
<meta name="assert" content="An sequence ideographic space (U+3000) and regular spaces at the end of the line must hang unconditionally .">
<style>
div {
width: 2.5em;
white-space: normal;
}
span { background: blue; } /* If the spaces are removed instead of hanging, there will be no blue box*/
</style>
<p>Test passes if the characters below are arranged in a square and if there is a blue rectangle at the end of the first line.
<div>ああ<span>&#x3000;&#x3000; &#x3000; &#x3000;</span>ああ</div>
<!--
We're using a 2.5em width and two references, instead of 2em and just the first one,
because in addition to requiring the spaces to hang,
the spec allows, but does not require, browsers to visually collapse the advance widths of characters that overflow.
In browsers that don't do that, the whole space will be visible, and the first ref will be matched.
In browsers that do, only the first 0.5em worth of space will be preserved, and the second ref will match.
-->

View file

@ -0,0 +1,27 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Text level 3 Test: sequences of spaces and ideographic spaces at the end of line must hang</title>
<link rel="author" title="Javier Fernandez Garcia-Boente" href="mailto:jfernandez@igalia.com"
<link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-phase-2">
<link rel="help" href="https://drafts.csswg.org/css-text-3/#valdef-white-space-normal">
<link rel="match" href="reference/trailing-ideographic-space-003-ref.html">
<link rel="match" href="reference/trailing-ideographic-space-alt-003-ref.html">
<meta name="assert" content="An ideographic space (U+3000) at the end of the line must unconditionally hang.">
<style>
div {
width: 2.5em;
white-space: normal;
}
span { background: blue; } /* If the space is removed instead of hanging, there will be no blue box*/
</style>
<p>Test passes if the characters below are arranged in a square and if there is a blue rectangle at the end of the first line.
<div>ああ<span>&#x3000;</span>ああ</div>
<!--
We're using a 2.5em width and two references, instead of 2em and just the first one,
because in addition to requiring the spaces to hang,
the spec allows, but does not require, browsers to visually collapse the advance widths of characters that overflow.
In browsers that don't do that, the whole sequence of preserved spaces will be visible, and the first ref will be matched.
In browsers that do, only the first 0.5em worth of space will be preserved, and the second ref will match.
-->

View file

@ -0,0 +1,27 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Text level 3 Test: sequences of spaces and ideographic spaces at the end of line must hang</title>
<link rel="author" title="Javier Fernandez Garcia-Boente" href="mailto:jfernandez@igalia.com"
<link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-phase-2">
<link rel="help" href="https://drafts.csswg.org/css-text-3/#valdef-white-space-nowrap">
<link rel="match" href="reference/trailing-ideographic-space-003-ref.html">
<link rel="match" href="reference/trailing-ideographic-space-alt-003-ref.html">
<meta name="assert" content="An ideographic space (U+3000) at the end of the line must unconditionally hang.">
<style>
div {
width: 2.5em;
white-space: nowrap;
}
span { background: blue; } /* If the space is removed instead of hanging, there will be no blue box*/
</style>
<p>Test passes if the characters below are arranged in a square and if there is a blue rectangle at the end of the first line.
<div>ああ<span>&#x3000;</span><br>ああ</div>
<!--
We're using a 2.5em width and two references, instead of 2em and just the first one,
because in addition to requiring the spaces to hang,
the spec allows, but does not require, browsers to visually collapse the advance widths of characters that overflow.
In browsers that don't do that, the whole sequence of preserved spaces will be visible, and the first ref will be matched.
In browsers that do, only the first 0.5em worth of space will be preserved, and the second ref will match.
-->

View file

@ -0,0 +1,27 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Text level 3 Test: sequences of spaces and ideographic spaces at the end of line must hang</title>
<link rel="author" title="Javier Fernandez Garcia-Boente" href="mailto:jfernandez@igalia.com"
<link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-phase-2">
<link rel="help" href="https://drafts.csswg.org/css-text-3/#valdef-white-space-pre-line">
<link rel="match" href="reference/trailing-ideographic-space-003-ref.html">
<link rel="match" href="reference/trailing-ideographic-space-alt-003-ref.html">
<meta name="assert" content="An ideographic space (U+3000) at the end of the line must unconditionally hang.">
<style>
div {
width: 2.5em;
white-space: pre-line;
}
span { background: blue; } /* If the space is removed instead of hanging, there will be no blue box*/
</style>
<p>Test passes if the characters below are arranged in a square and if there is a blue rectangle at the end of the first line.
<div>ああ<span>&#x3000;</span>ああ</div>
<!--
We're using a 2.5em width and two references, instead of 2em and just the first one,
because in addition to requiring the spaces to hang,
the spec allows, but does not require, browsers to visually collapse the advance widths of characters that overflow.
In browsers that don't do that, the whole sequence of preserved spaces will be visible, and the first ref will be matched.
In browsers that do, only the first 0.5em worth of space will be preserved, and the second ref will match.
-->

View file

@ -0,0 +1,27 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Text level 3 Test: sequences of spaces and ideographic spaces at the end of line must hang</title>
<link rel="author" title="Javier Fernandez Garcia-Boente" href="mailto:jfernandez@igalia.com"
<link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-phase-2">
<link rel="help" href="https://drafts.csswg.org/css-text-3/#valdef-white-space-nowrap">
<link rel="match" href="reference/trailing-ideographic-space-004-ref.html">
<link rel="match" href="reference/trailing-ideographic-space-alt-003-ref.html">
<meta name="assert" content="An sequence ideographic space (U+3000) and regular spaces at the end of the line must hang unconditionally .">
<style>
div {
width: 2.5em;
white-space: nowrap;
}
span { background: blue; } /* If the spaces are removed instead of hanging, there will be no blue box*/
</style>
<p>Test passes if the characters below are arranged in a square and if there is a blue rectangle at the end of the first line.
<div>ああ<span>&#x3000;&#x3000; &#x3000; &#x3000;</span><br>ああ</div>
<!--
We're using a 2.5em width and two references, instead of 2em and just the first one,
because in addition to requiring the spaces to hang,
the spec allows, but does not require, browsers to visually collapse the advance widths of characters that overflow.
In browsers that don't do that, the whole space will be visible, and the first ref will be matched.
In browsers that do, only the first 0.5em worth of space will be preserved, and the second ref will match.
-->

Some files were not shown because too many files have changed in this diff Show more