Merge inbound to mozilla-central. a=merge

This commit is contained in:
Csoregi Natalia 2019-08-11 00:28:20 +03:00
Родитель 7489270632 aa7bc8f357
Коммит 6d04491407
329 изменённых файлов: 9513 добавлений и 880 удалений

Просмотреть файл

@ -6299,7 +6299,8 @@ exports.CSS_PROPERTIES = {
"x-large",
"x-small",
"xx-large",
"xx-small"
"xx-small",
"xxx-large"
]
},
"font-family": {
@ -6393,7 +6394,8 @@ exports.CSS_PROPERTIES = {
"x-large",
"x-small",
"xx-large",
"xx-small"
"xx-small",
"xxx-large"
]
},
"font-size-adjust": {

Просмотреть файл

@ -84,7 +84,9 @@ skip-if = fission && debug # Times out
[test_popup-navigates-children.html]
fail-if = fission
[test_reserved.html]
skip-if = (toolkit == 'android') || (debug && e10s) || (os == 'mac' && os_version == '10.14') || (fission && !debug) #Bug 1570953 #too slow on Android 4.3 aws only; bug 1030403; bug 1263213 for debug e10s, macosx1014 due to 1548821
skip-if =
(toolkit == 'android') || (debug && e10s) || (os == 'mac' && os_version == '10.14') || #too slow on Android 4.3 aws only; bug 1030403; bug 1263213 for debug e10s, macosx1014 due to 1548821
(fission && !debug) #Bug 1570953
[test_performance_navigation.html]
[test_sessionhistory.html]
skip-if =

Просмотреть файл

@ -5697,6 +5697,7 @@ var gCSSProperties = {
"2em",
"50%",
"xx-small",
"xxx-large",
"36pt",
"8px",
"larger",

Просмотреть файл

@ -255,7 +255,7 @@ pub enum KeywordSize {
XXLarge,
// This is not a real font keyword and will not parse
// HTML font-size 7 corresponds to this value
#[css(skip)]
#[css(keyword = "xxx-large")]
XXXLarge,
}

Просмотреть файл

@ -1,4 +1,5 @@
[url-in-tags.window.html]
max-asserts: 3
[Blob URL fragment is implemented.]
expected: FAIL

Просмотреть файл

@ -1,7 +0,0 @@
[comma-tests.html]
[comma0006 - comma0006]
expected: FAIL
[comma0007 - comma0007]
expected: FAIL

Просмотреть файл

@ -1,7 +1,4 @@
[general-tests.html]
[0002 - Set cookie with future expiration.]
expected: FAIL
[0021 - Ignore cookie without key in all 'Set-Cookie'.]
expected: FAIL
@ -19,3 +16,4 @@
[0004 - Ignore cookie without key.]
expected: FAIL

Просмотреть файл

@ -1,4 +0,0 @@
[font-size-computed.html]
[<font size="7"> is font-size: xxx-large]
expected: FAIL

Просмотреть файл

@ -1,4 +0,0 @@
[font-size-valid.html]
[e.style['font-size'\] = "xxx-large" should set the property value]
expected: FAIL

Просмотреть файл

@ -1,2 +0,0 @@
[fallback-layout-invalid-fragment-request.https.html]
expected: FAIL

Просмотреть файл

@ -0,0 +1,2 @@
[fallback-layout-no-promise.https.html]
expected: FAIL

Просмотреть файл

@ -0,0 +1,2 @@
[fallback-layout-unresolved-promise.https.html]
expected: FAIL

Просмотреть файл

@ -0,0 +1,4 @@
[sync-layout-microtasks.https.html]
[sync-layout-microtasks]
expected: FAIL

Просмотреть файл

@ -1,4 +0,0 @@
[list-and-margin-collapse-003.html]
[list and margin collapse]
expected: FAIL

Просмотреть файл

@ -0,0 +1,2 @@
[background-repeat-x.https.html]
expected: FAIL

Просмотреть файл

@ -0,0 +1,4 @@
[ElementInternals-accessibility.html]
[ElementInternals-accessibility]
expected: FAIL

Просмотреть файл

@ -35,7 +35,9 @@
if (os == "linux") and (processor == "x86_64") and debug and webrender: wpt-sync Bug 1565002
if (os == "linux") and (processor == "x86_64") and debug and not webrender and not sw-e10s: wpt-sync Bug 1565002
if (os == "linux") and (processor == "x86_64") and debug and not webrender and sw-e10s: wpt-sync Bug 1565002
expected: FAIL
expected:
if os == "linux": [FAIL, TIMEOUT]
FAIL
[Http upgrade fetch() api => No headers]
expected: FAIL

Просмотреть файл

@ -9,8 +9,13 @@
[Https downgrade prefetch => No headers]
bug: [https://bugzilla.mozilla.org/show_bug.cgi?id=1568717, https://bugzilla.mozilla.org/show_bug.cgi?id=1569098]
expected:
if os == "android": PASS
[FAIL, TIMEOUT, PASS]
if (os == "linux") and not sw-e10s and debug and not webrender: [PASS, TIMEOUT, FAIL]
if (os == "linux") and sw-e10s: [FAIL, PASS, TIMEOUT]
if (os == "linux") and not debug and not webrender and (processor == "x86_64"): [FAIL, PASS, TIMEOUT]
if (os == "linux") and debug and webrender: [FAIL, PASS]
if (os == "android") and debug: [PASS, FAIL]
if (os == "android") and not debug: PASS
FAIL
[Https downgrade stylesheet => No headers]
expected: TIMEOUT

Просмотреть файл

Просмотреть файл

@ -6,6 +6,7 @@
[same-origin_unsafe-allow-outgoing document opening popup to http://www1.web-platform.test:8000 with COOP: "same-origin unsafe-allow-outgoing"]
expected:
if os == "android": FAIL
if (os == "mac") and debug: PASS
[same-origin_unsafe-allow-outgoing document opening popup to http://www1.web-platform.test:8000 with COOP: "same-site unsafe-allow-outgoing"]
expected:

Просмотреть файл

@ -38,6 +38,7 @@
[same-site document opening popup to http://not-web-platform.test:8000 with COOP: "same-site"]
expected:
if os == "android": FAIL
if (os == "mac") and debug: PASS
[same-site document opening popup to http://www1.web-platform.test:8000 with COOP: "same-origin unsafe-allow-outgoing"]
expected:

Просмотреть файл

@ -1,4 +1,4 @@
[broadcastchannel-success-and-failure.html]
[broadcastchannel-success-and-failure.https.html]
[SharedArrayBuffer cannot cross agent clusters, BroadcastChannel edition]
expected: FAIL

Просмотреть файл

@ -1,10 +1,10 @@
[identity-not-preserved.html]
[identity-not-preserved.https.html]
[postMessaging to an iframe and back does not give back the same SharedArrayBuffer]
expected: FAIL
[postMessaging to this window does not give back the same SharedArrayBuffer (but does use the same backing block)]
expected: FAIL
[postMessaging to a worker and back does not give back the same SharedArrayBuffer]
expected: FAIL
[postMessaging to an iframe and back does not give back the same SharedArrayBuffer]
expected: FAIL

Просмотреть файл

@ -0,0 +1,4 @@
[nested-sharedworker-success.https.html]
[postMessaging to a dedicated sub-worker allows them to see each others' modifications]
expected: FAIL

Просмотреть файл

@ -1,9 +0,0 @@
[nested-worker-success.any.worker.html]
[postMessaging to a dedicated sub-worker allows them to see each others' modifications]
expected: FAIL
[nested-worker-success.any.sharedworker.html]
[postMessaging to a dedicated sub-worker allows them to see each others' modifications]
expected: FAIL

Просмотреть файл

@ -0,0 +1,4 @@
[nested-worker-success.https.html]
[postMessaging to a dedicated sub-worker allows them to see each others' modifications]
expected: FAIL

Просмотреть файл

@ -0,0 +1,18 @@
[no-coop-coep.https.any.worker.html]
[SharedArrayBuffer over MessageChannel without COOP+COEP]
expected: FAIL
[SharedArrayBuffer over BroadcastChannel without COOP+COEP]
expected: FAIL
[no-coop-coep.https.any.html]
[SharedArrayBuffer over MessageChannel without COOP+COEP]
expected: FAIL
[SharedArrayBuffer over postMessage() without COOP+COEP]
expected: FAIL
[SharedArrayBuffer over BroadcastChannel without COOP+COEP]
expected: FAIL

Просмотреть файл

@ -1,10 +1,10 @@
[no-transferring.html]
[Trying to transfer a SharedArrayBuffer to this window throws]
expected: FAIL
[no-transferring.https.html]
[Trying to transfer a SharedArrayBuffer to a worker throws]
expected: FAIL
[Trying to transfer a SharedArrayBuffer through a MessagePort throws]
expected: FAIL
[Trying to transfer a SharedArrayBuffer to this window throws]
expected: FAIL

Просмотреть файл

@ -1,13 +1,13 @@
[serialization-via-history.html]
[serialization-via-history.https.html]
[history.pushState(): simple case]
expected: FAIL
[history.pushState(): is interleaved correctly]
expected: FAIL
[history.replaceState(): simple case]
expected: FAIL
[history.replaceState(): is interleaved correctly]
expected: FAIL
[history.replaceState(): simple case]
expected: FAIL

Просмотреть файл

@ -1,4 +1,4 @@
[window-domain-success.sub.html]
[window-domain-success.https.sub.html]
[postMessaging to a same-origin-domain (but not same-origin) iframe allows them to see each others' modifications]
expected: FAIL

Просмотреть файл

@ -1,4 +1,4 @@
[window-iframe-messagechannel-success.html]
[window-iframe-messagechannel-success.https.html]
[postMessaging to a same-origin iframe via MessageChannel allows them to see each others' modifications]
expected: FAIL

Просмотреть файл

@ -1,4 +1,4 @@
[window-messagechannel-success.html]
[window-messagechannel-success.https.html]
[postMessaging to a dedicated worker via MessageChannel allows them to see each others' modifications]
expected: FAIL

Просмотреть файл

@ -1,4 +1,4 @@
[window-sharedworker-failure.html]
[window-sharedworker-failure.https.html]
[SharedArrayBuffer cannot cross agent clusters, shared worker edition]
expected: FAIL

Просмотреть файл

@ -1,4 +1,4 @@
[window-similar-but-cross-origin-success.sub.html]
[window-similar-but-cross-origin-success.https.sub.html]
[postMessaging to a not same-origin-domain, but similar origin, iframe allows them to see each others' modifications]
expected: FAIL

Просмотреть файл

@ -1,20 +1,20 @@
[window-simple-success.html]
[postMessaging to a dedicated worker allows them to see each others' modifications with DataView]
expected: FAIL
[postMessaging to a dedicated worker allows them to see each others' modifications with Int8Array]
expected: FAIL
[postMessaging to a dedicated worker allows them to see each others' modifications with Uint8Array]
[window-simple-success.https.html]
[postMessaging to a dedicated worker allows them to see each others' modifications with Uint16Array]
expected: FAIL
[postMessaging to a dedicated worker allows them to see each others' modifications with Uint8ClampedArray]
expected: FAIL
[postMessaging to a dedicated worker allows them to see each others' modifications with Uint8Array]
expected: FAIL
[postMessaging to a dedicated worker allows them to see each others' modifications with Int16Array]
expected: FAIL
[postMessaging to a dedicated worker allows them to see each others' modifications with Uint16Array]
[postMessaging to a dedicated worker allows them to see each others' modifications with Int8Array]
expected: FAIL
[postMessaging to a dedicated worker allows them to see each others' modifications with DataView]
expected: FAIL
[postMessaging to a dedicated worker allows them to see each others' modifications with Int32Array]
@ -23,18 +23,18 @@
[postMessaging to a dedicated worker allows them to see each others' modifications with Uint32Array]
expected: FAIL
[postMessaging to a dedicated worker allows them to see each others' modifications with Float32Array]
expected: FAIL
[postMessaging to a dedicated worker allows them to see each others' modifications with Float64Array]
expected: FAIL
[postMessaging to a same-origin iframe allows them to see each others' modifications]
expected: FAIL
[postMessaging to a same-origin deeply-nested iframe allows them to see each others' modifications]
expected: FAIL
[postMessaging to a same-origin opened window allows them to see each others' modifications]
expected: FAIL
[postMessaging to a same-origin deeply-nested iframe allows them to see each others' modifications]
expected: FAIL
[postMessaging to a dedicated worker allows them to see each others' modifications with Float32Array]
expected: FAIL

Просмотреть файл

@ -0,0 +1,13 @@
[frac-parameters-2.html]
[TopDisplayStyleShiftUp]
expected: FAIL
[BottomDisplayStyleShiftDown]
expected: FAIL
[BottomShiftDown]
expected: FAIL
[ToShiftUp]
expected: FAIL

Просмотреть файл

@ -0,0 +1,121 @@
[not-participating-to-parent-layout.html]
[menclose layout is not affected by children with "position: fixed" style]
expected: FAIL
[mtable layout is not affected by children with "position: absolute" style]
expected: FAIL
[mover layout is not affected by children with "position: fixed" style]
expected: FAIL
[merror layout is not affected by children with "position: absolute" style]
expected: FAIL
[munder layout is not affected by children with "position: absolute" style]
expected: FAIL
[mo layout is not affected by children with "position: absolute" style]
expected: FAIL
[menclose layout is not affected by children with "position: absolute" style]
expected: FAIL
[mi layout is not affected by children with "position: absolute" style]
expected: FAIL
[mroot layout is not affected by children with "position: absolute" style]
expected: FAIL
[msqrt layout is not affected by children with "position: absolute" style]
expected: FAIL
[mtext layout is not affected by children with "position: absolute" style]
expected: FAIL
[munderover layout is not affected by children with "position: fixed" style]
expected: FAIL
[msub layout is not affected by children with "position: absolute" style]
expected: FAIL
[mn layout is not affected by children with "position: absolute" style]
expected: FAIL
[mphantom layout is not affected by children with "position: absolute" style]
expected: FAIL
[mmultiscripts layout is not affected by children with "position: absolute" style]
expected: FAIL
[mfrac layout is not affected by children with "position: absolute" style]
expected: FAIL
[msqrt layout is not affected by children with "position: fixed" style]
expected: FAIL
[mstyle layout is not affected by children with "position: absolute" style]
expected: FAIL
[mfrac layout is not affected by children with "position: fixed" style]
expected: FAIL
[munderover layout is not affected by children with "position: absolute" style]
expected: FAIL
[merror layout is not affected by children with "position: fixed" style]
expected: FAIL
[mrow layout is not affected by children with "position: absolute" style]
expected: FAIL
[mpadded layout is not affected by children with "position: fixed" style]
expected: FAIL
[munder layout is not affected by children with "position: fixed" style]
expected: FAIL
[msub layout is not affected by children with "position: fixed" style]
expected: FAIL
[mstyle layout is not affected by children with "position: fixed" style]
expected: FAIL
[msubsup layout is not affected by children with "position: fixed" style]
expected: FAIL
[mtable layout is not affected by children with "display: none" style]
expected: FAIL
[mroot layout is not affected by children with "position: fixed" style]
expected: FAIL
[mmultiscripts layout is not affected by children with "position: fixed" style]
expected: FAIL
[mtable layout is not affected by children with "position: fixed" style]
expected: FAIL
[mphantom layout is not affected by children with "position: fixed" style]
expected: FAIL
[msubsup layout is not affected by children with "position: absolute" style]
expected: FAIL
[ms layout is not affected by children with "position: absolute" style]
expected: FAIL
[mrow layout is not affected by children with "position: fixed" style]
expected: FAIL
[mpadded layout is not affected by children with "position: absolute" style]
expected: FAIL
[msup layout is not affected by children with "position: absolute" style]
expected: FAIL
[mover layout is not affected by children with "position: absolute" style]
expected: FAIL
[msup layout is not affected by children with "position: fixed" style]
expected: FAIL

Просмотреть файл

@ -5,15 +5,9 @@
[Inheritance of CSS writing-mode and direction (id='vertical-rl_ltr')]
expected: FAIL
[Layout of mrow (id='vertical-lr_ltr')]
expected: FAIL
[Inheritance of CSS writing-mode and direction (id='vertical-lr_ltr')]
expected: FAIL
[Inheritance of CSS writing-mode and direction (id='vertical-rl_rtl')]
expected: FAIL
[Layout of mrow (id='vertical-rl_ltr')]
expected: FAIL

Просмотреть файл

@ -0,0 +1,10 @@
[clipboard-event-handlers.tentative.html]
[oncut: the content attribute must be compiled into a function as the corresponding property]
expected: FAIL
[oncopy: the content attribute must be compiled into a function as the corresponding property]
expected: FAIL
[onpaste: the content attribute must be compiled into a function as the corresponding property]
expected: FAIL

Просмотреть файл

@ -0,0 +1,97 @@
[css-inline-style-interface.tentative.html]
[The mtext's style property should be present and be functional.]
expected: FAIL
[The msubsup's style property should be present and be functional.]
expected: FAIL
[The mo's style property should be present and be functional.]
expected: FAIL
[The semantics's style property should be present and be functional.]
expected: FAIL
[The mrow's style property should be present and be functional.]
expected: FAIL
[The <math> element style property should be present and be functional.]
expected: FAIL
[The mn's style property should be present and be functional.]
expected: FAIL
[The mstyle's style property should be present and be functional.]
expected: FAIL
[The munderover's style property should be present and be functional.]
expected: FAIL
[The menclose's style property should be present and be functional.]
expected: FAIL
[The merror's style property should be present and be functional.]
expected: FAIL
[The mprescripts's style property should be present and be functional.]
expected: FAIL
[The mover's style property should be present and be functional.]
expected: FAIL
[The mtd's style property should be present and be functional.]
expected: FAIL
[The msqrt's style property should be present and be functional.]
expected: FAIL
[The mtr's style property should be present and be functional.]
expected: FAIL
[The annotation's style property should be present and be functional.]
expected: FAIL
[The none's style property should be present and be functional.]
expected: FAIL
[The mmultiscripts's style property should be present and be functional.]
expected: FAIL
[The mroot's style property should be present and be functional.]
expected: FAIL
[The msub's style property should be present and be functional.]
expected: FAIL
[The mpadded's style property should be present and be functional.]
expected: FAIL
[The munder's style property should be present and be functional.]
expected: FAIL
[The annotation-xml's style property should be present and be functional.]
expected: FAIL
[The mphantom's style property should be present and be functional.]
expected: FAIL
[The maction's style property should be present and be functional.]
expected: FAIL
[The ms's style property should be present and be functional.]
expected: FAIL
[The msup's style property should be present and be functional.]
expected: FAIL
[The mi's style property should be present and be functional.]
expected: FAIL
[The mspace's style property should be present and be functional.]
expected: FAIL
[The mfrac's style property should be present and be functional.]
expected: FAIL
[The mtable's style property should be present and be functional.]
expected: FAIL

Просмотреть файл

@ -0,0 +1,16 @@
[html-or-foreign-element-interfaces.tentative.html]
[The dataset property should be present and be functional.]
expected: FAIL
[MathML elements should work with blur predictably]
expected: FAIL
[MathML elements should have a .dataset]
expected: FAIL
[MathML elements should work with focus predictably]
expected: FAIL
[MathML elements should have a tabIndex property]
expected: FAIL

Просмотреть файл

@ -0,0 +1,559 @@
[math-global-event-handlers.tentative.html]
[onkeyup: the default value must be null]
expected: FAIL
[oncuechange: the default value must be null]
expected: FAIL
[oncuechange: must be on the appropriate locations for GlobalEventHandlers]
expected: FAIL
[onloadedmetadata: the content attribute must be compiled into a function as the corresponding property]
expected: FAIL
[onscroll: must be on the appropriate locations for GlobalEventHandlers]
expected: FAIL
[onwaiting: the content attribute must be compiled into a function as the corresponding property]
expected: FAIL
[ondblclick: the content attribute must be compiled into a function as the corresponding property]
expected: FAIL
[ontoggle: the default value must be null]
expected: FAIL
[onplaying: must be on the appropriate locations for GlobalEventHandlers]
expected: FAIL
[onmouseenter: the content attribute must be compiled into a function as the corresponding property]
expected: FAIL
[oncancel: the default value must be null]
expected: FAIL
[onloadedmetadata: must be on the appropriate locations for GlobalEventHandlers]
expected: FAIL
[onwheel: the default value must be null]
expected: FAIL
[onseeked: the content attribute must be compiled into a function as the corresponding property]
expected: FAIL
[oncanplaythrough: must be on the appropriate locations for GlobalEventHandlers]
expected: FAIL
[ondragstart: must be on the appropriate locations for GlobalEventHandlers]
expected: FAIL
[oncancel: the content attribute must be compiled into a function as the corresponding property]
expected: FAIL
[onseeked: the default value must be null]
expected: FAIL
[onplaying: the content attribute must be compiled into a function as the corresponding property]
expected: FAIL
[onloadstart: the default value must be null]
expected: FAIL
[onstalled: the default value must be null]
expected: FAIL
[onratechange: must be on the appropriate locations for GlobalEventHandlers]
expected: FAIL
[onsubmit: the content attribute must be compiled into a function as the corresponding property]
expected: FAIL
[onloadstart: the content attribute must be compiled into a function as the corresponding property]
expected: FAIL
[onkeyup: the content attribute must be compiled into a function as the corresponding property]
expected: FAIL
[onmousemove: the content attribute must be compiled into a function as the corresponding property]
expected: FAIL
[ontimeupdate: the content attribute must be compiled into a function as the corresponding property]
expected: FAIL
[oninvalid: the content attribute must be compiled into a function as the corresponding property]
expected: FAIL
[onmouseleave: the default value must be null]
expected: FAIL
[onloadend: the default value must be null]
expected: FAIL
[onmousemove: the default value must be null]
expected: FAIL
[onfocus: must be on the appropriate locations for GlobalEventHandlers]
expected: FAIL
[ondrag: must be on the appropriate locations for GlobalEventHandlers]
expected: FAIL
[ontimeupdate: the default value must be null]
expected: FAIL
[onmouseleave: must be on the appropriate locations for GlobalEventHandlers]
expected: FAIL
[ondurationchange: the content attribute must be compiled into a function as the corresponding property]
expected: FAIL
[oninvalid: must be on the appropriate locations for GlobalEventHandlers]
expected: FAIL
[onwaiting: must be on the appropriate locations for GlobalEventHandlers]
expected: FAIL
[ondragstart: the default value must be null]
expected: FAIL
[onplay: the content attribute must be compiled into a function as the corresponding property]
expected: FAIL
[onfocus: the default value must be null]
expected: FAIL
[ondrag: the default value must be null]
expected: FAIL
[onsuspend: must be on the appropriate locations for GlobalEventHandlers]
expected: FAIL
[onpause: the default value must be null]
expected: FAIL
[onresize: the default value must be null]
expected: FAIL
[onclick: the content attribute must be compiled into a function as the corresponding property]
expected: FAIL
[onmouseout: the content attribute must be compiled into a function as the corresponding property]
expected: FAIL
[onauxclick: must be on the appropriate locations for GlobalEventHandlers]
expected: FAIL
[onmouseout: must be on the appropriate locations for GlobalEventHandlers]
expected: FAIL
[onvolumechange: must be on the appropriate locations for GlobalEventHandlers]
expected: FAIL
[oncanplay: the default value must be null]
expected: FAIL
[onmouseout: the default value must be null]
expected: FAIL
[onsubmit: the default value must be null]
expected: FAIL
[ondragover: must be on the appropriate locations for GlobalEventHandlers]
expected: FAIL
[onstalled: the content attribute must be compiled into a function as the corresponding property]
expected: FAIL
[onmousedown: the default value must be null]
expected: FAIL
[onmousedown: must be on the appropriate locations for GlobalEventHandlers]
expected: FAIL
[onmouseup: must be on the appropriate locations for GlobalEventHandlers]
expected: FAIL
[onprogress: must be on the appropriate locations for GlobalEventHandlers]
expected: FAIL
[onclick: must be on the appropriate locations for GlobalEventHandlers]
expected: FAIL
[onended: must be on the appropriate locations for GlobalEventHandlers]
expected: FAIL
[oncontextmenu: the content attribute must be compiled into a function as the corresponding property]
expected: FAIL
[oncontextmenu: the default value must be null]
expected: FAIL
[onclick: the default value must be null]
expected: FAIL
[ondragenter: the content attribute must be compiled into a function as the corresponding property]
expected: FAIL
[oninput: the content attribute must be compiled into a function as the corresponding property]
expected: FAIL
[ondragenter: must be on the appropriate locations for GlobalEventHandlers]
expected: FAIL
[onloadeddata: the content attribute must be compiled into a function as the corresponding property]
expected: FAIL
[onkeypress: the content attribute must be compiled into a function as the corresponding property]
expected: FAIL
[onprogress: the content attribute must be compiled into a function as the corresponding property]
expected: FAIL
[onpause: must be on the appropriate locations for GlobalEventHandlers]
expected: FAIL
[ondurationchange: the default value must be null]
expected: FAIL
[onloadeddata: the default value must be null]
expected: FAIL
[onmouseenter: must be on the appropriate locations for GlobalEventHandlers]
expected: FAIL
[onkeypress: the default value must be null]
expected: FAIL
[onabort: must be on the appropriate locations for GlobalEventHandlers]
expected: FAIL
[onkeydown: must be on the appropriate locations for GlobalEventHandlers]
expected: FAIL
[onmousemove: must be on the appropriate locations for GlobalEventHandlers]
expected: FAIL
[onloadend: the content attribute must be compiled into a function as the corresponding property]
expected: FAIL
[onpause: the content attribute must be compiled into a function as the corresponding property]
expected: FAIL
[onmouseover: the content attribute must be compiled into a function as the corresponding property]
expected: FAIL
[onkeydown: the content attribute must be compiled into a function as the corresponding property]
expected: FAIL
[onseeking: the content attribute must be compiled into a function as the corresponding property]
expected: FAIL
[ondragleave: must be on the appropriate locations for GlobalEventHandlers]
expected: FAIL
[ondragleave: the default value must be null]
expected: FAIL
[onselect: the content attribute must be compiled into a function as the corresponding property]
expected: FAIL
[onload: the default value must be null]
expected: FAIL
[onloadstart: must be on the appropriate locations for GlobalEventHandlers]
expected: FAIL
[ondurationchange: must be on the appropriate locations for GlobalEventHandlers]
expected: FAIL
[oncanplaythrough: the default value must be null]
expected: FAIL
[onmousedown: the content attribute must be compiled into a function as the corresponding property]
expected: FAIL
[ondragover: the content attribute must be compiled into a function as the corresponding property]
expected: FAIL
[ondragleave: the content attribute must be compiled into a function as the corresponding property]
expected: FAIL
[onseeked: must be on the appropriate locations for GlobalEventHandlers]
expected: FAIL
[ondragover: the default value must be null]
expected: FAIL
[onkeyup: must be on the appropriate locations for GlobalEventHandlers]
expected: FAIL
[oninput: the default value must be null]
expected: FAIL
[onvolumechange: the content attribute must be compiled into a function as the corresponding property]
expected: FAIL
[ondragend: must be on the appropriate locations for GlobalEventHandlers]
expected: FAIL
[onreset: must be on the appropriate locations for GlobalEventHandlers]
expected: FAIL
[onauxclick: the content attribute must be compiled into a function as the corresponding property]
expected: FAIL
[ondrop: must be on the appropriate locations for GlobalEventHandlers]
expected: FAIL
[onplay: must be on the appropriate locations for GlobalEventHandlers]
expected: FAIL
[onseeking: the default value must be null]
expected: FAIL
[onvolumechange: the default value must be null]
expected: FAIL
[onauxclick: the default value must be null]
expected: FAIL
[onresize: must be on the appropriate locations for GlobalEventHandlers]
expected: FAIL
[ondragexit: the content attribute must be compiled into a function as the corresponding property]
expected: FAIL
[onmouseover: the default value must be null]
expected: FAIL
[onwheel: must be on the appropriate locations for GlobalEventHandlers]
expected: FAIL
[oninput: must be on the appropriate locations for GlobalEventHandlers]
expected: FAIL
[onscroll: the default value must be null]
expected: FAIL
[onclose: must be on the appropriate locations for GlobalEventHandlers]
expected: FAIL
[onkeydown: the default value must be null]
expected: FAIL
[onmouseup: the content attribute must be compiled into a function as the corresponding property]
expected: FAIL
[onblur: must be on the appropriate locations for GlobalEventHandlers]
expected: FAIL
[onloadedmetadata: the default value must be null]
expected: FAIL
[onmouseup: the default value must be null]
expected: FAIL
[onclose: the default value must be null]
expected: FAIL
[ondragstart: the content attribute must be compiled into a function as the corresponding property]
expected: FAIL
[onblur: the content attribute must be compiled into a function as the corresponding property]
expected: FAIL
[ontoggle: must be on the appropriate locations for GlobalEventHandlers]
expected: FAIL
[ondragend: the default value must be null]
expected: FAIL
[onemptied: the default value must be null]
expected: FAIL
[oninvalid: the default value must be null]
expected: FAIL
[onclose: the content attribute must be compiled into a function as the corresponding property]
expected: FAIL
[onended: the default value must be null]
expected: FAIL
[onselect: the default value must be null]
expected: FAIL
[onemptied: the content attribute must be compiled into a function as the corresponding property]
expected: FAIL
[onchange: must be on the appropriate locations for GlobalEventHandlers]
expected: FAIL
[onloadeddata: must be on the appropriate locations for GlobalEventHandlers]
expected: FAIL
[oncancel: must be on the appropriate locations for GlobalEventHandlers]
expected: FAIL
[ondrop: the content attribute must be compiled into a function as the corresponding property]
expected: FAIL
[onsuspend: the content attribute must be compiled into a function as the corresponding property]
expected: FAIL
[onload: the content attribute must be compiled into a function as the corresponding property]
expected: FAIL
[onstalled: must be on the appropriate locations for GlobalEventHandlers]
expected: FAIL
[onseeking: must be on the appropriate locations for GlobalEventHandlers]
expected: FAIL
[onmouseenter: the default value must be null]
expected: FAIL
[onreset: the content attribute must be compiled into a function as the corresponding property]
expected: FAIL
[onemptied: must be on the appropriate locations for GlobalEventHandlers]
expected: FAIL
[onended: the content attribute must be compiled into a function as the corresponding property]
expected: FAIL
[onkeypress: must be on the appropriate locations for GlobalEventHandlers]
expected: FAIL
[onabort: the content attribute must be compiled into a function as the corresponding property]
expected: FAIL
[ondrag: the content attribute must be compiled into a function as the corresponding property]
expected: FAIL
[onfocus: the content attribute must be compiled into a function as the corresponding property]
expected: FAIL
[onloadend: must be on the appropriate locations for GlobalEventHandlers]
expected: FAIL
[onratechange: the default value must be null]
expected: FAIL
[onprogress: the default value must be null]
expected: FAIL
[ontoggle: the content attribute must be compiled into a function as the corresponding property]
expected: FAIL
[ondragenter: the default value must be null]
expected: FAIL
[oncanplay: the content attribute must be compiled into a function as the corresponding property]
expected: FAIL
[onwaiting: the default value must be null]
expected: FAIL
[oncanplaythrough: the content attribute must be compiled into a function as the corresponding property]
expected: FAIL
[oncuechange: the content attribute must be compiled into a function as the corresponding property]
expected: FAIL
[onsecuritypolicyviolation: the default value must be null]
expected: FAIL
[onsecuritypolicyviolation: must be on the appropriate locations for GlobalEventHandlers]
expected: FAIL
[onmouseleave: the content attribute must be compiled into a function as the corresponding property]
expected: FAIL
[onwheel: the content attribute must be compiled into a function as the corresponding property]
expected: FAIL
[onchange: the default value must be null]
expected: FAIL
[onsuspend: the default value must be null]
expected: FAIL
[onreset: the default value must be null]
expected: FAIL
[onsecuritypolicyviolation: the content attribute must be compiled into a function as the corresponding property]
expected: FAIL
[onselect: must be on the appropriate locations for GlobalEventHandlers]
expected: FAIL
[onmouseover: must be on the appropriate locations for GlobalEventHandlers]
expected: FAIL
[ondrop: the default value must be null]
expected: FAIL
[ondragexit: must be on the appropriate locations for GlobalEventHandlers]
expected: FAIL
[oncanplay: must be on the appropriate locations for GlobalEventHandlers]
expected: FAIL
[onformdata: the content attribute must be compiled into a function as the corresponding property]
expected: FAIL
[onload: must be on the appropriate locations for GlobalEventHandlers]
expected: FAIL
[onresize: the content attribute must be compiled into a function as the corresponding property]
expected: FAIL
[onscroll: the content attribute must be compiled into a function as the corresponding property]
expected: FAIL
[onblur: the default value must be null]
expected: FAIL
[onchange: the content attribute must be compiled into a function as the corresponding property]
expected: FAIL
[onratechange: the content attribute must be compiled into a function as the corresponding property]
expected: FAIL
[onsubmit: must be on the appropriate locations for GlobalEventHandlers]
expected: FAIL
[ondblclick: must be on the appropriate locations for GlobalEventHandlers]
expected: FAIL
[ontimeupdate: must be on the appropriate locations for GlobalEventHandlers]
expected: FAIL
[onformdata: must be on the appropriate locations for GlobalEventHandlers]
expected: FAIL
[onabort: the default value must be null]
expected: FAIL
[onplay: the default value must be null]
expected: FAIL
[onplaying: the default value must be null]
expected: FAIL
[ondragend: the content attribute must be compiled into a function as the corresponding property]
expected: FAIL
[ondragexit: the default value must be null]
expected: FAIL
[oncontextmenu: must be on the appropriate locations for GlobalEventHandlers]
expected: FAIL
[ondblclick: the default value must be null]
expected: FAIL
[onformdata: the default value must be null]
expected: FAIL

Просмотреть файл

@ -0,0 +1,22 @@
[positionstate.html]
[Test setPositionState with a null value]
expected: FAIL
[Test setPositionState with a valid value for reverse playback]
expected: FAIL
[Test setPositionState with a valid value for forward playback]
expected: FAIL
[Test setPositionState with optional position]
expected: FAIL
[Test setPositionState with optional playback rate]
expected: FAIL
[Test setPositionState with zero duration]
expected: FAIL
[Test setPositionState with only duration]
expected: FAIL

Просмотреть файл

@ -1,2 +1,2 @@
local: 9bab8526091e9973c2ca8ea79473c0eb9c7b10fd
upstream: ee257bdb4ecd061513b43dfb9582f700a32b93cd
local: 595a3618185726dbeb45e6862ad8082434a7a73d
upstream: 5c61f2493fe744dc9f3d08e1f5a80165f574cfa3

Просмотреть файл

@ -2,4 +2,4 @@
[mouse pointerevent movementX/Y with pointerlock test]
expected:
if (os == "android") and not e10s: FAIL
[PASS, FAIL]

Просмотреть файл

@ -0,0 +1,11 @@
[observe.html]
expected:
if webrender and debug and (os == "linux"): TIMEOUT
[guard]
expected:
if webrender and debug and (os == "linux"): NOTRUN
[test6: iframe notifications]
expected:
if webrender and debug and (os == "linux"): FAIL

Просмотреть файл

@ -0,0 +1,4 @@
[discard-on-discard.html]
[Test the behavior of one discard applied on another discard]
expected: FAIL

Просмотреть файл

@ -0,0 +1,4 @@
[repeatn-remove-add-animation.html]
[This removes and adds an animation element while the animation is repeating]
expected: FAIL

Просмотреть файл

@ -0,0 +1,4 @@
[svgboolean-animation-1.html]
[Test 'to' animation of SVGBoolean.]
expected: FAIL

Просмотреть файл

@ -0,0 +1,4 @@
[svglength-additive-by-7.html]
[This tests by-animations adding to previous underlying values]
expected: FAIL

Просмотреть файл

@ -0,0 +1,4 @@
[svglength-additive-by-8.html]
[This tests by-animations adding to previous underlying values]
expected: FAIL

Просмотреть файл

@ -0,0 +1,4 @@
[svglength-animation-invalid-value-1.html]
[Test SVGLength animation with invalid value: No spaces between number and unit.]
expected: FAIL

Просмотреть файл

@ -0,0 +1,4 @@
[svglength-animation-invalid-value-2.html]
[Test SVGLength animation with invalid value: No spaces before value.]
expected: FAIL

Просмотреть файл

@ -0,0 +1,4 @@
[svglength-animation-invalid-value-3.html]
[Test SVGLength animation with invalid value: No spaces after number and unit.]
expected: FAIL

Просмотреть файл

@ -0,0 +1,4 @@
[svglength-animation-px-to-ems.html]
[Test SVGLength animation from px to ems.]
expected: FAIL

Просмотреть файл

@ -0,0 +1,4 @@
[svglength-animation-unitType.html]
[Test change of unit type for SVGLength animation.]
expected: FAIL

Просмотреть файл

@ -7,4 +7,5 @@
[SVGGeometryElement.prototype.isPointInStroke, 'vector-effect'.]
expected:
if (os == "android") and not debug: FAIL
if os == "android": PASS

Просмотреть файл

@ -0,0 +1,10 @@
[shared-worker-redirect-upgrade.https.html]
[secure/same-origin => insecure/same-origin shared-worker]
expected: FAIL
[insecure/same-origin => insecure/same-origin shared-worker]
expected: FAIL
[insecure/same-origin => secure/same-origin shared-worker]
expected: FAIL

Просмотреть файл

@ -0,0 +1,4 @@
[shared-worker-upgrade.https.html]
[insecure/same-origin shared-worker]
expected: FAIL

Просмотреть файл

@ -1,4 +1,5 @@
[audiobuffer-copy-channel.html]
expected: ERROR
[X 4: buffer.copyToChannel(x, 0, -1) incorrectly threw IndexSizeError: "Index or size is negative or greater than the allowed amount".]
expected: FAIL

Просмотреть файл

@ -1,4 +1,6 @@
[audioworklet-postmessage-sharedarraybuffer.https.html]
expected: ERROR
[\n Test passing SharedArrayBuffer to an AudioWorklet\n ]
expected:
if release_or_beta: FAIL

Просмотреть файл

@ -1,3 +0,0 @@
[RTCPeerConnection-onicecandidateerror.html]
disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1561441

Просмотреть файл

@ -0,0 +1,5 @@
[RTCPeerConnection-onicecandidateerror.https.html]
expected: TIMEOUT
[Surfacing onicecandidateerror]
expected: TIMEOUT

Просмотреть файл

@ -3,3 +3,4 @@
expected:
if (os == "android") and e10s: [PASS, FAIL]
FAIL

Просмотреть файл

@ -89,6 +89,11 @@ After your `hosts` file is configured, the servers will be locally accessible at
http://web-platform.test:8000/<br>
https://web-platform.test:8443/ *
To use the web-based runner point your browser to:
http://web-platform.test:8000/tools/runner/index.html <br>
https://web-platform.test:8443/tools/runner/index.html *
\**See [Trusting Root CA](#trusting-root-ca)*
Running Tests Automatically
@ -175,76 +180,6 @@ Please make sure git and your text editor do not automatically convert
line endings, as it will cause lint errors. For git, please set
`git config core.autocrlf false` in your working tree.
Certificates
============
By default pre-generated certificates for the web-platform.test domain
are provided in [`tools/certs`](tools/certs). If you wish to generate new
certificates for any reason it's possible to use OpenSSL when starting
the server, or starting a test run, by providing the
`--ssl-type=openssl` argument to the `wpt serve` or `wpt run`
commands.
If you installed OpenSSL in such a way that running `openssl` at a
command line doesn't work, you also need to adjust the path to the
OpenSSL binary. This can be done by adding a section to `config.json`
like:
```
"ssl": {"openssl": {"binary": "/path/to/openssl"}}
```
On Windows using OpenSSL typically requires installing an OpenSSL distribution.
[Shining Light](https://slproweb.com/products/Win32OpenSSL.html)
provide a convenient installer that is known to work, but requires a
little extra setup, i.e.:
Run the installer for Win32_OpenSSL_v1.1.0b (30MB). During installation,
change the default location for where to Copy OpenSSL Dlls from the
System directory to the /bin directory.
After installation, ensure that the path to OpenSSL (typically,
this will be `C:\OpenSSL-Win32\bin`) is in your `%Path%`
[Environment Variable](http://www.computerhope.com/issues/ch000549.htm).
If you forget to do this part, you will most likely see a 'File Not Found'
error when you start wptserve.
Finally, set the path value in the server configuration file to the
default OpenSSL configuration file location. To do this create a file
called `config.json`. Then add the OpenSSL configuration below,
ensuring that the key `ssl/openssl/base_conf_path` has a value that is
the path to the OpenSSL config file (typically this will be
`C:\\OpenSSL-Win32\\bin\\openssl.cfg`):
```
{
"ssl": {
"type": "openssl",
"encrypt_after_connect": false,
"openssl": {
"openssl_binary": "openssl",
"base_path: "_certs",
"force_regenerate": false,
"base_conf_path": "C:\\OpenSSL-Win32\\bin\\openssl.cfg"
},
},
}
```
### Trusting Root CA
To prevent browser SSL warnings when running HTTPS tests locally, the
web-platform-tests Root CA file `cacert.pem` in [tools/certs](tools/certs)
must be added as a trusted certificate in your OS/browser.
**NOTE**: The CA should not be installed in any browser profile used
outside of tests, since it may be used to generate fake
certificates. For browsers that use the OS certificate store, tests
should therefore not be run manually outside a dedicated OS instance
(e.g. a VM). To avoid this problem when running tests in Chrome or
Firefox use `wpt run`, which disables certificate checks and therefore
doesn't require the root CA to be trusted.
Publication
===========
@ -334,36 +269,6 @@ For more details, see the [lint-tool documentation][lint-tool].
[lint-tool]: https://web-platform-tests.org/writing-tests/lint-tool.html
Adding command-line scripts ("tools" subdirs)
---------------------------------------------
Sometimes you may want to add a script to the repository that's meant
to be used from the command line, not from a browser (e.g., a script
for generating test files). If you want to ensure (e.g., for security
reasons) that such scripts won't be handled by the HTTP server, but
will instead only be usable from the command line, then place them in
either:
* the `tools` subdir at the root of the repository, or
* the `tools` subdir at the root of any top-level directory in the
repository which contains the tests the script is meant to be used
with
Any files in those `tools` directories won't be handled by the HTTP
server; instead the server will return a 404 if a user navigates to
the URL for a file within them.
If you want to add a script for use with a particular set of tests but
there isn't yet any `tools` subdir at the root of a top-level
directory in the repository containing those tests, you can create a
`tools` subdir at the root of that top-level directory and place your
scripts there.
For example, if you wanted to add a script for use with tests in the
`notifications` directory, create the `notifications/tools` subdir and
put your script there.
Test Review
===========

Просмотреть файл

@ -1104,7 +1104,7 @@ self.invokeRequest = invokeRequest;
*/
function invokeFromWorker(isDataUrl, workerOptions,
subresource, sourceContextList) {
const currentSourceContext = sourceContextList.shift();
const currentSourceContext = sourceContextList[0];
let workerUrl =
"/common/security-features/scope/worker.py?policyDeliveries=" +
encodeURIComponent(JSON.stringify(
@ -1128,7 +1128,7 @@ function invokeFromWorker(isDataUrl, workerOptions,
.then(url => {
const worker = new Worker(url, workerOptions);
worker.postMessage({subresource: subresource,
sourceContextList: sourceContextList});
sourceContextList: sourceContextList.slice(1)});
return bindEvents2(worker, "message", worker, "error", window, "error");
})
.then(event => {
@ -1139,7 +1139,7 @@ function invokeFromWorker(isDataUrl, workerOptions,
}
function invokeFromIframe(subresource, sourceContextList) {
const currentSourceContext = sourceContextList.shift();
const currentSourceContext = sourceContextList[0];
const frameUrl =
"/common/security-features/scope/document.py?policyDeliveries=" +
encodeURIComponent(JSON.stringify(
@ -1165,7 +1165,7 @@ function invokeFromIframe(subresource, sourceContextList) {
window, "message", iframe, "error", window, "error");
iframe.contentWindow.postMessage(
{subresource: subresource,
sourceContextList: sourceContextList},
sourceContextList: sourceContextList.slice(1)},
"*");
return promise;
})

Просмотреть файл

@ -11,7 +11,7 @@ self.addEventListener('install', (event) => {
// cookie change logic that this test aims to cover.
try {
await cookieStore.subscribeToChanges([
{ name: 'cookie-name1', matchType: 'equals', url: '/scope/path1' }]);
{ name: 'cookie-name1', matchType: 'equals', url: '/cookie-store/path1' }]);
await cookieStore.subscribeToChanges([
{ }, // Test the default values for subscription properties.
{ name: 'cookie-prefix', matchType: 'starts-with' },

Просмотреть файл

@ -9,13 +9,14 @@
'use strict';
(async () => {
const scope = 'scope';
// Not using an explicit scope here in order for script URL to be in scope,
// to cover implicit subscription URL construction.
let registration = await navigator.serviceWorker.getRegistration(scope);
let registration = await navigator.serviceWorker.getRegistration();
if (registration)
await registration.unregister();
registration = await navigator.serviceWorker.register(
'serviceworker_cookieStore_subscriptions.js', {scope});
'serviceworker_cookieStore_subscriptions.js');
fetch_tests_from_worker(registration.installing);
})();

Просмотреть файл

@ -8,7 +8,8 @@ self.addEventListener('install', (event) => {
event.waitUntil((async () => {
try {
await cookieStore.subscribeToChanges([
{ name: 'cookie-name', matchType: 'equals', url: '/scope/path' }]);
{ name: 'cookie-name', matchType: 'equals',
url: '/cookie-store/scope/path' }]);
// If the worker enters the "redundant" state, the UA may terminate it
// before all tests have been reported to the client. Stifle errors in

Просмотреть файл

@ -8,7 +8,8 @@ self.addEventListener('install', (event) => {
event.waitUntil((async () => {
try {
await cookieStore.subscribeToChanges([
{ name: 'cookie-name', matchType: 'equals', url: '/scope/path' }]);
{ name: 'cookie-name', matchType: 'equals',
url: '/cookie-store/scope/path' }]);
// If the worker enters the "redundant" state, the UA may terminate it
// before all tests have been reported to the client. Stifle errors in

Просмотреть файл

@ -8,7 +8,8 @@ self.addEventListener('install', (event) => {
event.waitUntil((async () => {
try {
await cookieStore.subscribeToChanges([
{ name: 'cookie-name', matchType: 'equals', url: '/scope/path' }]);
{ name: 'cookie-name', matchType: 'equals',
url: '/cookie-store/scope/path' }]);
// If the worker enters the "redundant" state, the UA may terminate it
// before all tests have been reported to the client. Stifle errors in

Просмотреть файл

@ -1 +1 @@
Set-Cookie: foo=bar; Expires=Fri, 07 Aug 2019 08:04:19 GMT
Set-Cookie: foo=bar; Expires=Fri, 01 Jan 2038 00:00:00 GMT

Просмотреть файл

@ -1 +1 @@
Set-Cookie: foo=bar; Expires=Fri, 07 Aug 2019 08:04:19 GMT
Set-Cookie: foo=bar; Expires=Fri, 01 Jan 2038 00:00:00 GMT

Просмотреть файл

@ -1 +1 @@
Set-Cookie: foo=bar; Expires=Fri 07 Aug 2019 08:04:19 GMT, baz=qux
Set-Cookie: foo=bar; Expires=Fri 01 Jan 2038 00:00:00 GMT, baz=qux

Просмотреть файл

@ -0,0 +1,16 @@
<!DOCTYPE html>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=987004">
<meta name="assert" content="The renderer should not crash.">
<div style="width: 100px; overflow: hidden;">
<div style="float: left; width: 100%; height: 20px; background: hotpink;"></div>
<div style="clear: both;">
<span style="position: absolute; width: 10px; height: 10px; background: orange;"></span>
<div style="height: 10px; background: green; overflow: hidden;"></div>
</div>
</div>
<script>
test(() => {
}, 'Test passes if the renderer does not crash.');
</script>

Просмотреть файл

@ -0,0 +1,31 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSS Animations: getComputedStyle().animationName</title>
<link rel="help" href="https://drafts.csswg.org/css-animations/#propdef-animation-name">
<meta name="assert" content="animation-name computed value is as specified.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/css/support/computed-testcommon.js"></script>
</head>
<body>
<div id="target"></div>
<script>
test_computed_value("animation-name", 'none');
test_computed_value("animation-name", 'foo');
test_computed_value("animation-name", 'Both');
test_computed_value("animation-name", 'ease-in');
test_computed_value("animation-name", 'infinite');
test_computed_value("animation-name", 'paused');
test_computed_value("animation-name", 'first, second, third');
// TODO: Test strings, after https://github.com/w3c/csswg-drafts/issues/2435
// is resolved.
// Examples that need testing either here or in animation-name-invalid.html :
// '"Initial"', '"initial"', '"None"', '"Default"', '" x "', "1", '" "', '""',
// '"multi word string"', '"---\\22---"'
</script>
</body>
</html>

Просмотреть файл

@ -4,6 +4,7 @@
<meta charset="utf-8">
<title>Inheritance of CSS Box Model properties</title>
<link rel="help" href="https://drafts.csswg.org/css-box-3/#property-index">
<link rel="help" href="https://www.w3.org/TR/CSS2/">
<meta name="assert" content="Properties do not inherit.">
<meta name="assert" content="length-percentage properties have initial value 0.">
<script src="/resources/testharness.js"></script>
@ -15,6 +16,9 @@
<div id="target"></div>
</div>
<script>
assert_not_inherited('clear', 'none', 'right');
assert_not_inherited('float', 'none', 'right');
assert_not_inherited('margin-bottom', '0px', '10px');
assert_not_inherited('margin-left', '0px', '10px');
assert_not_inherited('margin-right', '0px', '10px');

Просмотреть файл

@ -0,0 +1,25 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Containment Reference: Size containment replaced elements intrinsic size</title>
<style>
body > div, video, audio, img, canvas, svg, iframe {
border: 3px solid orange;
contain: size;
margin-bottom: 15px;
width: 0px;
height: 0px;
float: left;
clear: both;
}
</style>
<div>abc</div>
<video></video><br>
<video controls></video><br>
<img src="../support/60x60-green.png"><br>
<picture>
<source srcset="../support/60x60-green.png">
<img>
</picture><br>
<canvas></canvas><br>
<svg></svg><br>
<iframe></iframe>

Просмотреть файл

@ -0,0 +1,28 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Containment Test: Size containment replaced elements intrinsic size</title>
<link rel="help" href="https://drafts.csswg.org/css-contain-1/#containment-size">
<link rel="match" href="contain-size-replaced-004-ref.html">
<meta name=assert content="This test checks that intrinsic size of replaced elements with 'contain: size' is zero.">
<style>
body > div, video, audio, img, canvas, svg, iframe {
border: 3px solid orange;
contain: size;
margin-bottom: 15px;
width: min-content;
height: min-content;
float: left;
clear: both;
}
</style>
<div>abc</div>
<video></video><br>
<video controls></video><br>
<img src="../support/60x60-green.png"><br>
<picture>
<source srcset="../support/60x60-green.png">
<img>
</picture><br>
<canvas></canvas><br>
<svg></svg><br>
<iframe></iframe>

Просмотреть файл

@ -0,0 +1,26 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Containment Reference: Size containment replaced elements intrinsic size</title>
<style>
body > div, video, audio, img, canvas, svg, iframe {
position: absolute;
border: 3px solid orange;
contain: size;
margin-bottom: 15px;
width: 0px;
height: 0px;
float: left;
clear: both;
}
</style>
<div>abc</div>
<video></video><br>
<video controls></video><br>
<img src="../support/60x60-green.png"><br>
<picture>
<source srcset="../support/60x60-green.png">
<img>
</picture><br>
<canvas></canvas><br>
<svg></svg><br>
<iframe></iframe>

Просмотреть файл

@ -0,0 +1,29 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Containment Test: Size containment replaced elements intrinsic size</title>
<link rel="help" href="https://drafts.csswg.org/css-contain-1/#containment-size">
<link rel="match" href="contain-size-replaced-005-ref.html">
<meta name=assert content="This test checks that intrinsic size of out-of-flow replaced elements with 'contain: size' is zero.">
<style>
body > div, video, audio, img, canvas, svg, iframe {
position: absolute;
border: 3px solid orange;
contain: size;
margin-bottom: 15px;
width: min-content;
height: min-content;
float: left;
clear: both;
}
</style>
<div>abc</div>
<video></video><br>
<video controls></video><br>
<img src="../support/60x60-green.png"><br>
<picture>
<source srcset="../support/60x60-green.png">
<img>
</picture><br>
<canvas></canvas><br>
<svg></svg><br>
<iframe></iframe>

Просмотреть файл

@ -0,0 +1,25 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Containment Reference: Size containment replaced elements intrinsic size</title>
<style>
body > div, video, audio, img, canvas, svg, iframe {
border: 3px solid orange;
contain: size;
margin-bottom: 15px;
width: 25px;
height: 35px;
float: left;
clear: both;
}
</style>
<div>abc</div>
<video></video><br>
<video controls></video><br>
<img src="../support/60x60-green.png"><br>
<picture>
<source srcset="../support/60x60-green.png">
<img>
</picture><br>
<canvas></canvas><br>
<svg></svg><br>
<iframe></iframe>

Просмотреть файл

@ -0,0 +1,30 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Containment Test: Size containment replaced elements intrinsic size</title>
<link rel="help" href="https://drafts.csswg.org/css-contain-1/#containment-size">
<link rel="match" href="contain-size-replaced-006-ref.html">
<meta name=assert content="This test checks that min-width/min-height of replaced elements with 'contain: size' works.">
<style>
body > div, video, audio, img, canvas, svg, iframe {
border: 3px solid orange;
contain: size;
margin-bottom: 15px;
min-width: 25px;
min-height: 35px;
width: min-content;
height: min-content;
float: left;
clear: both;
}
</style>
<div>abc</div>
<video></video><br>
<video controls></video><br>
<img src="../support/60x60-green.png"><br>
<picture>
<source srcset="../support/60x60-green.png">
<img>
</picture><br>
<canvas></canvas><br>
<svg></svg><br>
<iframe></iframe>

Просмотреть файл

@ -0,0 +1,44 @@
<!DOCTYPE html>
<link rel="author" title="David Grogan" href="mailto:dgrogan@chromium.org">
<link rel="help" href="https://drafts.csswg.org/css-flexbox/#flex-base-size">
<link rel="help" href="https://drafts.csswg.org/css-flexbox/#algo-cross-item">
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
<meta name="flags" content="" />
<meta name="assert" content="A column flex container shrink wraps items both when determining their flex base sizes and when laying them out after their flexed size has been determined." />
<style>
x-flexbox {
display: flex;
flex-direction: column;
}
x-item {
display: block;
background: red;
/* Override default alignment of "stretch" because items don't shrink to fit
when they are stretched. */
align-self: start;
}
#mainSizeDependsOnCrossSize {
padding-bottom: 50%;
background: green;
}
#widthSetter {
width: 100px;
height: 50px;
background: green;
}
</style>
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<x-flexbox>
<x-item> <!-- If fit-content is skipped when determining flex base size, this item gets a main size of 50px + 100vw / 2. -->
<div id=widthSetter></div>
<div id=mainSizeDependsOnCrossSize></div>
</x-item>
</x-flexbox>

Просмотреть файл

@ -0,0 +1,43 @@
<!DOCTYPE html>
<title>Definite cross sizes</title>
<link rel="author" title="David Grogan" href="mailto:dgrogan@chromium.org">
<link rel="help" href="https://drafts.csswg.org/css-flexbox-1/#definite-sizes">
<link rel="match" href="../reference/ref-filled-green-100px-square.xht" />
<meta name="flags" content="" />
<meta name="assert" content="In a column flexbox, the height of a fully inflexible item with fixed flex-basis is definite, and percent children resolve against the flex basis, not the specified height." />
<style>
x-flexbox {
display: flex;
flex-direction: column;
}
x-item {
height: 0px;
flex: 0 0 100px;
}
x-item>div {
width: 100px;
height: 100%;
background: green;
}
#reference-overlapped-red {
position: absolute;
background-color: red;
width: 100px;
height: 100px;
z-index: -1;
}
</style>
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div id="reference-overlapped-red"></div>
<x-flexbox>
<x-item>
<div></div>
</x-item>
</x-flexbox>

Просмотреть файл

@ -0,0 +1,8 @@
<!DOCTYPE html>
<html lang="en">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>CSS Test: font-size: xxx-large; size equivalence</title>
<link rel="author" title="Joel Olsson" href="joel_1st@hotmail.com">
<body>
<p>Test passes if the line below is identical, with matching font size.</p>
<font size=7>Foo</font>

Просмотреть файл

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>CSS Test: font-size: xxx-large; size equivalence</title>
<link rel="author" title="Joel Olsson" href="joel_1st@hotmail.com">
<link rel="help" href="https://www.w3.org/TR/css-fonts-4/#font-size-prop">
<link rel="help" href="https://www.w3.org/TR/css-fonts-4/#absolute-size-mapping">
<link rel="match" href="font-weight-xxx-large-ref.html">
<body>
<p>Test passes if the line below is identical, with matching font size.</p>
<span style="font-size: xxx-large">Foo</span>

Просмотреть файл

@ -0,0 +1,16 @@
<!DOCTYPE html>
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=991446">
<meta name="assert" content="The renderer should not crash.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<body style="display: inline-grid; align-items: end;">
<div style="border-top-color: inherit;"></div>
text
</body>
<script>
test(() => {
document.body.offsetTop;
document.body.style.alignItems = '';
document.body.offsetTop;
}, 'The renderer should not crash.');
</script>

Просмотреть файл

@ -60,8 +60,8 @@
<script id="code" type="text/worklet">
registerLayout('block-size-100', class {
*intrinsicSizes() {}
*layout() {
async intrinsicSizes() {}
async layout() {
return {autoBlockSize: 100};
}
});

Просмотреть файл

@ -42,14 +42,14 @@
<script id="code" type="text/worklet">
registerLayout('block-size-100', class {
*intrinsicSizes() {}
*layout() {
async intrinsicSizes() {}
async layout() {
return {autoBlockSize: 100};
}
});
registerLayout('block-size-50', class {
*intrinsicSizes() {}
*layout() {
async intrinsicSizes() {}
async layout() {
return {autoBlockSize: 50};
}
});

Просмотреть файл

@ -44,8 +44,8 @@
<script id="code" type="text/worklet">
registerLayout('block-size-100', class {
*intrinsicSizes() {}
*layout() {
async intrinsicSizes() {}
async layout() {
return {autoBlockSize: 100};
}
});

Просмотреть файл

@ -50,8 +50,8 @@
<script id="code" type="text/worklet">
registerLayout('block-size-100', class {
*intrinsicSizes() {}
*layout() {
async intrinsicSizes() {}
async layout() {
return {autoBlockSize: 100};
}
});

Просмотреть файл

@ -38,8 +38,8 @@
<script id="code" type="text/worklet">
registerLayout('block-size-negative', class {
*intrinsicSizes() {}
*layout() {
async intrinsicSizes() {}
async layout() {
return {autoBlockSize: -100};
}
});

Просмотреть файл

@ -55,8 +55,8 @@
<script id="code" type="text/worklet">
registerLayout('registered', class {
*intrinsicSizes() {}
*layout() { throw Error(); }
async intrinsicSizes() {}
async layout() { throw Error(); }
});
</script>

Просмотреть файл

@ -29,18 +29,17 @@
<script id="code" type="text/worklet">
registerLayout('parent', class {
*intrinsicSizes() {}
*layout() {}
*layout([child], edges, constraints, styleMap) {
async intrinsicSizes() {}
async layout([child], edges, constraints, styleMap) {
let childFragment = null;
try {
childFragment = yield child.layoutNextFragment({
childFragment = await child.layoutNextFragment({
data: { fn: function() {} }
});
} catch(e) {
// Success! The structured cloning algorithm should have thrown an error.
childFragment = yield child.layoutNextFragment({});
childFragment = await child.layoutNextFragment({});
return {autoBlockSize: 100, childFragments: [childFragment]};
}
@ -49,9 +48,8 @@ registerLayout('parent', class {
});
registerLayout('child', class {
*intrinsicSizes() {}
*layout() {}
*layout() {
async intrinsicSizes() {}
async layout() {
return {autoBlockSize: 0};
}
});

Просмотреть файл

@ -29,23 +29,17 @@
<script id="code" type="text/worklet">
registerLayout('parent', class {
*intrinsicSizes() {}
*layout() {}
*layout([child], edges, constraints, styleMap) {
async intrinsicSizes() {}
async layout([child], edges, constraints, styleMap) {
let childFragment = null;
try {
// We need SABs to be enabled to properly run this test.
if (typeof SharedArrayBuffer !== 'undefined') {
childFragment = yield child.layoutNextFragment({
childFragment = await child.layoutNextFragment({
data: { sab: new SharedArrayBuffer(4) }
});
} else {
throw Error();
}
} catch(e) {
// Success! The structured cloning algorithm should have thrown an error.
childFragment = yield child.layoutNextFragment({});
childFragment = await child.layoutNextFragment({});
return {autoBlockSize: 100, childFragments: [childFragment]};
}
@ -54,9 +48,8 @@ registerLayout('parent', class {
});
registerLayout('child', class {
*intrinsicSizes() {}
*layout() {}
*layout() {
async intrinsicSizes() {}
async layout() {
return {autoBlockSize: 0};
}
});

Просмотреть файл

@ -35,11 +35,10 @@ const DATA = {
};
registerLayout('parent', class {
*intrinsicSizes() {}
*layout() {}
*layout([child], edges, constraints, styleMap) {
async intrinsicSizes() {}
async layout([child], edges, constraints, styleMap) {
const childFragment = yield child.layoutNextFragment({data: DATA});
const childFragment = await child.layoutNextFragment({data: DATA});
// If the child's block-size is 100 the structured cloning worked.
if (childFragment.blockSize === 100) {
@ -51,9 +50,8 @@ registerLayout('parent', class {
});
registerLayout('child', class {
*intrinsicSizes() {}
*layout() {}
*layout(children, edges, constraints, styleMap) {
async intrinsicSizes() {}
async layout(children, edges, constraints, styleMap) {
// Use JSON.stringify to make sure the structured cloning worked.
if (constraints.data !== DATA &&
JSON.stringify(constraints.data) === JSON.stringify(DATA)) {

Просмотреть файл

@ -40,8 +40,8 @@
<script id="code" type="text/worklet">
registerLayout('throwing-ctor', class {
constructor() { throw Error('fail!'); }
*intrinsicSizes() {}
*layout() {}
async intrinsicSizes() {}
async layout() {}
});
</script>

Просмотреть файл

@ -39,8 +39,8 @@
<script id="code" type="text/worklet">
registerLayout('throwing-layout', class {
*intrinsicSizes() {}
*layout() { throw Error('fail!'); }
async intrinsicSizes() {}
async layout() { throw Error('fail!'); }
});
</script>

Просмотреть файл

@ -32,15 +32,15 @@
registerLayout('bad-child-layout', class {
static get inputProperties() { return ['--fail']; }
*intrinsicSizes() {}
*layout(children, _, __, styleMap) {
async intrinsicSizes() {}
async layout(children, _, __, styleMap) {
if (styleMap.get('--fail').toString() !== 'true') {
this.child = children[0];
}
// Try to perform layout on the child. If its invalid (we skipped the if
// statement above) we should fallback to block layout.
const fragment = yield this.child.layoutNextFragment({});
const fragment = await this.child.layoutNextFragment({});
return {autoBlockSize: 0, childFragments: [fragment]};
}

Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше