Auto merge of #28227 - servo-wpt-sync:wpt_update_01-03-2021, r=servo-wpt-sync

Sync WPT with upstream (01-03-2021)

Automated downstream sync of changes from upstream as of 01-03-2021.
[no-wpt-sync]
r? @servo-wpt-sync
This commit is contained in:
bors-servo 2021-03-01 07:24:05 -05:00 committed by GitHub
commit 970ab0348f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
73 changed files with 1569 additions and 221 deletions

View file

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

View file

@ -2,3 +2,6 @@
[Hit test intersecting scaled box]
expected: FAIL
[Hit test within unscaled box]
expected: FAIL

View file

@ -326,3 +326,303 @@
[margin-right length(mm) / values]
expected: FAIL
[margin-right length(cm) / values]
expected: FAIL
[margin-right length(in) / values]
expected: FAIL
[margin-top length(pt) / values]
expected: FAIL
[margin-top length(pc) / values]
expected: FAIL
[margin-top length(px) / values]
expected: FAIL
[margin-top length(em) / values]
expected: FAIL
[margin-top length(ex) / values]
expected: FAIL
[margin-top length(mm) / values]
expected: FAIL
[margin-top length(cm) / values]
expected: FAIL
[margin-top length(in) / values]
expected: FAIL
[height length(pt) / values]
expected: FAIL
[height length(pc) / values]
expected: FAIL
[height length(px) / values]
expected: FAIL
[height length(em) / values]
expected: FAIL
[height length(ex) / values]
expected: FAIL
[height length(mm) / values]
expected: FAIL
[height length(cm) / values]
expected: FAIL
[height length(in) / values]
expected: FAIL
[height percentage(%) / values]
expected: FAIL
[width length(pt) / values]
expected: FAIL
[width length(pc) / values]
expected: FAIL
[width length(px) / values]
expected: FAIL
[width length(em) / values]
expected: FAIL
[width length(ex) / values]
expected: FAIL
[width length(mm) / values]
expected: FAIL
[width length(cm) / values]
expected: FAIL
[width length(in) / values]
expected: FAIL
[width percentage(%) / values]
expected: FAIL
[min-height length(pt) / values]
expected: FAIL
[min-height length(pc) / values]
expected: FAIL
[min-height length(px) / values]
expected: FAIL
[min-height length(em) / values]
expected: FAIL
[min-height length(ex) / values]
expected: FAIL
[min-height length(mm) / values]
expected: FAIL
[min-height length(cm) / values]
expected: FAIL
[min-height length(in) / values]
expected: FAIL
[min-height percentage(%) / values]
expected: FAIL
[min-width length(pt) / values]
expected: FAIL
[min-width length(pc) / values]
expected: FAIL
[min-width length(px) / values]
expected: FAIL
[min-width length(em) / values]
expected: FAIL
[min-width length(ex) / values]
expected: FAIL
[min-width length(mm) / values]
expected: FAIL
[min-width length(cm) / values]
expected: FAIL
[min-width length(in) / values]
expected: FAIL
[min-width percentage(%) / values]
expected: FAIL
[max-height length(pt) / values]
expected: FAIL
[max-height length(pc) / values]
expected: FAIL
[max-height length(px) / values]
expected: FAIL
[max-height length(em) / values]
expected: FAIL
[color color(rgba) / values]
expected: FAIL
[font-size length(pt) / values]
expected: FAIL
[font-size length(pc) / values]
expected: FAIL
[font-size length(px) / values]
expected: FAIL
[font-size length(em) / values]
expected: FAIL
[font-size length(ex) / values]
expected: FAIL
[font-size length(mm) / values]
expected: FAIL
[font-size length(cm) / values]
expected: FAIL
[font-size length(in) / values]
expected: FAIL
[font-size percentage(%) / values]
expected: FAIL
[font-weight font-weight(keyword) / values]
expected: FAIL
[font-weight font-weight(numeric) / values]
expected: FAIL
[line-height number(integer) / values]
expected: FAIL
[line-height number(decimal) / values]
expected: FAIL
[line-height length(pt) / values]
expected: FAIL
[line-height length(pc) / values]
expected: FAIL
[line-height length(px) / values]
expected: FAIL
[line-height length(em) / values]
expected: FAIL
[line-height length(ex) / values]
expected: FAIL
[line-height length(mm) / values]
expected: FAIL
[line-height length(cm) / values]
expected: FAIL
[line-height length(in) / values]
expected: FAIL
[line-height percentage(%) / values]
expected: FAIL
[letter-spacing length(pt) / values]
expected: FAIL
[letter-spacing length(pc) / values]
expected: FAIL
[letter-spacing length(px) / values]
expected: FAIL
[letter-spacing length(em) / values]
expected: FAIL
[letter-spacing length(ex) / values]
expected: FAIL
[letter-spacing length(mm) / values]
expected: FAIL
[letter-spacing length(cm) / values]
expected: FAIL
[letter-spacing length(in) / values]
expected: FAIL
[word-spacing length(pt) / values]
expected: FAIL
[word-spacing length(pc) / values]
expected: FAIL
[word-spacing length(px) / values]
expected: FAIL
[word-spacing length(em) / values]
expected: FAIL
[word-spacing length(ex) / values]
expected: FAIL
[word-spacing length(mm) / values]
expected: FAIL
[word-spacing length(cm) / values]
expected: FAIL
[word-spacing length(in) / values]
expected: FAIL
[word-spacing percentage(%) / values]
expected: FAIL
[text-indent length(pt) / values]
expected: FAIL
[text-indent length(pc) / values]
expected: FAIL
[text-indent length(px) / values]
expected: FAIL
[text-indent length(em) / values]
expected: FAIL
[text-indent length(ex) / values]
expected: FAIL
[text-indent length(mm) / values]
expected: FAIL
[text-indent length(cm) / values]
expected: FAIL
[text-indent length(in) / values]
expected: FAIL
[text-indent percentage(%) / values]
expected: FAIL
[text-shadow shadow(shadow) / values]
expected: FAIL

View file

@ -326,3 +326,303 @@
[margin-right length(mm) / values]
expected: FAIL
[margin-right length(cm) / values]
expected: FAIL
[margin-right length(in) / values]
expected: FAIL
[margin-top length(pt) / values]
expected: FAIL
[margin-top length(pc) / values]
expected: FAIL
[margin-top length(px) / values]
expected: FAIL
[margin-top length(em) / values]
expected: FAIL
[margin-top length(ex) / values]
expected: FAIL
[margin-top length(mm) / values]
expected: FAIL
[margin-top length(cm) / values]
expected: FAIL
[margin-top length(in) / values]
expected: FAIL
[height length(pt) / values]
expected: FAIL
[height length(pc) / values]
expected: FAIL
[height length(px) / values]
expected: FAIL
[height length(em) / values]
expected: FAIL
[height length(ex) / values]
expected: FAIL
[height length(mm) / values]
expected: FAIL
[height length(cm) / values]
expected: FAIL
[height length(in) / values]
expected: FAIL
[height percentage(%) / values]
expected: FAIL
[width length(pt) / values]
expected: FAIL
[width length(pc) / values]
expected: FAIL
[width length(px) / values]
expected: FAIL
[width length(em) / values]
expected: FAIL
[width length(ex) / values]
expected: FAIL
[width length(mm) / values]
expected: FAIL
[width length(cm) / values]
expected: FAIL
[width length(in) / values]
expected: FAIL
[width percentage(%) / values]
expected: FAIL
[min-height length(pt) / values]
expected: FAIL
[min-height length(pc) / values]
expected: FAIL
[min-height length(px) / values]
expected: FAIL
[min-height length(em) / values]
expected: FAIL
[min-height length(ex) / values]
expected: FAIL
[min-height length(mm) / values]
expected: FAIL
[min-height length(cm) / values]
expected: FAIL
[min-height length(in) / values]
expected: FAIL
[min-height percentage(%) / values]
expected: FAIL
[min-width length(pt) / values]
expected: FAIL
[min-width length(pc) / values]
expected: FAIL
[min-width length(px) / values]
expected: FAIL
[min-width length(em) / values]
expected: FAIL
[min-width length(ex) / values]
expected: FAIL
[min-width length(mm) / values]
expected: FAIL
[min-width length(cm) / values]
expected: FAIL
[min-width length(in) / values]
expected: FAIL
[min-width percentage(%) / values]
expected: FAIL
[max-height length(pt) / values]
expected: FAIL
[max-height length(pc) / values]
expected: FAIL
[max-height length(px) / values]
expected: FAIL
[max-height length(em) / values]
expected: FAIL
[color color(rgba) / values]
expected: FAIL
[font-size length(pt) / values]
expected: FAIL
[font-size length(pc) / values]
expected: FAIL
[font-size length(px) / values]
expected: FAIL
[font-size length(em) / values]
expected: FAIL
[font-size length(ex) / values]
expected: FAIL
[font-size length(mm) / values]
expected: FAIL
[font-size length(cm) / values]
expected: FAIL
[font-size length(in) / values]
expected: FAIL
[font-size percentage(%) / values]
expected: FAIL
[font-weight font-weight(keyword) / values]
expected: FAIL
[font-weight font-weight(numeric) / values]
expected: FAIL
[line-height number(integer) / values]
expected: FAIL
[line-height number(decimal) / values]
expected: FAIL
[line-height length(pt) / values]
expected: FAIL
[line-height length(pc) / values]
expected: FAIL
[line-height length(px) / values]
expected: FAIL
[line-height length(em) / values]
expected: FAIL
[line-height length(ex) / values]
expected: FAIL
[line-height length(mm) / values]
expected: FAIL
[line-height length(cm) / values]
expected: FAIL
[line-height length(in) / values]
expected: FAIL
[line-height percentage(%) / values]
expected: FAIL
[letter-spacing length(pt) / values]
expected: FAIL
[letter-spacing length(pc) / values]
expected: FAIL
[letter-spacing length(px) / values]
expected: FAIL
[letter-spacing length(em) / values]
expected: FAIL
[letter-spacing length(ex) / values]
expected: FAIL
[letter-spacing length(mm) / values]
expected: FAIL
[letter-spacing length(cm) / values]
expected: FAIL
[letter-spacing length(in) / values]
expected: FAIL
[word-spacing length(pt) / values]
expected: FAIL
[word-spacing length(pc) / values]
expected: FAIL
[word-spacing length(px) / values]
expected: FAIL
[word-spacing length(em) / values]
expected: FAIL
[word-spacing length(ex) / values]
expected: FAIL
[word-spacing length(mm) / values]
expected: FAIL
[word-spacing length(cm) / values]
expected: FAIL
[word-spacing length(in) / values]
expected: FAIL
[word-spacing percentage(%) / values]
expected: FAIL
[text-indent length(pt) / values]
expected: FAIL
[text-indent length(pc) / values]
expected: FAIL
[text-indent length(px) / values]
expected: FAIL
[text-indent length(em) / values]
expected: FAIL
[text-indent length(ex) / values]
expected: FAIL
[text-indent length(mm) / values]
expected: FAIL
[text-indent length(cm) / values]
expected: FAIL
[text-indent length(in) / values]
expected: FAIL
[text-indent percentage(%) / values]
expected: FAIL
[text-shadow shadow(shadow) / values]
expected: FAIL

View file

@ -17,6 +17,3 @@
[test the top of layer]
expected: FAIL
[test some point of the element: top left corner]
expected: FAIL

View file

@ -309,24 +309,12 @@
[Response: combined response Content-Type: text/html;" \\" text/plain ";charset=GBK]
expected: NOTRUN
[<iframe>: combined response Content-Type: text/html;" \\" text/plain]
expected: FAIL
[<iframe>: combined response Content-Type: text/html;" text/plain]
expected: FAIL
[<iframe>: separate response Content-Type: text/plain */*]
expected: FAIL
[<iframe>: combined response Content-Type: text/html */*]
expected: FAIL
[<iframe>: separate response Content-Type: text/plain */*;charset=gbk]
expected: FAIL
[<iframe>: combined response Content-Type: text/html */*;charset=gbk]
expected: FAIL
[<iframe>: separate response Content-Type: text/html;x=" text/plain]
expected: FAIL
[<iframe>: combined response Content-Type: */* text/html]
expected: FAIL

View file

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

View file

@ -1,4 +1,4 @@
[traverse_the_history_3.html]
[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 +1,5 @@
[embedded-opener-remove-frame.html]
expected: CRASH
[opener of discarded nested browsing context]
expected: FAIL

View file

@ -0,0 +1,7 @@
[document-with-fragment-empty.html]
[Autofocus elements in iframed documents with empty fragments should work.]
expected: FAIL
[Autofocus elements in top-level browsing context's documents with empty fragments should work.]
expected: FAIL

View file

@ -0,0 +1,7 @@
[document-with-fragment-nonexistent.html]
[Autofocus elements in iframed documents with non-existent fragments should work.]
expected: FAIL
[Autofocus elements in top-level browsing context's documents with non-existent fragments should work.]
expected: FAIL

View file

@ -0,0 +1,7 @@
[document-with-fragment-top.html]
[Autofocus elements in iframed documents with "top" fragments should work.]
expected: FAIL
[Autofocus elements in top-level browsing context's documents with "top" fragments should work.]
expected: FAIL

View file

@ -0,0 +1,7 @@
[document-with-fragment-valid.html]
[Autofocus elements in iframed documents with URL fragments should be skipped.]
expected: FAIL
[Autofocus elements in top-level browsing context's documents with URL fragments should be skipped.]
expected: FAIL

View file

@ -1,5 +1,4 @@
[supported-elements.html]
expected: TIMEOUT
[Contenteditable element should support autofocus]
expected: FAIL
@ -10,7 +9,7 @@
expected: FAIL
[Area element should support autofocus]
expected: TIMEOUT
expected: FAIL
[Host element with delegatesFocus should support autofocus]
expected: FAIL

View file

@ -1,5 +1,5 @@
[iframe_sandbox_popups_escaping-1.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: NOTRUN

View file

@ -1,5 +1,5 @@
[iframe_sandbox_popups_nonescaping-2.html]
expected: CRASH
expected: TIMEOUT
[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: CRASH
[Check that popups from a sandboxed iframe do not escape the sandbox]
expected: FAIL

View file

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

View file

@ -1,22 +1,4 @@
[select-event.html]
[input type url: setRangeText() a second time (must not fire select)]
expected: FAIL
[input type text: selectionEnd out of range a second time (must not fire select)]
expected: FAIL
[input type password: selectionEnd out of range a second time (must not fire select)]
expected: FAIL
[textarea: selectionEnd a second time (must not fire select)]
expected: FAIL
[textarea: setRangeText() a second time (must not fire select)]
expected: FAIL
[input type text: setSelectionRange() a second time (must not fire select)]
expected: FAIL
[input type text: selectionStart out of range a second time (must not fire select)]
expected: FAIL
@ -38,48 +20,63 @@
[textarea: selectionStart out of range a second time (must not fire select)]
expected: FAIL
[input type text: selectionEnd a second time (must not fire select)]
expected: FAIL
[input type text: selectionDirection a second time (must not fire select)]
expected: FAIL
[input type search: selectionStart a second time (must not fire select)]
expected: FAIL
[input type search: setSelectionRange() a second time (must not fire select)]
expected: FAIL
[input type search: selectionStart out of range a second time (must not fire select)]
expected: FAIL
[input type search: setSelectionRange out of range a second time (must not fire select)]
expected: FAIL
[input type tel: select() a second time (must not fire select)]
expected: FAIL
[input type tel: selectionStart a second time (must not fire select)]
expected: FAIL
[input type tel: setRangeText() a second time (must not fire select)]
expected: FAIL
[input type url: selectionEnd a second time (must not fire select)]
expected: FAIL
[input type url: selectionDirection a second time (must not fire select)]
expected: FAIL
[input type url: selectionStart out of range a second time (must not fire select)]
expected: FAIL
[input type password: select() a second time (must not fire select)]
expected: FAIL
[input type password: selectionDirection a second time (must not fire select)]
expected: FAIL
[input type password: selectionStart out of range a second time (must not fire select)]
expected: FAIL
[textarea: setSelectionRange() a second time (must not fire select)]
expected: FAIL
[textarea: selectionEnd out of range a second time (must not fire select)]
expected: FAIL
[input type text: selectionStart a second time (must not fire select)]
expected: FAIL
[input type text: setSelectionRange out of range a second time (must not fire select)]
expected: FAIL
[input type search: setRangeText() a second time (must not fire select)]
expected: FAIL
[input type tel: selectionDirection a second time (must not fire select)]
expected: FAIL
[input type tel: setSelectionRange() a second time (must not fire select)]
expected: FAIL
[input type tel: setSelectionRange out of range a second time (must not fire select)]
expected: FAIL
[input type url: selectionStart a second time (must not fire select)]
expected: FAIL
[input type url: setSelectionRange out of range a second time (must not fire select)]
expected: FAIL
[input type password: setSelectionRange() a second time (must not fire select)]
expected: FAIL
[input type password: setRangeText() a second time (must not fire select)]
expected: FAIL
[input type password: setSelectionRange out of range a second time (must not fire select)]
expected: FAIL

View file

@ -1,4 +1,5 @@
[htmlanchorelement_noopener.html]
expected: TIMEOUT
[Check that targeting of rel=noopener with a given name reuses an existing window with that name]
expected: FAIL
@ -9,5 +10,5 @@
expected: FAIL
[Check that rel=noopener with target=_self does a normal load]
expected: FAIL
expected: NOTRUN

View file

@ -0,0 +1,2 @@
[script-onerror-insertion-point-2.html]
expected: TIMEOUT

View file

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

View file

@ -3,6 +3,3 @@
[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

@ -1,4 +1,5 @@
[realtimeanalyser-fft-scaling.html]
expected: TIMEOUT
[X 2048-point FFT peak position is not equal to 64. Got 0.]
expected: FAIL

View file

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

View file

@ -2,6 +2,3 @@
[test_element_in_object]
expected: FAIL
[test_element_in_collection]
expected: FAIL

View file

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

View file

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

View file

@ -1,5 +1,4 @@
[import-in-moduleworker.html]
expected: ERROR
[Base URL in module dedicated workers: import]
expected: FAIL

View file

@ -432756,7 +432756,7 @@
]
},
"appearance-cssom-001.html": [
"2f0644093ea7b7d99581f2fae13d2203b961adf0",
"49b4e1c68d02d5df8831bedc7945bb7463915652",
[
null,
{}
@ -492571,6 +492571,34 @@
{}
]
],
"document-with-fragment-empty.html": [
"ec9d16d4981f3993b7309081709540dc7ac099c8",
[
null,
{}
]
],
"document-with-fragment-nonexistent.html": [
"3f2dcc41679836bc7f7339e088034df877962075",
[
null,
{}
]
],
"document-with-fragment-top.html": [
"ea3cc41f81b3f32d7f0ee14054fc7d72f3e774f2",
[
null,
{}
]
],
"document-with-fragment-valid.html": [
"daf6150c43f778325ea131b21e986edc44777654",
[
null,
{}
]
],
"first-reconnected.html": [
"99ee9198d1b0a39605ee7115ba71b1178e815943",
[
@ -492644,7 +492672,7 @@
]
],
"same-origin-autofocus.html": [
"6e67aa6c0d39aa8e5ffe3fc513e04f9edd683f45",
"1497a7d6586676596c7e4880d33fb79df02ce507",
[
null,
{
@ -492659,13 +492687,6 @@
{}
]
],
"skip-document-with-fragment.html": [
"a4301e13516634e9fc09d1b8084091a2697b1f24",
[
null,
{}
]
],
"skip-non-focusable.html": [
"008371d8e163fbdec937e29435fe61dffd520cde",
[
@ -521839,9 +521860,21 @@
]
],
"pointerevent_boundary_events_in_capturing.html": [
"3d2ff7079b82decb8779ed6c5040180de19c963f",
"893c7fdead6c850c6cf81d1b9d58b3b0ae51886f",
[
null,
"pointerevents/pointerevent_boundary_events_in_capturing.html?mouse",
{
"testdriver": true
}
],
[
"pointerevents/pointerevent_boundary_events_in_capturing.html?pen",
{
"testdriver": true
}
],
[
"pointerevents/pointerevent_boundary_events_in_capturing.html?touch",
{
"testdriver": true
}

View file

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

View file

@ -2,3 +2,6 @@
[Hit test intersecting scaled box]
expected: FAIL
[Hit test within unscaled box]
expected: FAIL

View file

@ -326,3 +326,303 @@
[margin-right length(mm) / values]
expected: FAIL
[margin-right length(cm) / values]
expected: FAIL
[margin-right length(in) / values]
expected: FAIL
[margin-top length(pt) / values]
expected: FAIL
[margin-top length(pc) / values]
expected: FAIL
[margin-top length(px) / values]
expected: FAIL
[margin-top length(em) / values]
expected: FAIL
[margin-top length(ex) / values]
expected: FAIL
[margin-top length(mm) / values]
expected: FAIL
[margin-top length(cm) / values]
expected: FAIL
[margin-top length(in) / values]
expected: FAIL
[height length(pt) / values]
expected: FAIL
[height length(pc) / values]
expected: FAIL
[height length(px) / values]
expected: FAIL
[height length(em) / values]
expected: FAIL
[height length(ex) / values]
expected: FAIL
[height length(mm) / values]
expected: FAIL
[height length(cm) / values]
expected: FAIL
[height length(in) / values]
expected: FAIL
[height percentage(%) / values]
expected: FAIL
[width length(pt) / values]
expected: FAIL
[width length(pc) / values]
expected: FAIL
[width length(px) / values]
expected: FAIL
[width length(em) / values]
expected: FAIL
[width length(ex) / values]
expected: FAIL
[width length(mm) / values]
expected: FAIL
[width length(cm) / values]
expected: FAIL
[width length(in) / values]
expected: FAIL
[width percentage(%) / values]
expected: FAIL
[min-height length(pt) / values]
expected: FAIL
[min-height length(pc) / values]
expected: FAIL
[min-height length(px) / values]
expected: FAIL
[min-height length(em) / values]
expected: FAIL
[min-height length(ex) / values]
expected: FAIL
[min-height length(mm) / values]
expected: FAIL
[min-height length(cm) / values]
expected: FAIL
[min-height length(in) / values]
expected: FAIL
[min-height percentage(%) / values]
expected: FAIL
[min-width length(pt) / values]
expected: FAIL
[min-width length(pc) / values]
expected: FAIL
[min-width length(px) / values]
expected: FAIL
[min-width length(em) / values]
expected: FAIL
[min-width length(ex) / values]
expected: FAIL
[min-width length(mm) / values]
expected: FAIL
[min-width length(cm) / values]
expected: FAIL
[min-width length(in) / values]
expected: FAIL
[min-width percentage(%) / values]
expected: FAIL
[max-height length(pt) / values]
expected: FAIL
[max-height length(pc) / values]
expected: FAIL
[max-height length(px) / values]
expected: FAIL
[max-height length(em) / values]
expected: FAIL
[color color(rgba) / values]
expected: FAIL
[font-size length(pt) / values]
expected: FAIL
[font-size length(pc) / values]
expected: FAIL
[font-size length(px) / values]
expected: FAIL
[font-size length(em) / values]
expected: FAIL
[font-size length(ex) / values]
expected: FAIL
[font-size length(mm) / values]
expected: FAIL
[font-size length(cm) / values]
expected: FAIL
[font-size length(in) / values]
expected: FAIL
[font-size percentage(%) / values]
expected: FAIL
[font-weight font-weight(keyword) / values]
expected: FAIL
[font-weight font-weight(numeric) / values]
expected: FAIL
[line-height number(integer) / values]
expected: FAIL
[line-height number(decimal) / values]
expected: FAIL
[line-height length(pt) / values]
expected: FAIL
[line-height length(pc) / values]
expected: FAIL
[line-height length(px) / values]
expected: FAIL
[line-height length(em) / values]
expected: FAIL
[line-height length(ex) / values]
expected: FAIL
[line-height length(mm) / values]
expected: FAIL
[line-height length(cm) / values]
expected: FAIL
[line-height length(in) / values]
expected: FAIL
[line-height percentage(%) / values]
expected: FAIL
[letter-spacing length(pt) / values]
expected: FAIL
[letter-spacing length(pc) / values]
expected: FAIL
[letter-spacing length(px) / values]
expected: FAIL
[letter-spacing length(em) / values]
expected: FAIL
[letter-spacing length(ex) / values]
expected: FAIL
[letter-spacing length(mm) / values]
expected: FAIL
[letter-spacing length(cm) / values]
expected: FAIL
[letter-spacing length(in) / values]
expected: FAIL
[word-spacing length(pt) / values]
expected: FAIL
[word-spacing length(pc) / values]
expected: FAIL
[word-spacing length(px) / values]
expected: FAIL
[word-spacing length(em) / values]
expected: FAIL
[word-spacing length(ex) / values]
expected: FAIL
[word-spacing length(mm) / values]
expected: FAIL
[word-spacing length(cm) / values]
expected: FAIL
[word-spacing length(in) / values]
expected: FAIL
[word-spacing percentage(%) / values]
expected: FAIL
[text-indent length(pt) / values]
expected: FAIL
[text-indent length(pc) / values]
expected: FAIL
[text-indent length(px) / values]
expected: FAIL
[text-indent length(em) / values]
expected: FAIL
[text-indent length(ex) / values]
expected: FAIL
[text-indent length(mm) / values]
expected: FAIL
[text-indent length(cm) / values]
expected: FAIL
[text-indent length(in) / values]
expected: FAIL
[text-indent percentage(%) / values]
expected: FAIL
[text-shadow shadow(shadow) / values]
expected: FAIL

View file

@ -326,3 +326,303 @@
[margin-right length(mm) / values]
expected: FAIL
[margin-right length(cm) / values]
expected: FAIL
[margin-right length(in) / values]
expected: FAIL
[margin-top length(pt) / values]
expected: FAIL
[margin-top length(pc) / values]
expected: FAIL
[margin-top length(px) / values]
expected: FAIL
[margin-top length(em) / values]
expected: FAIL
[margin-top length(ex) / values]
expected: FAIL
[margin-top length(mm) / values]
expected: FAIL
[margin-top length(cm) / values]
expected: FAIL
[margin-top length(in) / values]
expected: FAIL
[height length(pt) / values]
expected: FAIL
[height length(pc) / values]
expected: FAIL
[height length(px) / values]
expected: FAIL
[height length(em) / values]
expected: FAIL
[height length(ex) / values]
expected: FAIL
[height length(mm) / values]
expected: FAIL
[height length(cm) / values]
expected: FAIL
[height length(in) / values]
expected: FAIL
[height percentage(%) / values]
expected: FAIL
[width length(pt) / values]
expected: FAIL
[width length(pc) / values]
expected: FAIL
[width length(px) / values]
expected: FAIL
[width length(em) / values]
expected: FAIL
[width length(ex) / values]
expected: FAIL
[width length(mm) / values]
expected: FAIL
[width length(cm) / values]
expected: FAIL
[width length(in) / values]
expected: FAIL
[width percentage(%) / values]
expected: FAIL
[min-height length(pt) / values]
expected: FAIL
[min-height length(pc) / values]
expected: FAIL
[min-height length(px) / values]
expected: FAIL
[min-height length(em) / values]
expected: FAIL
[min-height length(ex) / values]
expected: FAIL
[min-height length(mm) / values]
expected: FAIL
[min-height length(cm) / values]
expected: FAIL
[min-height length(in) / values]
expected: FAIL
[min-height percentage(%) / values]
expected: FAIL
[min-width length(pt) / values]
expected: FAIL
[min-width length(pc) / values]
expected: FAIL
[min-width length(px) / values]
expected: FAIL
[min-width length(em) / values]
expected: FAIL
[min-width length(ex) / values]
expected: FAIL
[min-width length(mm) / values]
expected: FAIL
[min-width length(cm) / values]
expected: FAIL
[min-width length(in) / values]
expected: FAIL
[min-width percentage(%) / values]
expected: FAIL
[max-height length(pt) / values]
expected: FAIL
[max-height length(pc) / values]
expected: FAIL
[max-height length(px) / values]
expected: FAIL
[max-height length(em) / values]
expected: FAIL
[color color(rgba) / values]
expected: FAIL
[font-size length(pt) / values]
expected: FAIL
[font-size length(pc) / values]
expected: FAIL
[font-size length(px) / values]
expected: FAIL
[font-size length(em) / values]
expected: FAIL
[font-size length(ex) / values]
expected: FAIL
[font-size length(mm) / values]
expected: FAIL
[font-size length(cm) / values]
expected: FAIL
[font-size length(in) / values]
expected: FAIL
[font-size percentage(%) / values]
expected: FAIL
[font-weight font-weight(keyword) / values]
expected: FAIL
[font-weight font-weight(numeric) / values]
expected: FAIL
[line-height number(integer) / values]
expected: FAIL
[line-height number(decimal) / values]
expected: FAIL
[line-height length(pt) / values]
expected: FAIL
[line-height length(pc) / values]
expected: FAIL
[line-height length(px) / values]
expected: FAIL
[line-height length(em) / values]
expected: FAIL
[line-height length(ex) / values]
expected: FAIL
[line-height length(mm) / values]
expected: FAIL
[line-height length(cm) / values]
expected: FAIL
[line-height length(in) / values]
expected: FAIL
[line-height percentage(%) / values]
expected: FAIL
[letter-spacing length(pt) / values]
expected: FAIL
[letter-spacing length(pc) / values]
expected: FAIL
[letter-spacing length(px) / values]
expected: FAIL
[letter-spacing length(em) / values]
expected: FAIL
[letter-spacing length(ex) / values]
expected: FAIL
[letter-spacing length(mm) / values]
expected: FAIL
[letter-spacing length(cm) / values]
expected: FAIL
[letter-spacing length(in) / values]
expected: FAIL
[word-spacing length(pt) / values]
expected: FAIL
[word-spacing length(pc) / values]
expected: FAIL
[word-spacing length(px) / values]
expected: FAIL
[word-spacing length(em) / values]
expected: FAIL
[word-spacing length(ex) / values]
expected: FAIL
[word-spacing length(mm) / values]
expected: FAIL
[word-spacing length(cm) / values]
expected: FAIL
[word-spacing length(in) / values]
expected: FAIL
[word-spacing percentage(%) / values]
expected: FAIL
[text-indent length(pt) / values]
expected: FAIL
[text-indent length(pc) / values]
expected: FAIL
[text-indent length(px) / values]
expected: FAIL
[text-indent length(em) / values]
expected: FAIL
[text-indent length(ex) / values]
expected: FAIL
[text-indent length(mm) / values]
expected: FAIL
[text-indent length(cm) / values]
expected: FAIL
[text-indent length(in) / values]
expected: FAIL
[text-indent percentage(%) / values]
expected: FAIL
[text-shadow shadow(shadow) / values]
expected: FAIL

View file

@ -21,6 +21,3 @@
[test the top of layer]
expected: FAIL
[test some point of the element: top left corner]
expected: FAIL

View file

@ -309,24 +309,12 @@
[fetch(): separate response Content-Type: text/plain ]
expected: NOTRUN
[<iframe>: combined response Content-Type: text/html;" \\" text/plain]
expected: FAIL
[<iframe>: combined response Content-Type: text/html;" text/plain]
expected: FAIL
[<iframe>: separate response Content-Type: text/plain */*]
expected: FAIL
[<iframe>: combined response Content-Type: text/html */*]
expected: FAIL
[<iframe>: separate response Content-Type: text/plain */*;charset=gbk]
expected: FAIL
[<iframe>: combined response Content-Type: text/html */*;charset=gbk]
expected: FAIL
[<iframe>: separate response Content-Type: text/html;x=" text/plain]
expected: FAIL
[<iframe>: combined response Content-Type: */* text/html]
expected: FAIL

View file

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

View file

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

View file

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

View file

@ -1,4 +1,4 @@
[traverse_the_history_4.html]
[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 +1,5 @@
[embedded-opener-remove-frame.html]
expected: CRASH
[opener and "removed" embedded documents]
expected: FAIL

View file

@ -0,0 +1,7 @@
[document-with-fragment-empty.html]
[Autofocus elements in iframed documents with empty fragments should work.]
expected: FAIL
[Autofocus elements in top-level browsing context's documents with empty fragments should work.]
expected: FAIL

View file

@ -0,0 +1,7 @@
[document-with-fragment-nonexistent.html]
[Autofocus elements in iframed documents with non-existent fragments should work.]
expected: FAIL
[Autofocus elements in top-level browsing context's documents with non-existent fragments should work.]
expected: FAIL

View file

@ -0,0 +1,7 @@
[document-with-fragment-top.html]
[Autofocus elements in iframed documents with "top" fragments should work.]
expected: FAIL
[Autofocus elements in top-level browsing context's documents with "top" fragments should work.]
expected: FAIL

View file

@ -0,0 +1,7 @@
[document-with-fragment-valid.html]
[Autofocus elements in iframed documents with URL fragments should be skipped.]
expected: FAIL
[Autofocus elements in top-level browsing context's documents with URL fragments should be skipped.]
expected: FAIL

View file

@ -1,4 +0,0 @@
[skip-document-with-fragment.html]
[Autofocus elements in iframed documents with URL fragments should be skipped.]
expected: FAIL

View file

@ -1,5 +1,4 @@
[supported-elements.html]
expected: TIMEOUT
[Contenteditable element should support autofocus]
expected: FAIL
@ -10,7 +9,7 @@
expected: FAIL
[Area element should support autofocus]
expected: TIMEOUT
expected: FAIL
[Host element with delegatesFocus should support autofocus]
expected: FAIL

View file

@ -1,6 +1,6 @@
[iframe_sandbox_popups_escaping-1.html]
type: testharness
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: NOTRUN

View file

@ -1,6 +1,6 @@
[iframe_sandbox_popups_nonescaping-2.html]
type: testharness
expected: CRASH
expected: TIMEOUT
[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: CRASH
[Check that popups from a sandboxed iframe do not escape the sandbox]
expected: FAIL

View file

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

View file

@ -1,22 +1,4 @@
[select-event.html]
[input type url: setRangeText() a second time (must not fire select)]
expected: FAIL
[input type text: selectionEnd out of range a second time (must not fire select)]
expected: FAIL
[input type password: selectionEnd out of range a second time (must not fire select)]
expected: FAIL
[textarea: selectionEnd a second time (must not fire select)]
expected: FAIL
[textarea: setRangeText() a second time (must not fire select)]
expected: FAIL
[input type text: setSelectionRange() a second time (must not fire select)]
expected: FAIL
[input type text: selectionStart out of range a second time (must not fire select)]
expected: FAIL
@ -38,48 +20,63 @@
[textarea: selectionStart out of range a second time (must not fire select)]
expected: FAIL
[input type text: selectionEnd a second time (must not fire select)]
expected: FAIL
[input type text: selectionDirection a second time (must not fire select)]
expected: FAIL
[input type search: selectionStart a second time (must not fire select)]
expected: FAIL
[input type search: setSelectionRange() a second time (must not fire select)]
expected: FAIL
[input type search: selectionStart out of range a second time (must not fire select)]
expected: FAIL
[input type search: setSelectionRange out of range a second time (must not fire select)]
expected: FAIL
[input type tel: select() a second time (must not fire select)]
expected: FAIL
[input type tel: selectionStart a second time (must not fire select)]
expected: FAIL
[input type tel: setRangeText() a second time (must not fire select)]
expected: FAIL
[input type url: selectionEnd a second time (must not fire select)]
expected: FAIL
[input type url: selectionDirection a second time (must not fire select)]
expected: FAIL
[input type url: selectionStart out of range a second time (must not fire select)]
expected: FAIL
[input type password: select() a second time (must not fire select)]
expected: FAIL
[input type password: selectionDirection a second time (must not fire select)]
expected: FAIL
[input type password: selectionStart out of range a second time (must not fire select)]
expected: FAIL
[textarea: setSelectionRange() a second time (must not fire select)]
expected: FAIL
[textarea: selectionEnd out of range a second time (must not fire select)]
expected: FAIL
[input type text: selectionStart a second time (must not fire select)]
expected: FAIL
[input type text: setSelectionRange out of range a second time (must not fire select)]
expected: FAIL
[input type search: setRangeText() a second time (must not fire select)]
expected: FAIL
[input type tel: selectionDirection a second time (must not fire select)]
expected: FAIL
[input type tel: setSelectionRange() a second time (must not fire select)]
expected: FAIL
[input type tel: setSelectionRange out of range a second time (must not fire select)]
expected: FAIL
[input type url: selectionStart a second time (must not fire select)]
expected: FAIL
[input type url: setSelectionRange out of range a second time (must not fire select)]
expected: FAIL
[input type password: setSelectionRange() a second time (must not fire select)]
expected: FAIL
[input type password: setRangeText() a second time (must not fire select)]
expected: FAIL
[input type password: setSelectionRange out of range a second time (must not fire select)]
expected: FAIL

View file

@ -1,5 +1,6 @@
[htmlanchorelement_noopener.html]
type: testharness
expected: TIMEOUT
[Check that targeting of rel=noopener with a given name ignores an existing window with that name]
expected: NOTRUN
@ -13,5 +14,5 @@
expected: FAIL
[Check that rel=noopener with target=_self does a normal load]
expected: FAIL
expected: NOTRUN

View file

@ -0,0 +1,2 @@
[script-onerror-insertion-point-2.html]
expected: TIMEOUT

View file

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

View file

@ -4,6 +4,3 @@
[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

@ -1,4 +1,5 @@
[realtimeanalyser-fft-scaling.html]
expected: TIMEOUT
[X 2048-point FFT peak position is not equal to 64. Got 0.]
expected: FAIL

View file

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

View file

@ -2,6 +2,3 @@
[test_element_in_object]
expected: FAIL
[test_element_in_collection]
expected: FAIL

View file

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

View file

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

View file

@ -1,5 +1,4 @@
[import-in-moduleworker.html]
expected: ERROR
[Base URL in module dedicated workers: import]
expected: FAIL

View file

@ -42,6 +42,9 @@
assert_style_for_prop(button.style, prop, value);
const style = getComputedStyle(button);
assert_style_for_prop(style, prop, value);
button.style.setProperty('background-color', 'black');
assert_style_for_prop(style, prop, value,
'Computed value should be the specified value');
}, `${prop}: ${value}`);
}

View file

@ -0,0 +1,31 @@
<!DOCTYPE html>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="resources/utils.js"></script>
<iframe src="resources/frame-with-autofocus-element.html#"></iframe>
<script>
'use strict';
promise_test(async () => {
await waitForLoad(window);
await waitUntilStableAutofocusState();
assert_equals(document.activeElement, document.querySelector('iframe'),
'Autofocus elements in iframes should be focused.');
let input = document.createElement('input');
input.autofocus = true;
document.body.appendChild(input);
await waitUntilStableAutofocusState();
assert_not_equals(document.activeElement, input);
}, 'Autofocus elements in iframed documents with empty fragments should work.');
promise_test(async () => {
let w = window.open('resources/frame-with-autofocus-element.html#');
await waitForLoad(w);
await waitUntilStableAutofocusState(w);
assert_not_equals(w.document.activeElement, w.document.body);
w.close();
}, 'Autofocus elements in top-level browsing context\'s documents with empty fragments should work.');
</script>

View file

@ -3,8 +3,7 @@
<script src="/resources/testharnessreport.js"></script>
<script src="resources/utils.js"></script>
<iframe src="resources/frame-with-autofocus-element.html#anchor1"></iframe>
<iframe src="resources/frame-with-autofocus-element.html#non-existent-anchor"></iframe>
<iframe src="resources/frame-with-autofocus-element.html#non-existent"></iframe>
<script>
'use strict';
@ -12,21 +11,21 @@
promise_test(async () => {
await waitForLoad(window);
await waitUntilStableAutofocusState();
assert_equals(document.activeElement, document.body,
'Autofocus elements in iframes should not be focused.');
assert_equals(document.activeElement, document.querySelector('iframe'),
'Autofocus elements in iframes should be focused.');
let input = document.createElement('input');
input.autofocus = true;
document.body.appendChild(input);
await waitUntilStableAutofocusState();
assert_equals(document.activeElement, input);
}, 'Autofocus elements in iframed documents with URL fragments should be skipped.');
assert_not_equals(document.activeElement, input);
}, 'Autofocus elements in iframed documents with non-existent fragments should work.');
promise_test(async () => {
let w = window.open('resources/frame-with-autofocus-element.html#xpointer(//body)');
let w = window.open('resources/frame-with-autofocus-element.html#non-existent');
await waitForLoad(w);
await waitUntilStableAutofocusState(w);
assert_equals(w.document.activeElement, w.document.body);
assert_not_equals(w.document.activeElement, w.document.body);
w.close();
}, 'Autofocus elements in top-level browsing context\'s documents with URI fragments should be skipped.');
}, 'Autofocus elements in top-level browsing context\'s documents with non-existent fragments should work.');
</script>

View file

@ -0,0 +1,31 @@
<!DOCTYPE html>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="resources/utils.js"></script>
<iframe src="resources/frame-with-autofocus-element.html#top"></iframe>
<script>
'use strict';
promise_test(async () => {
await waitForLoad(window);
await waitUntilStableAutofocusState();
assert_equals(document.activeElement, document.querySelector('iframe'),
'Autofocus elements in iframes should be focused.');
let input = document.createElement('input');
input.autofocus = true;
document.body.appendChild(input);
await waitUntilStableAutofocusState();
assert_not_equals(document.activeElement, input);
}, 'Autofocus elements in iframed documents with "top" fragments should work.');
promise_test(async () => {
let w = window.open('resources/frame-with-autofocus-element.html#top');
await waitForLoad(w);
await waitUntilStableAutofocusState(w);
assert_not_equals(w.document.activeElement, w.document.body);
w.close();
}, 'Autofocus elements in top-level browsing context\'s documents with "top" fragments should work.');
</script>

View file

@ -0,0 +1,39 @@
<!DOCTYPE html>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="resources/utils.js"></script>
<iframe src="resources/frame-with-anchor.html"></iframe>
<script>
'use strict';
promise_test(async () => {
await waitForLoad(window);
const iframe = document.querySelector('iframe');
iframe.contentWindow.location.hash = 'anchor1';
const doc = iframe.contentDocument;
assert_true(!!doc.querySelector(':target'));
let input = doc.createElement('input');
input.autofocus = true;
doc.body.appendChild(input);
await waitUntilStableAutofocusState();
assert_not_equals(doc.activeElement, input);
}, 'Autofocus elements in iframed documents with URL fragments should be skipped.');
promise_test(async () => {
let w = window.open('resources/frame-with-anchor.html');
await waitForLoad(w);
w.location.hash = 'anchor1';
const doc = w.document;
assert_true(!!doc.querySelector(':target'));
let input = doc.createElement('input');
input.autofocus = true;
doc.body.appendChild(input);
await waitUntilStableAutofocusState();
assert_not_equals(doc.activeElement, input);
w.close();
}, 'Autofocus elements in top-level browsing context\'s documents with URL fragments should be skipped.');
</script>

View file

@ -2,25 +2,27 @@
<html>
<head>
<meta charset=utf-8>
<meta name="assert" content="`autofocus` should work in the same origin iframe even if there is a cross-origin iframe between the parent and the same origin iframe">
<meta name="assert" content="`autofocus` should not work in the same origin iframe if there is a cross-origin iframe between the parent and the same origin iframe">
<title>autofocus in the same origin grand child iframe</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/testdriver.js"></script>
<script src="/resources/testdriver-vendor.js"></script>
<script src="/common/get-host-info.sub.js"></script>
<script src="resources/utils.js"></script>
</head>
<body>
<h1>Autofocus should work in the same origin grand child iframe.</h1>
<iframe id="child" width="200" height="100"></iframe>
<script>
let parent_loaded = false;
let grand_child_loaded = false;
async_test(function(t) {
function pingChildIfBothFramesLoaded() {
if (parent_loaded && grand_child_loaded)
async function pingChildIfBothFramesLoaded() {
if (parent_loaded && grand_child_loaded) {
await waitUntilStableAutofocusState();
frames[0].postMessage("report_focus_state", "*");
}
}
window.addEventListener("load", t.step_func(event => {
@ -33,14 +35,14 @@
grand_child_loaded = true;
pingChildIfBothFramesLoaded();
} else if (event.data == "grand_child_is_focused") {
t.done();
assert_unreached("The grandchild iframe shouldn't get focus");
} else if (event.data == "grand_child_is_not_focused") {
assert_unreached("The iframe shouldn't get focus");
t.done();
}
}));
document.getElementById("child").src =
get_host_info().HTTP_NOTSAMESITE_ORIGIN + "/html/interaction/focus/the-autofocus-attribute/resources/child-iframe.html";
}, "Autofocus should work in the same origin grand child iframe");
}, "Autofocus should not work in the same origin grand child iframe");
</script>
</body>
</html>

View file

@ -3,6 +3,9 @@
<head>
<title>Pointer Events boundary events in capturing tests</title>
<meta name="viewport" content="width=device-width">
<meta name="variant" content="?mouse">
<meta name="variant" content="?touch">
<meta name="variant" content="?pen">
<link rel="stylesheet" type="text/css" href="pointerevent_styles.css">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
@ -12,6 +15,7 @@
<!-- Additional helper script for common checks across event types -->
<script type="text/javascript" src="pointerevent_support.js"></script>
<script>
var inputSource = location.search.substring(1);
var detected_pointertypes = {};
var eventList = All_Pointer_Events;
PhaseEnum = {
@ -28,7 +32,7 @@
phase = PhaseEnum.WaitingForDown;
}
function run() {
var test_pointerEvent = setup_pointerevent_test("pointerevent boundary events in capturing", ALL_POINTERS);
var test_pointerEvent = setup_pointerevent_test("pointerevent boundary events in capturing", [inputSource]);
var target = document.getElementById("target0");
var listener = document.getElementById("listener");
var actions_promise;
@ -77,11 +81,7 @@
});
// Inject pointer inputs.
actions_promise = pointerDragInTarget('mouse', target0, 'right').then(function() {
return pointerDragInTarget('touch', target0, 'right');
}).then(function() {
return pointerDragInTarget('pen', target0, 'right');
});
actions_promise = pointerDragInTarget(inputSource, target0, 'right');
}
</script>
</head>