mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
Update web-platform-tests to revision b'51407aaa3d17aa440f6807caef5e390dc779087a'
This commit is contained in:
parent
60b642968b
commit
4db11786c5
263 changed files with 6777 additions and 1228 deletions
|
@ -4,7 +4,7 @@
|
||||||
expected: TIMEOUT
|
expected: TIMEOUT
|
||||||
|
|
||||||
[Opening a blob URL in a new window immediately before revoking it works.]
|
[Opening a blob URL in a new window immediately before revoking it works.]
|
||||||
expected: TIMEOUT
|
expected: FAIL
|
||||||
|
|
||||||
[Fetching a blob URL immediately before revoking it works in an iframe.]
|
[Fetching a blob URL immediately before revoking it works in an iframe.]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
[hit-test-floats-003.html]
|
||||||
|
[Miss float below something else]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
[hsl-008.html]
|
||||||
|
expected: FAIL
|
|
@ -0,0 +1,2 @@
|
||||||
|
[rgba-004.html]
|
||||||
|
expected: FAIL
|
|
@ -0,0 +1,2 @@
|
||||||
|
[table-item-flex-percentage-min-width.html]
|
||||||
|
expected: FAIL
|
|
@ -0,0 +1,10 @@
|
||||||
|
[advance-override-serialization.html]
|
||||||
|
[One parameter should be serialized as one parameter]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Two different parameters should be serialized as two parameters]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Two identical parameters should be simplified into one parameter]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
[advance-override-vertical-upright.html]
|
||||||
|
expected: FAIL
|
|
@ -0,0 +1,34 @@
|
||||||
|
[tab-size-computed-value-001.html]
|
||||||
|
[testing tab-size: 4]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[testing tab-size: 0.5in]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[testing tab-size: 2.54cm]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[testing tab-size: 25.4mm]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[testing tab-size: 18pt]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[testing tab-size: 5pc]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[testing tab-size: 101.6Q]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[testing tab-size: 7px]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[testing tab-size: 1em]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[testing tab-size: 2ex]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[testing tab-size: 3rem]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,46 @@
|
||||||
|
[calc-infinity-nan-computed.html]
|
||||||
|
[Property width value 'calc(NaN * 1px)']
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Property width value 'calc(infinity * 1px)']
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Property width value 'calc(infinity * 1cm)']
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Property width value 'calc(NaN * 1rem)']
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Property width value 'calc(infinity * 1px - infinity * 1%)']
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Property width value 'calc(infinity * 1px + infinity * 1%)']
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Property width value 'calc(min(NaN * 1px, infinity * 1px) + max(infinity * 1px, -infinity * 1px))']
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Property width value 'calc(infinity * 1px - max(infinity * 1%, 0%))']
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Property width value 'calc(max(infinity * 1px, 10px))']
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Property margin-left value 'calc(-infinity * 1px)']
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Property margin-left value 'calc(min(1px, -infinity * 1%))']
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Property margin-left value 'calc(-infinity * 1%)']
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Property margin-left value 'calc(max(10000px, 0px) + min(-infinity * 1px, infinity * 1px))']
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Property margin-left value 'calc(-infinity * 1px - infinity * 1px)']
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Property margin-left value 'calc(min(-infinity * 1px, 10px))']
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
[user-valid.html]
|
||||||
|
[:user-valid selector should be supported]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
[HTMLMediaElement.html]
|
|
||||||
expected: TIMEOUT
|
|
|
@ -309,24 +309,18 @@
|
||||||
[Response: combined response Content-Type: text/html;" \\" text/plain ";charset=GBK]
|
[Response: combined response Content-Type: text/html;" \\" text/plain ";charset=GBK]
|
||||||
expected: NOTRUN
|
expected: NOTRUN
|
||||||
|
|
||||||
[<iframe>: separate response Content-Type: text/html */*]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[<iframe>: combined response Content-Type: text/html;x=" text/plain]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[<iframe>: separate response Content-Type: text/plain */*]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[<iframe>: combined response Content-Type: */* text/html]
|
[<iframe>: combined response Content-Type: */* text/html]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[<iframe>: separate response Content-Type: text/plain */*;charset=gbk]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[<iframe>: separate response Content-Type: text/html;" text/plain]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[<iframe>: combined response Content-Type: text/html;" \\" text/plain]
|
[<iframe>: combined response Content-Type: text/html;" \\" text/plain]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
[<iframe>: separate response Content-Type: text/html */*;charset=gbk]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[<iframe>: combined response Content-Type: text/html */*;charset=gbk]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[<iframe>: combined response Content-Type: text/html;" text/plain]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -59,3 +59,6 @@
|
||||||
[separate text/javascript; charset=windows-1252 text/javascript]
|
[separate text/javascript; charset=windows-1252 text/javascript]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
[separate text/javascript;charset=windows-1252 text/javascript]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
[traverse_the_history_5.html]
|
[traverse_the_history_2.html]
|
||||||
[Multiple history traversals, last would be aborted]
|
[Multiple history traversals, last would be aborted]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
[cross-origin-objects-on-new-window.html]
|
||||||
|
expected: TIMEOUT
|
|
@ -1,8 +1,8 @@
|
||||||
[embedded-opener-remove-frame.html]
|
[embedded-opener-remove-frame.html]
|
||||||
expected: CRASH
|
expected: TIMEOUT
|
||||||
[opener of discarded nested browsing context]
|
[opener of discarded nested browsing context]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[opener of discarded auxiliary browsing context]
|
[opener of discarded auxiliary browsing context]
|
||||||
expected: FAIL
|
expected: TIMEOUT
|
||||||
|
|
||||||
|
|
|
@ -4,14 +4,14 @@
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[Host element with delegatesFocus including no focusable descendants should be skipped]
|
[Host element with delegatesFocus including no focusable descendants should be skipped]
|
||||||
expected: NOTRUN
|
expected: FAIL
|
||||||
|
|
||||||
[Element with tabindex should support autofocus]
|
[Element with tabindex should support autofocus]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[Area element should support autofocus]
|
[Area element should support autofocus]
|
||||||
expected: NOTRUN
|
|
||||||
|
|
||||||
[Host element with delegatesFocus should support autofocus]
|
|
||||||
expected: TIMEOUT
|
expected: TIMEOUT
|
||||||
|
|
||||||
|
[Host element with delegatesFocus should support autofocus]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
[table-row-height.html]
|
||||||
|
expected: FAIL
|
|
@ -0,0 +1,4 @@
|
||||||
|
[picture-aspect-ratio.html]
|
||||||
|
[Computed style]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[iframe_sandbox_popups_escaping-3.html]
|
[iframe_sandbox_popups_escaping-3.html]
|
||||||
expected: TIMEOUT
|
|
||||||
[Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used]
|
[Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used]
|
||||||
expected: TIMEOUT
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
[iframe_sandbox_popups_nonescaping-1.html]
|
[iframe_sandbox_popups_nonescaping-1.html]
|
||||||
expected: CRASH
|
expected: TIMEOUT
|
||||||
[Check that popups from a sandboxed iframe do not escape the sandbox]
|
[Check that popups from a sandboxed iframe do not escape the sandbox]
|
||||||
expected: NOTRUN
|
expected: NOTRUN
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
[iframe_sandbox_popups_nonescaping-2.html]
|
[iframe_sandbox_popups_nonescaping-2.html]
|
||||||
expected: CRASH
|
expected: TIMEOUT
|
||||||
[Check that popups from a sandboxed iframe do not escape the sandbox]
|
[Check that popups from a sandboxed iframe do not escape the sandbox]
|
||||||
expected: NOTRUN
|
expected: NOTRUN
|
||||||
|
|
||||||
|
|
|
@ -5,48 +5,21 @@
|
||||||
[textarea: selectionDirection a second time (must not fire select)]
|
[textarea: selectionDirection a second time (must not fire select)]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[input type url: selectionDirection a second time (must not fire select)]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[textarea: selectionEnd a second time (must not fire select)]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[input type url: setSelectionRange() a second time (must not fire select)]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[input type password: selectionStart a second time (must not fire select)]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[input type url: setRangeText() a second time (must not fire select)]
|
[input type url: setRangeText() a second time (must not fire select)]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[input type search: setRangeText() a second time (must not fire select)]
|
[input type search: setRangeText() a second time (must not fire select)]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[input type url: selectionEnd out of range a second time (must not fire select)]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[input type url: selectionEnd a second time (must not fire select)]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[input type search: setSelectionRange out of range a second time (must not fire select)]
|
[input type search: setSelectionRange out of range a second time (must not fire select)]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[input type search: selectionStart a second time (must not fire select)]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[textarea: setSelectionRange() a second time (must not fire select)]
|
[textarea: setSelectionRange() a second time (must not fire select)]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[input type text: selectionEnd a second time (must not fire select)]
|
[input type text: selectionEnd a second time (must not fire select)]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[input type text: selectionDirection a second time (must not fire select)]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[input type text: setSelectionRange() a second time (must not fire select)]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[input type search: selectionEnd a second time (must not fire select)]
|
[input type search: selectionEnd a second time (must not fire select)]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -59,9 +32,27 @@
|
||||||
[input type password: selectionDirection a second time (must not fire select)]
|
[input type password: selectionDirection a second time (must not fire select)]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[input type password: setRangeText() a second time (must not fire select)]
|
[textarea: selectionStart out of range a second time (must not fire select)]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[input type password: selectionStart out of range a second time (must not fire select)]
|
[textarea: selectionEnd out of range a second time (must not fire select)]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[textarea: setSelectionRange out of range 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 text: setSelectionRange out of range 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 url: setSelectionRange 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
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[htmlanchorelement_noopener.html]
|
[htmlanchorelement_noopener.html]
|
||||||
expected: TIMEOUT
|
|
||||||
[Check that targeting of rel=noopener with a given name reuses an existing window with that name]
|
[Check that targeting of rel=noopener with a given name reuses an existing window with that name]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -7,8 +6,8 @@
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[Check that rel=noopener with target=_parent does a normal load]
|
[Check that rel=noopener with target=_parent does a normal load]
|
||||||
expected: NOTRUN
|
expected: FAIL
|
||||||
|
|
||||||
[Check that rel=noopener with target=_self does a normal load]
|
[Check that rel=noopener with target=_self does a normal load]
|
||||||
expected: NOTRUN
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
[module-static-import-delayed.html]
|
||||||
|
[document.write in an imported module]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[audiocontext-not-fully-active.html]
|
[audiocontext-not-fully-active.html]
|
||||||
expected: TIMEOUT
|
|
||||||
[frame in navigated remote-site frame]
|
[frame in navigated remote-site frame]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -2,3 +2,9 @@
|
||||||
[test_element_in_object]
|
[test_element_in_object]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
[test_array_in_object]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[test_object_in_array]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
[018.html]
|
||||||
|
expected: TIMEOUT
|
||||||
|
[origin of the script that invoked the method, javascript:]
|
||||||
|
expected: TIMEOUT
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
[018.html]
|
||||||
|
expected: TIMEOUT
|
||||||
|
[origin of the script that invoked the method, javascript:]
|
||||||
|
expected: TIMEOUT
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
[import-in-moduleworker.html]
|
[import-in-moduleworker.html]
|
||||||
|
expected: ERROR
|
||||||
[Base URL in module dedicated workers: import]
|
[Base URL in module dedicated workers: import]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[Opening a blob URL in a new window immediately before revoking it works.]
|
[Opening a blob URL in a new window immediately before revoking it works.]
|
||||||
expected: TIMEOUT
|
expected: FAIL
|
||||||
|
|
||||||
[Opening a blob URL in a noopener about:blank window immediately before revoking it works.]
|
[Opening a blob URL in a noopener about:blank window immediately before revoking it works.]
|
||||||
expected: TIMEOUT
|
expected: TIMEOUT
|
||||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -0,0 +1,4 @@
|
||||||
|
[hit-test-floats-003.html]
|
||||||
|
[Miss float below something else]
|
||||||
|
expected: FAIL
|
||||||
|
|
2
tests/wpt/metadata/css/css-color/hsl-008.html.ini
Normal file
2
tests/wpt/metadata/css/css-color/hsl-008.html.ini
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
[hsl-008.html]
|
||||||
|
expected: FAIL
|
2
tests/wpt/metadata/css/css-color/rgba-004.html.ini
Normal file
2
tests/wpt/metadata/css/css-color/rgba-004.html.ini
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
[rgba-004.html]
|
||||||
|
expected: FAIL
|
|
@ -0,0 +1,2 @@
|
||||||
|
[table-item-flex-percentage-min-width.html]
|
||||||
|
expected: FAIL
|
|
@ -0,0 +1,10 @@
|
||||||
|
[advance-override-serialization.html]
|
||||||
|
[One parameter should be serialized as one parameter]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Two different parameters should be serialized as two parameters]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Two identical parameters should be simplified into one parameter]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
[advance-override-vertical-upright.html]
|
||||||
|
expected: FAIL
|
|
@ -0,0 +1,34 @@
|
||||||
|
[tab-size-computed-value-001.html]
|
||||||
|
[testing tab-size: 4]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[testing tab-size: 0.5in]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[testing tab-size: 2.54cm]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[testing tab-size: 25.4mm]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[testing tab-size: 18pt]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[testing tab-size: 5pc]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[testing tab-size: 101.6Q]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[testing tab-size: 7px]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[testing tab-size: 1em]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[testing tab-size: 2ex]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[testing tab-size: 3rem]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -2,3 +2,6 @@
|
||||||
[Hit test intersecting scaled box]
|
[Hit test intersecting scaled box]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
[Hit test within unscaled box]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,46 @@
|
||||||
|
[calc-infinity-nan-computed.html]
|
||||||
|
[Property width value 'calc(NaN * 1px)']
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Property width value 'calc(infinity * 1px)']
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Property width value 'calc(infinity * 1cm)']
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Property width value 'calc(NaN * 1rem)']
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Property width value 'calc(infinity * 1px - infinity * 1%)']
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Property width value 'calc(infinity * 1px + infinity * 1%)']
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Property width value 'calc(min(NaN * 1px, infinity * 1px) + max(infinity * 1px, -infinity * 1px))']
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Property width value 'calc(infinity * 1px - max(infinity * 1%, 0%))']
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Property width value 'calc(max(infinity * 1px, 10px))']
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Property margin-left value 'calc(-infinity * 1px)']
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Property margin-left value 'calc(min(1px, -infinity * 1%))']
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Property margin-left value 'calc(-infinity * 1%)']
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Property margin-left value 'calc(max(10000px, 0px) + min(-infinity * 1px, infinity * 1px))']
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Property margin-left value 'calc(-infinity * 1px - infinity * 1px)']
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Property margin-left value 'calc(min(-infinity * 1px, 10px))']
|
||||||
|
expected: FAIL
|
||||||
|
|
4
tests/wpt/metadata/css/selectors/user-valid.html.ini
Normal file
4
tests/wpt/metadata/css/selectors/user-valid.html.ini
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
[user-valid.html]
|
||||||
|
[:user-valid selector should be supported]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
[HTMLMediaElement.html]
|
|
||||||
expected: TIMEOUT
|
|
|
@ -309,24 +309,18 @@
|
||||||
[fetch(): separate response Content-Type: text/plain ]
|
[fetch(): separate response Content-Type: text/plain ]
|
||||||
expected: NOTRUN
|
expected: NOTRUN
|
||||||
|
|
||||||
[<iframe>: separate response Content-Type: text/html */*]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[<iframe>: combined response Content-Type: text/html;x=" text/plain]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[<iframe>: separate response Content-Type: text/plain */*]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[<iframe>: combined response Content-Type: */* text/html]
|
[<iframe>: combined response Content-Type: */* text/html]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[<iframe>: separate response Content-Type: text/plain */*;charset=gbk]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[<iframe>: separate response Content-Type: text/html;" text/plain]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[<iframe>: combined response Content-Type: text/html;" \\" text/plain]
|
[<iframe>: combined response Content-Type: text/html;" \\" text/plain]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
[<iframe>: separate response Content-Type: text/html */*;charset=gbk]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[<iframe>: combined response Content-Type: text/html */*;charset=gbk]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[<iframe>: combined response Content-Type: text/html;" text/plain]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -59,3 +59,6 @@
|
||||||
[separate text/javascript; charset=windows-1252 text/javascript]
|
[separate text/javascript; charset=windows-1252 text/javascript]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
[separate text/javascript;charset=windows-1252 text/javascript]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
[traverse_the_history_5.html]
|
[traverse_the_history_2.html]
|
||||||
[Multiple history traversals, last would be aborted]
|
[Multiple history traversals, last would be aborted]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
[cross-origin-objects-on-new-window.html]
|
||||||
|
expected: TIMEOUT
|
|
@ -1,5 +1,5 @@
|
||||||
[embedded-opener-remove-frame.html]
|
[embedded-opener-remove-frame.html]
|
||||||
expected: CRASH
|
expected: TIMEOUT
|
||||||
[opener and "removed" embedded documents]
|
[opener and "removed" embedded documents]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -7,5 +7,5 @@
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[opener of discarded auxiliary browsing context]
|
[opener of discarded auxiliary browsing context]
|
||||||
expected: FAIL
|
expected: TIMEOUT
|
||||||
|
|
||||||
|
|
|
@ -7,11 +7,11 @@
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[Host element with delegatesFocus including no focusable descendants should be skipped]
|
[Host element with delegatesFocus including no focusable descendants should be skipped]
|
||||||
expected: NOTRUN
|
expected: FAIL
|
||||||
|
|
||||||
[Area element should support autofocus]
|
[Area element should support autofocus]
|
||||||
expected: NOTRUN
|
|
||||||
|
|
||||||
[Host element with delegatesFocus should support autofocus]
|
|
||||||
expected: TIMEOUT
|
expected: TIMEOUT
|
||||||
|
|
||||||
|
[Host element with delegatesFocus should support autofocus]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
[table-row-height.html]
|
||||||
|
expected: FAIL
|
|
@ -0,0 +1,4 @@
|
||||||
|
[picture-aspect-ratio.html]
|
||||||
|
[Computed style]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
[iframe_sandbox_popups_escaping-3.html]
|
[iframe_sandbox_popups_escaping-3.html]
|
||||||
type: testharness
|
type: testharness
|
||||||
expected: TIMEOUT
|
|
||||||
[Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used]
|
[Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used]
|
||||||
expected: TIMEOUT
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[iframe_sandbox_popups_nonescaping-1.html]
|
[iframe_sandbox_popups_nonescaping-1.html]
|
||||||
type: testharness
|
type: testharness
|
||||||
expected: CRASH
|
expected: TIMEOUT
|
||||||
[Check that popups from a sandboxed iframe do not escape the sandbox]
|
[Check that popups from a sandboxed iframe do not escape the sandbox]
|
||||||
expected: NOTRUN
|
expected: NOTRUN
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[iframe_sandbox_popups_nonescaping-2.html]
|
[iframe_sandbox_popups_nonescaping-2.html]
|
||||||
type: testharness
|
type: testharness
|
||||||
expected: CRASH
|
expected: TIMEOUT
|
||||||
[Check that popups from a sandboxed iframe do not escape the sandbox]
|
[Check that popups from a sandboxed iframe do not escape the sandbox]
|
||||||
expected: NOTRUN
|
expected: NOTRUN
|
||||||
|
|
||||||
|
|
|
@ -5,48 +5,21 @@
|
||||||
[textarea: selectionDirection a second time (must not fire select)]
|
[textarea: selectionDirection a second time (must not fire select)]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[input type url: selectionDirection a second time (must not fire select)]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[textarea: selectionEnd a second time (must not fire select)]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[input type url: setSelectionRange() a second time (must not fire select)]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[input type password: selectionStart a second time (must not fire select)]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[input type url: setRangeText() a second time (must not fire select)]
|
[input type url: setRangeText() a second time (must not fire select)]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[input type search: setRangeText() a second time (must not fire select)]
|
[input type search: setRangeText() a second time (must not fire select)]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[input type url: selectionEnd out of range a second time (must not fire select)]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[input type url: selectionEnd a second time (must not fire select)]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[input type search: setSelectionRange out of range a second time (must not fire select)]
|
[input type search: setSelectionRange out of range a second time (must not fire select)]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[input type search: selectionStart a second time (must not fire select)]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[textarea: setSelectionRange() a second time (must not fire select)]
|
[textarea: setSelectionRange() a second time (must not fire select)]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[input type text: selectionEnd a second time (must not fire select)]
|
[input type text: selectionEnd a second time (must not fire select)]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[input type text: selectionDirection a second time (must not fire select)]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[input type text: setSelectionRange() a second time (must not fire select)]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[input type search: selectionEnd a second time (must not fire select)]
|
[input type search: selectionEnd a second time (must not fire select)]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -59,9 +32,27 @@
|
||||||
[input type password: selectionDirection a second time (must not fire select)]
|
[input type password: selectionDirection a second time (must not fire select)]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[input type password: setRangeText() a second time (must not fire select)]
|
[textarea: selectionStart out of range a second time (must not fire select)]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[input type password: selectionStart out of range a second time (must not fire select)]
|
[textarea: selectionEnd out of range a second time (must not fire select)]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[textarea: setSelectionRange out of range 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 text: setSelectionRange out of range 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 url: setSelectionRange 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
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
[htmlanchorelement_noopener.html]
|
[htmlanchorelement_noopener.html]
|
||||||
type: testharness
|
type: testharness
|
||||||
expected: TIMEOUT
|
|
||||||
[Check that targeting of rel=noopener with a given name ignores an existing window with that name]
|
[Check that targeting of rel=noopener with a given name ignores an existing window with that name]
|
||||||
expected: NOTRUN
|
expected: NOTRUN
|
||||||
|
|
||||||
|
@ -11,8 +10,8 @@
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[Check that rel=noopener with target=_parent does a normal load]
|
[Check that rel=noopener with target=_parent does a normal load]
|
||||||
expected: NOTRUN
|
expected: FAIL
|
||||||
|
|
||||||
[Check that rel=noopener with target=_self does a normal load]
|
[Check that rel=noopener with target=_self does a normal load]
|
||||||
expected: NOTRUN
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
[module-static-import-delayed.html]
|
||||||
|
[document.write in an imported module]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -1,22 +0,0 @@
|
||||||
[import-module-scripts.https.html]
|
|
||||||
[Dynamic import.]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Static import and then dynamic import.]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[eval(import()).]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Dynamic import and then static import.]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Static import.]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Nested dynamic import.]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Nested static import.]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[audiocontext-not-fully-active.html]
|
[audiocontext-not-fully-active.html]
|
||||||
expected: TIMEOUT
|
|
||||||
[frame in navigated remote-site frame]
|
[frame in navigated remote-site frame]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -2,3 +2,9 @@
|
||||||
[test_element_in_object]
|
[test_element_in_object]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
[test_array_in_object]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[test_object_in_array]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
|
5
tests/wpt/metadata/webmessaging/with-ports/018.html.ini
Normal file
5
tests/wpt/metadata/webmessaging/with-ports/018.html.ini
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
[018.html]
|
||||||
|
expected: TIMEOUT
|
||||||
|
[origin of the script that invoked the method, javascript:]
|
||||||
|
expected: TIMEOUT
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
[018.html]
|
||||||
|
expected: TIMEOUT
|
||||||
|
[origin of the script that invoked the method, javascript:]
|
||||||
|
expected: TIMEOUT
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
[import-in-moduleworker.html]
|
[import-in-moduleworker.html]
|
||||||
|
expected: ERROR
|
||||||
[Base URL in module dedicated workers: import]
|
[Base URL in module dedicated workers: import]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,7 @@ messages.json: .FORCE
|
||||||
https://github.com/validator/validator/releases/download/jar/vnu.jar
|
https://github.com/validator/validator/releases/download/jar/vnu.jar
|
||||||
$(JAVA) $(JAVAFLAGS) -cp vnu.jar nu.validator.client.TestRunner \
|
$(JAVA) $(JAVAFLAGS) -cp vnu.jar nu.validator.client.TestRunner \
|
||||||
--ignore=html-its --write-messages $@
|
--ignore=html-its --write-messages $@
|
||||||
$(PYTHON) $(PYTHONFLAGS) -mjson.tool $@ > $@.tmp
|
$(PYTHON) $(PYTHONFLAGS) -mjson.tool --sort-keys $@ > $@.tmp
|
||||||
mv $@.tmp $@
|
mv $@.tmp $@
|
||||||
|
|
||||||
test: .FORCE
|
test: .FORCE
|
||||||
|
|
|
@ -0,0 +1,125 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>Embedded Enforcement: Subsumption Algorithm - Wildcard lists.</title>
|
||||||
|
<script src="/resources/testharness.js"></script>
|
||||||
|
<script src="/resources/testharnessreport.js"></script>
|
||||||
|
<script src="support/testharness-helper.sub.js"></script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<script>
|
||||||
|
var tests = [
|
||||||
|
{ "name" : "Wildcard list subsumes an empty source list.",
|
||||||
|
"required_csp": "img-src *",
|
||||||
|
"returned_csp_1": "img-src ",
|
||||||
|
"expected": IframeLoad.EXPECT_LOAD },
|
||||||
|
{ "name" : "Wildcard list subsumes a source list with `none`.",
|
||||||
|
"required_csp": "img-src *",
|
||||||
|
"returned_csp_1": "img-src 'none'",
|
||||||
|
"expected": IframeLoad.EXPECT_LOAD },
|
||||||
|
{ "name" : "Wildcard list subsumes another wildcard list.",
|
||||||
|
"required_csp": "img-src *",
|
||||||
|
"returned_csp_1": "img-src *",
|
||||||
|
"expected": IframeLoad.EXPECT_LOAD },
|
||||||
|
{ "name" : "Wildcard list subsumes a list of policies with wildcards in source lists.",
|
||||||
|
"required_csp": "img-src *",
|
||||||
|
"returned_csp_1": "img-src *",
|
||||||
|
"returned_csp_2": "img-src *",
|
||||||
|
"expected": IframeLoad.EXPECT_LOAD },
|
||||||
|
{ "name" : "Wildcard list is equivalent to a specific list of scheme expressions and their secure variants.",
|
||||||
|
"required_csp": "https: http: ftp: ws: wss:",
|
||||||
|
"returned_csp_1": "img-src *",
|
||||||
|
"expected": IframeLoad.EXPECT_LOAD },
|
||||||
|
{ "name" : "Wildcard list is equivalent to a specific list of scheme expressions.",
|
||||||
|
"required_csp": "img-src http: ftp: ws:",
|
||||||
|
"returned_csp_1": "img-src *",
|
||||||
|
"returned_csp_2": "img-src https: http: ftp: ws: wss:",
|
||||||
|
"expected": IframeLoad.EXPECT_LOAD },
|
||||||
|
{ "name" : "Wildcard list subsumption logic should not affect other keyword expressions.",
|
||||||
|
"required_csp": "img-src http: ftp: ws: 'self'",
|
||||||
|
"returned_csp_1": "img-src *",
|
||||||
|
"expected": IframeLoad.EXPECT_LOAD },
|
||||||
|
{ "name" : "Wildcard list might include other scheme source expressions.",
|
||||||
|
"required_csp": "img-src data: blob: *",
|
||||||
|
"returned_csp_1": "img-src data://a.com ws://b.com ftp://c.com",
|
||||||
|
"expected": IframeLoad.EXPECT_LOAD },
|
||||||
|
{ "name" : "Effective wildcard list should be properly found.",
|
||||||
|
"required_csp": "img-src http://a.com ws://b.com ftp://c.com",
|
||||||
|
"returned_csp_1": "img-src *",
|
||||||
|
"returned_csp_2": "img-src http://a.com ws://b.com ftp://c.com",
|
||||||
|
"expected": IframeLoad.EXPECT_LOAD },
|
||||||
|
{ "name" : "Wildcard does not subsume empty list.",
|
||||||
|
"required_csp": "img-src *",
|
||||||
|
"returned_csp_1": null,
|
||||||
|
"expected": IframeLoad.EXPECT_BLOCK },
|
||||||
|
{ "name" : "Empty source list does not subsume a wildcard source list.",
|
||||||
|
"required_csp": "img-src ",
|
||||||
|
"returned_csp_1": "img-src *",
|
||||||
|
"expected": IframeLoad.EXPECT_BLOCK },
|
||||||
|
{ "name" : "'none' does not subsume a wildcard source list.",
|
||||||
|
"required_csp": "img-src 'none'",
|
||||||
|
"returned_csp_1": "img-src *",
|
||||||
|
"expected": IframeLoad.EXPECT_BLOCK },
|
||||||
|
{ "name" : "Wildcard source list does not subsume `data:` scheme source expression.",
|
||||||
|
"required_csp": "img-src *",
|
||||||
|
"returned_csp_1": "img-src data:",
|
||||||
|
"expected": IframeLoad.EXPECT_BLOCK },
|
||||||
|
{ "name" : "Wildcard source list does not subsume `blob:` scheme source expression.",
|
||||||
|
"required_csp": "img-src *",
|
||||||
|
"returned_csp_1": "img-src blob:",
|
||||||
|
"expected": IframeLoad.EXPECT_BLOCK },
|
||||||
|
{ "name" : "Source expressions do not subsume effective nonce expressions.",
|
||||||
|
"required_csp": "script-src http: ftp: ws:",
|
||||||
|
"returned_csp_1": "script-src * 'nonce-abc'",
|
||||||
|
"returned_csp_2": "script-src https: 'nonce-abc'",
|
||||||
|
"expected": IframeLoad.EXPECT_BLOCK },
|
||||||
|
{ "name" : "Wildcard source list is not subsumed by a host expression.",
|
||||||
|
"required_csp": "img-src https://another.test",
|
||||||
|
"returned_csp_1": "img-src *",
|
||||||
|
"expected": IframeLoad.EXPECT_BLOCK },
|
||||||
|
{ "name" : "Wildcard list with keywords is not subsumed by a wildcard list.",
|
||||||
|
"required_csp": "style-src *",
|
||||||
|
"returned_csp_1": "style-src * 'unsafe-eval'",
|
||||||
|
"expected": IframeLoad.EXPECT_BLOCK },
|
||||||
|
{ "name" : "Wildcard list with 'unsafe-hashed-attributes' is not subsumed by a wildcard list.",
|
||||||
|
"required_csp": "style-src *",
|
||||||
|
"returned_csp_1": "style-src * 'unsafe-hashed-attributes'",
|
||||||
|
"expected": IframeLoad.EXPECT_BLOCK },
|
||||||
|
{ "name" : "Wildcard list with 'unsafe-inline' is not subsumed by a wildcard list.",
|
||||||
|
"required_csp": "style-src *",
|
||||||
|
"returned_csp_1": "style-src * 'unsafe-inline'",
|
||||||
|
"expected": IframeLoad.EXPECT_BLOCK },
|
||||||
|
{ "name" : "Wildcard list with 'unsafe-eval' is not subsumed by a wildcard list.",
|
||||||
|
"required_csp": "img-src 'unsafe-eval'",
|
||||||
|
"returned_csp_1": "img-src * 'unsafe-eval'",
|
||||||
|
"expected": IframeLoad.EXPECT_BLOCK },
|
||||||
|
{ "name" : "Wildcard list with 'unsafe-eval' is not subsumed by list with a single expression.",
|
||||||
|
"required_csp": "img-src 'unsafe-hashed-attributes'",
|
||||||
|
"returned_csp_1": "img-src * 'unsafe-hashed-attributes'",
|
||||||
|
"expected": IframeLoad.EXPECT_BLOCK },
|
||||||
|
{ "name" : "The same as above but for 'unsafe-inline'.",
|
||||||
|
"required_csp": "img-src 'unsafe-inline'",
|
||||||
|
"returned_csp_1": "img-src * 'unsafe-inline'",
|
||||||
|
"expected": IframeLoad.EXPECT_BLOCK },
|
||||||
|
{ "name" : "`data:` is not subsumed by a wildcard list.",
|
||||||
|
"required_csp": "img-src *",
|
||||||
|
"returned_csp_1": "img-src data: blob:",
|
||||||
|
"returned_csp_2": "img-src data://a.com ws://b.com ftp://c.com",
|
||||||
|
"expected": IframeLoad.EXPECT_BLOCK },
|
||||||
|
{ "name" : "`blob:` is not subsumed by a wildcard list.",
|
||||||
|
"required_csp": "img-src * data:",
|
||||||
|
"returned_csp_1": "img-src data: blob:",
|
||||||
|
"returned_csp_2": "img-src blob://a.com ws://b.com ftp://c.com",
|
||||||
|
"expected": IframeLoad.EXPECT_BLOCK },
|
||||||
|
];
|
||||||
|
tests.forEach(test => {
|
||||||
|
async_test(t => {
|
||||||
|
var url = generateUrlWithPolicies(Host.CROSS_ORIGIN, test.returned_csp_1);
|
||||||
|
if (test.returned_csp_2)
|
||||||
|
url.searchParams.append("policy2", test.returned_csp_2);
|
||||||
|
assert_iframe_with_csp(t, url, test.required_csp, test.expected, test.name, null);
|
||||||
|
}, test.name);
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -2,10 +2,6 @@
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>test wildcard host name matching (asterisk as part of a subdomain is not accepted)</title>
|
<title>test wildcard host name matching (asterisk as part of a subdomain is not accepted)</title>
|
||||||
<meta http-equiv="Content-Security-Policy" content="script-src 'self' *w.{{host}}:{{ports[http][0]}} w*.{{host}}:{{ports[http][0]}} 'unsafe-inline';">
|
|
||||||
<script src='/resources/testharness.js'></script>
|
|
||||||
<script src='/resources/testharnessreport.js'></script>
|
|
||||||
<script src='wildcardHostTestFailure.js'></script>
|
|
||||||
<script>
|
<script>
|
||||||
var t_spv = async_test("Should fire violation events for every failed violation");
|
var t_spv = async_test("Should fire violation events for every failed violation");
|
||||||
var spvEvent;
|
var spvEvent;
|
||||||
|
@ -23,6 +19,10 @@
|
||||||
script.src = "http://www." + location.hostname + ":" + location.port + "/content-security-policy/generic/wildcardHostTestSuceeds.js";
|
script.src = "http://www." + location.hostname + ":" + location.port + "/content-security-policy/generic/wildcardHostTestSuceeds.js";
|
||||||
head.appendChild(script);
|
head.appendChild(script);
|
||||||
</script>
|
</script>
|
||||||
|
<meta http-equiv="Content-Security-Policy" content="script-src 'self' *w.{{host}}:{{ports[http][0]}} w*.{{host}}:{{ports[http][0]}} 'unsafe-inline';">
|
||||||
|
<script src='/resources/testharness.js'></script>
|
||||||
|
<script src='/resources/testharnessreport.js'></script>
|
||||||
|
<script src='wildcardHostTestFailure.js'></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h1>test wildcard host name matching (asterisk as part of a subdomain is not accepted)</h1>
|
<h1>test wildcard host name matching (asterisk as part of a subdomain is not accepted)</h1>
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
<script src='/resources/testharness.js' nonce='dummy'></script>
|
<script src='/resources/testharness.js' nonce='dummy'></script>
|
||||||
<script src='/resources/testharnessreport.js' nonce='dummy'></script>
|
<script src='/resources/testharnessreport.js' nonce='dummy'></script>
|
||||||
|
|
||||||
<!-- CSP served: script-src 'strict-dynamic' 'nonce-dummy' 'sha256-yU6Q7nD1TCBB9JvY06iIJ8ONLOPU4g8ml5JCDgXkv+M=' 'sha256-IFt1v6itHgqlrtInbPm/y7qyWcAlDbPgZM+92C5EZ5o=' -->
|
<!-- CSP served: script-src 'strict-dynamic' 'nonce-dummy' 'sha256-yU6Q7nD1TCBB9JvY06iIJ8ONLOPU4g8ml5JCDgXkv+M=' 'sha256-EEoi70frWHkGFhK51NVIJkXpq72aPxSCNZEow37ZmRA=' -->
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
@ -16,11 +16,11 @@
|
||||||
<script nonce='dummy'>
|
<script nonce='dummy'>
|
||||||
var hashScriptRan = false;
|
var hashScriptRan = false;
|
||||||
window.addEventListener('securitypolicyviolation', function(e) {
|
window.addEventListener('securitypolicyviolation', function(e) {
|
||||||
assert_unreached('No CSP violation report has fired.');
|
assert_unreached('CSP violation reports should not fire.');
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<!-- Hash: 'sha256-yU6Q7nD1TCBB9JvY06iIJ8ONLOPU4g8ml5JCDgXkv+M=' -->
|
<!-- Hash: 'sha256-EEoi70frWHkGFhK51NVIJkXpq72aPxSCNZEow37ZmRA=' -->
|
||||||
<script>
|
<script>
|
||||||
hashScriptRan = true;
|
hashScriptRan = true;
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -2,4 +2,4 @@ Expires: Mon, 26 Jul 1997 05:00:00 GMT
|
||||||
Cache-Control: no-store, no-cache, must-revalidate
|
Cache-Control: no-store, no-cache, must-revalidate
|
||||||
Cache-Control: post-check=0, pre-check=0, false
|
Cache-Control: post-check=0, pre-check=0, false
|
||||||
Pragma: no-cache
|
Pragma: no-cache
|
||||||
Content-Security-Policy: script-src 'strict-dynamic' 'nonce-dummy' 'sha256-yU6Q7nD1TCBB9JvY06iIJ8ONLOPU4g8ml5JCDgXkv+M=' 'sha256-IFt1v6itHgqlrtInbPm/y7qyWcAlDbPgZM+92C5EZ5o='
|
Content-Security-Policy: script-src 'strict-dynamic' 'nonce-dummy' 'sha256-yU6Q7nD1TCBB9JvY06iIJ8ONLOPU4g8ml5JCDgXkv+M=' 'sha256-EEoi70frWHkGFhK51NVIJkXpq72aPxSCNZEow37ZmRA='
|
||||||
|
|
|
@ -0,0 +1,12 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<link rel="match" href="../../reference/ref-filled-green-100px-square.xht" />
|
||||||
|
<link rel="help" href="https://www.w3.org/TR/CSS22/box.html#collapsing-margins" title="8.3.1 Collapsing margins">
|
||||||
|
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
|
||||||
|
<div style="width: 100px; height: 100px; background: green;"></div>
|
||||||
|
<div style="width: 0; height: 0; outline: solid red 50px; position: relative; z-index: 1; overflow: clip; margin-left: 50px;">
|
||||||
|
<div id="target"></div>
|
||||||
|
</div>
|
||||||
|
<script>
|
||||||
|
document.body.offsetTop;
|
||||||
|
document.getElementById('target').style.marginTop = '-1000px';
|
||||||
|
</script>
|
|
@ -0,0 +1,22 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>
|
||||||
|
border-color: transparent should not hide the border-image
|
||||||
|
</title>
|
||||||
|
<style>
|
||||||
|
div {
|
||||||
|
width: 200px;
|
||||||
|
height: 200px;
|
||||||
|
margin: 20px;
|
||||||
|
background-color: silver;
|
||||||
|
border-image-source: url('./support/100x100-blue-and-orange.png');
|
||||||
|
border-image-slice: 32;
|
||||||
|
border-image-repeat: repeat;
|
||||||
|
border-style: solid;
|
||||||
|
border-width: 32px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
This box should have a visible blue-orange border-image.
|
||||||
|
<div></div>
|
||||||
|
|
|
@ -0,0 +1,25 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<link rel="author" title="Tyler Wilcock" href="mailto:twilco.o@protonmail.com">
|
||||||
|
<link rel="help" href="https://www.w3.org/TR/2017/CR-css-backgrounds-3-20171017/#border-images">
|
||||||
|
<link rel="match" href="border-image-displayed-with-transparent-border-color-ref.html">
|
||||||
|
<title>
|
||||||
|
border-color: transparent should not hide the border-image
|
||||||
|
</title>
|
||||||
|
<style>
|
||||||
|
div {
|
||||||
|
width: 200px;
|
||||||
|
height: 200px;
|
||||||
|
margin: 20px;
|
||||||
|
background-color: silver;
|
||||||
|
border-image-source: url('./support/100x100-blue-and-orange.png');
|
||||||
|
border-image-slice: 32;
|
||||||
|
border-image-repeat: repeat;
|
||||||
|
border-style: solid;
|
||||||
|
border-width: 32px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
This box should have a visible blue-orange border-image.
|
||||||
|
<div style="border-color: transparent;"></div>
|
||||||
|
|
|
@ -0,0 +1,28 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<style>
|
||||||
|
.multicol {
|
||||||
|
column-count: 2;
|
||||||
|
column-fill: auto;
|
||||||
|
column-gap: 0px;
|
||||||
|
}
|
||||||
|
#outer {
|
||||||
|
height: 120px;
|
||||||
|
width: 100px;
|
||||||
|
}
|
||||||
|
#inner {
|
||||||
|
width: 50px;
|
||||||
|
column-gap: 16px;
|
||||||
|
height: 100px;
|
||||||
|
padding: 10px;
|
||||||
|
}
|
||||||
|
#ref {
|
||||||
|
height: 400px;
|
||||||
|
width: 25px;
|
||||||
|
background-color: green;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<div class="multicol" id="outer">
|
||||||
|
<div class="multicol" id="inner">
|
||||||
|
<div id="ref"></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
|
@ -0,0 +1,41 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<title>
|
||||||
|
Nested fragmentation for out-of-flow positioned elements create new columns.
|
||||||
|
</title>
|
||||||
|
<link rel="help" href="https://www.w3.org/TR/css-position-3/#abspos-breaking">
|
||||||
|
<link rel="match" href="out-of-flow-in-multicolumn-019-ref.html">
|
||||||
|
<style>
|
||||||
|
.multicol {
|
||||||
|
column-count: 2;
|
||||||
|
column-fill: auto;
|
||||||
|
column-gap: 0px;
|
||||||
|
}
|
||||||
|
#outer {
|
||||||
|
height: 120px;
|
||||||
|
width: 100px;
|
||||||
|
}
|
||||||
|
#inner {
|
||||||
|
width: 50px;
|
||||||
|
column-gap: 16px;
|
||||||
|
height: 100px;
|
||||||
|
padding: 10px;
|
||||||
|
}
|
||||||
|
.rel {
|
||||||
|
position: relative;
|
||||||
|
height: 160px;
|
||||||
|
}
|
||||||
|
.abs {
|
||||||
|
position: absolute;
|
||||||
|
top: 0px;
|
||||||
|
height: 400px;
|
||||||
|
width: 25px;
|
||||||
|
background-color: green;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<div class="multicol" id="outer">
|
||||||
|
<div class="multicol" id="inner">
|
||||||
|
<div class="rel">
|
||||||
|
<div class="abs"></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
|
@ -0,0 +1,40 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<title>
|
||||||
|
Nested fragmentation for out-of-flow positioned elements create new columns.
|
||||||
|
</title>
|
||||||
|
<link rel="help" href="https://www.w3.org/TR/css-position-3/#abspos-breaking">
|
||||||
|
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
|
||||||
|
<style>
|
||||||
|
.multicol {
|
||||||
|
column-count: 2;
|
||||||
|
column-fill: auto;
|
||||||
|
column-gap: 0px;
|
||||||
|
}
|
||||||
|
#outer {
|
||||||
|
height: 100px;
|
||||||
|
width: 100px;
|
||||||
|
}
|
||||||
|
#inner {
|
||||||
|
background: red;
|
||||||
|
width: 50px;
|
||||||
|
}
|
||||||
|
.rel {
|
||||||
|
position: relative;
|
||||||
|
height: 200px;
|
||||||
|
|
||||||
|
}
|
||||||
|
.abs {
|
||||||
|
position: absolute;
|
||||||
|
width: 25px;
|
||||||
|
background-color: green;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
|
||||||
|
<div class="multicol" id="outer">
|
||||||
|
<div class="multicol" id="inner">
|
||||||
|
<div class="rel">
|
||||||
|
<div class="abs" style="top: 50px; height: 350px;"></div>
|
||||||
|
<div class="abs" style="top: 0x; height: 350px;"></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
|
@ -3,3 +3,5 @@ suggested_reviewers:
|
||||||
- dbaron
|
- dbaron
|
||||||
- svgeesus
|
- svgeesus
|
||||||
- tabatkins
|
- tabatkins
|
||||||
|
- weinig
|
||||||
|
|
||||||
|
|
|
@ -3,11 +3,15 @@
|
||||||
<title>CSS Color 4: The RGB hexadecimal notations: #RRGGBB</title>
|
<title>CSS Color 4: The RGB hexadecimal notations: #RRGGBB</title>
|
||||||
<link rel="author" title="Chris Lilley" href="mailto:chris@w3.org">
|
<link rel="author" title="Chris Lilley" href="mailto:chris@w3.org">
|
||||||
<link rel="help" href="https://drafts.csswg.org/css-color-4/#hex-notation">
|
<link rel="help" href="https://drafts.csswg.org/css-color-4/#hex-notation">
|
||||||
<link rel="match" href="greentext-ref.html">
|
<link rel="match" href="greensquare-ref.html">
|
||||||
<meta name="assert" content="6 digit hex">
|
<meta name="assert" content="6 digit hex">
|
||||||
<style>
|
<style>
|
||||||
.test {color: #008000}
|
.test { background-color: red; width: 12em; height: 6em; margin-top:0}
|
||||||
|
.ref { background-color: #008000; width: 12em; height: 6em; margin-bottom: 0}
|
||||||
|
.test {background-color: #008000}
|
||||||
</style>
|
</style>
|
||||||
<body>
|
<body>
|
||||||
<p class="test">Test passes if this text is green</p>
|
<p>Test passes if you see a green square, and no red.</p>
|
||||||
|
<p class="ref"> </p>
|
||||||
|
<p class="test"> </p>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -3,11 +3,15 @@
|
||||||
<title>CSS Color 4: The RGB hexadecimal notations: #RRGGBB</title>
|
<title>CSS Color 4: The RGB hexadecimal notations: #RRGGBB</title>
|
||||||
<link rel="author" title="Chris Lilley" href="mailto:chris@w3.org">
|
<link rel="author" title="Chris Lilley" href="mailto:chris@w3.org">
|
||||||
<link rel="help" href="https://drafts.csswg.org/css-color-4/#hex-notation">
|
<link rel="help" href="https://drafts.csswg.org/css-color-4/#hex-notation">
|
||||||
<link rel="match" href="greentext-ref.html">
|
<link rel="match" href="greensquare-ref.html">
|
||||||
<meta name="assert" content="8 digit hex, fully opaque">
|
<meta name="assert" content="8 digit hex, fully opaque">
|
||||||
<style>
|
<style>
|
||||||
.test {color: #008000FF}
|
.test { background-color: red; width: 12em; height: 6em; margin-top:0}
|
||||||
|
.ref { background-color: #008000; width: 12em; height: 6em; margin-bottom: 0}
|
||||||
|
.test { background-color: #008000FF}
|
||||||
</style>
|
</style>
|
||||||
<body>
|
<body>
|
||||||
<p class="test">Test passes if this text is green</p>
|
<p>Test passes if you see a green square, and no red.</p>
|
||||||
|
<p class="ref"> </p>
|
||||||
|
<p class="test"> </p>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -2,8 +2,9 @@
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Green text reference for hex shorthand tests</title>
|
<title>Green text reference for hex shorthand tests</title>
|
||||||
<style>
|
<style>
|
||||||
.test { color: #007700}
|
.test { background-color: #007700; width: 12em; height: 12em;}
|
||||||
</style>
|
</style>
|
||||||
<body>
|
<body>
|
||||||
<p class="test">Test passes if this text is green</p>
|
<p>Test passes if you see a green square, and no red.</p>
|
||||||
|
<div class="test"></div>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -6,8 +6,12 @@
|
||||||
<link rel="match" href="hex-003-ref.html">
|
<link rel="match" href="hex-003-ref.html">
|
||||||
<meta name="assert" content="3 digit hex">
|
<meta name="assert" content="3 digit hex">
|
||||||
<style>
|
<style>
|
||||||
.test {color: #070}
|
.test { background-color: red; width: 12em; height: 6em; margin-top:0}
|
||||||
|
.ref { background-color: #007700; width: 12em; height: 6em; margin-bottom: 0}
|
||||||
|
.test {background-color: #070}
|
||||||
</style>
|
</style>
|
||||||
<body>
|
<body>
|
||||||
<p class="test">Test passes if this text is green</p>
|
<p>Test passes if you see a green square, and no red.</p>
|
||||||
|
<p class="ref"> </p>
|
||||||
|
<p class="test"> </p>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -6,8 +6,12 @@
|
||||||
<meta name="assert" content="4 digit hex, fully opaque">
|
<meta name="assert" content="4 digit hex, fully opaque">
|
||||||
<link rel="match" href="hex-003-ref.html">
|
<link rel="match" href="hex-003-ref.html">
|
||||||
<style>
|
<style>
|
||||||
.test {color: #070F}
|
.test { background-color: red; width: 12em; height: 6em; margin-top:0}
|
||||||
|
.ref { background-color: #007700; width: 12em; height: 6em; margin-bottom: 0}
|
||||||
|
.test {background-color: #070F}
|
||||||
</style>
|
</style>
|
||||||
<body>
|
<body>
|
||||||
<p class="test">Test passes if this text is green</p>
|
<p>Test passes if you see a green square, and no red.</p>
|
||||||
|
<p class="ref"> </p>
|
||||||
|
<p class="test"> </p>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -2,12 +2,17 @@
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>CSS Color 4: HSL functions hsl() and hsla()</title>
|
<title>CSS Color 4: HSL functions hsl() and hsla()</title>
|
||||||
<link rel="author" title="Chris Nardi" href="mailto:csnardi1@gmail.com">
|
<link rel="author" title="Chris Nardi" href="mailto:csnardi1@gmail.com">
|
||||||
|
<link rel="author" title="Chris Lilley" href="mailto:chris@w3.org">
|
||||||
<link rel="help" href="https://drafts.csswg.org/css-color-4/#the-hsl-notation">
|
<link rel="help" href="https://drafts.csswg.org/css-color-4/#the-hsl-notation">
|
||||||
<link rel="match" href="greentext-ref.html">
|
<link rel="match" href="greensquare-ref.html">
|
||||||
<meta name="assert" content="hsl() with number and no alpha, also no comma">
|
<meta name="assert" content="hsl() with number and no alpha, also no comma">
|
||||||
<style>
|
<style>
|
||||||
.test {color: hsl(120 100% 25%)}
|
.test { background-color: red; width: 12em; height: 6em; margin-top:0}
|
||||||
|
.ref { background-color: #008000; width: 12em; height: 6em; margin-bottom: 0}
|
||||||
|
.test { background-color: hsl(120 100% 25%)}
|
||||||
</style>
|
</style>
|
||||||
<body>
|
<body>
|
||||||
<p class="test">Test passes if this text is green</p>
|
<p>Test passes if you see a green square, and no red.</p>
|
||||||
|
<p class="ref"> </p>
|
||||||
|
<p class="test"> </p>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -3,11 +3,15 @@
|
||||||
<title>CSS Color 4: HSL functions hsl() and hsla()</title>
|
<title>CSS Color 4: HSL functions hsl() and hsla()</title>
|
||||||
<link rel="author" title="Chris Nardi" href="mailto:csnardi1@gmail.com">
|
<link rel="author" title="Chris Nardi" href="mailto:csnardi1@gmail.com">
|
||||||
<link rel="help" href="https://drafts.csswg.org/css-color-4/#the-hsl-notation">
|
<link rel="help" href="https://drafts.csswg.org/css-color-4/#the-hsl-notation">
|
||||||
<link rel="match" href="greentext-ref.html">
|
<link rel="match" href="greensquare-ref.html">
|
||||||
<meta name="assert" content="hsl() with angle and no alpha, also no comma">
|
<meta name="assert" content="hsl() with angle and no alpha, also no comma">
|
||||||
<style>
|
<style>
|
||||||
.test {color: hsl(120deg 100% 25%)}
|
.test { background-color: red; width: 12em; height: 6em; margin-top:0}
|
||||||
|
.ref { background-color: #008000; width: 12em; height: 6em; margin-bottom: 0}
|
||||||
|
.test {background-color: hsl(120deg 100% 25%)}
|
||||||
</style>
|
</style>
|
||||||
<body>
|
<body>
|
||||||
<p class="test">Test passes if this text is green</p>
|
<p>Test passes if you see a green square, and no red.</p>
|
||||||
|
<p class="ref"> </p>
|
||||||
|
<p class="test"> </p>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -2,12 +2,17 @@
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>CSS Color 4: HSL functions hsl() and hsla()</title>
|
<title>CSS Color 4: HSL functions hsl() and hsla()</title>
|
||||||
<link rel="author" title="Chris Nardi" href="mailto:csnardi1@gmail.com">
|
<link rel="author" title="Chris Nardi" href="mailto:csnardi1@gmail.com">
|
||||||
|
<link rel="author" title="Chris Lilley" href="mailto:chris@w3.org">
|
||||||
<link rel="help" href="https://drafts.csswg.org/css-color-4/#the-hsl-notation">
|
<link rel="help" href="https://drafts.csswg.org/css-color-4/#the-hsl-notation">
|
||||||
<link rel="match" href="greentext-ref.html">
|
<link rel="match" href="greensquare-ref.html">
|
||||||
<meta name="assert" content="hsl() with number and numeric alpha, also no comma">
|
<meta name="assert" content="hsl() with number and numeric alpha, also no comma">
|
||||||
<style>
|
<style>
|
||||||
.test {color: hsl(120 100% 25% / 1.0)}
|
.test { background-color: red; width: 12em; height: 6em; margin-top:0}
|
||||||
|
.ref { background-color: #008000; width: 12em; height: 6em; margin-bottom: 0}
|
||||||
|
.test {background-color: hsl(120 100% 25% / 1.0)}
|
||||||
</style>
|
</style>
|
||||||
<body>
|
<body>
|
||||||
<p class="test">Test passes if this text is green</p>
|
<p>Test passes if you see a green square, and no red.</p>
|
||||||
|
<p class="ref"> </p>
|
||||||
|
<p class="test"> </p>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -2,12 +2,17 @@
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>CSS Color 4: HSL functions hsl() and hsla()</title>
|
<title>CSS Color 4: HSL functions hsl() and hsla()</title>
|
||||||
<link rel="author" title="Chris Nardi" href="mailto:csnardi1@gmail.com">
|
<link rel="author" title="Chris Nardi" href="mailto:csnardi1@gmail.com">
|
||||||
|
<link rel="author" title="Chris Lilley" href="mailto:chris@w3.org">
|
||||||
<link rel="help" href="https://drafts.csswg.org/css-color-4/#the-hsl-notation">
|
<link rel="help" href="https://drafts.csswg.org/css-color-4/#the-hsl-notation">
|
||||||
<link rel="match" href="greentext-ref.html">
|
<link rel="match" href="greensquare-ref.html">
|
||||||
<meta name="assert" content="hsl() with angle and numeric alpha, also no comma">
|
<meta name="assert" content="hsl() with angle and numeric alpha, also no comma">
|
||||||
<style>
|
<style>
|
||||||
.test {color: hsl(120deg 100% 25% / 1)}
|
.test { background-color: red; width: 12em; height: 6em; margin-top:0}
|
||||||
|
.ref { background-color: #008000; width: 12em; height: 6em; margin-bottom: 0}
|
||||||
|
.test { background-color: hsl(120deg 100% 25% / 1)}
|
||||||
</style>
|
</style>
|
||||||
<body>
|
<body>
|
||||||
<p class="test">Test passes if this text is green</p>
|
<p>Test passes if you see a green square, and no red.</p>
|
||||||
|
<p class="ref"> </p>
|
||||||
|
<p class="test"> </p>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -2,12 +2,17 @@
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>CSS Color 4: HSL functions hsl() and hsla()</title>
|
<title>CSS Color 4: HSL functions hsl() and hsla()</title>
|
||||||
<link rel="author" title="Chris Nardi" href="mailto:csnardi1@gmail.com">
|
<link rel="author" title="Chris Nardi" href="mailto:csnardi1@gmail.com">
|
||||||
|
<link rel="author" title="Chris Lilley" href="mailto:chris@w3.org">
|
||||||
<link rel="help" href="https://drafts.csswg.org/css-color-4/#the-hsl-notation">
|
<link rel="help" href="https://drafts.csswg.org/css-color-4/#the-hsl-notation">
|
||||||
<link rel="match" href="greentext-ref.html">
|
<link rel="match" href="greensquare-ref.html">
|
||||||
<meta name="assert" content="hsl() with number and percent alpha, also no comma">
|
<meta name="assert" content="hsl() with number and percent alpha, also no comma">
|
||||||
<style>
|
<style>
|
||||||
.test {color: hsl(120 100% 25% / 100%)}
|
.test { background-color: red; width: 12em; height: 6em; margin-top:0}
|
||||||
|
.ref { background-color: #008000; width: 12em; height: 6em; margin-bottom: 0}
|
||||||
|
.test { background-color: hsl(120 100% 25% / 100%)}
|
||||||
</style>
|
</style>
|
||||||
<body>
|
<body>
|
||||||
<p class="test">Test passes if this text is green</p>
|
<p>Test passes if you see a green square, and no red.</p>
|
||||||
|
<p class="ref"> </p>
|
||||||
|
<p class="test"> </p>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -2,12 +2,17 @@
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>CSS Color 4: HSL functions hsl() and hsla()</title>
|
<title>CSS Color 4: HSL functions hsl() and hsla()</title>
|
||||||
<link rel="author" title="Chris Nardi" href="mailto:csnardi1@gmail.com">
|
<link rel="author" title="Chris Nardi" href="mailto:csnardi1@gmail.com">
|
||||||
|
<link rel="author" title="Chris Lilley" href="mailto:chris@w3.org">
|
||||||
<link rel="help" href="https://drafts.csswg.org/css-color-4/#the-hsl-notation">
|
<link rel="help" href="https://drafts.csswg.org/css-color-4/#the-hsl-notation">
|
||||||
<link rel="match" href="greentext-ref.html">
|
<link rel="match" href="greensquare-ref.html">
|
||||||
<meta name="assert" content="hsl() with angle and percent alpha, also no comma">
|
<meta name="assert" content="hsl() with angle and percent alpha, also no comma">
|
||||||
<style>
|
<style>
|
||||||
.test {color: hsl(120deg 100% 25% / 100%)}
|
.test { background-color: red; width: 12em; height: 6em; margin-top:0}
|
||||||
|
.ref { background-color: #008000; width: 12em; height: 6em; margin-bottom: 0}
|
||||||
|
.test { background-color: hsl(120deg 100% 25% / 100%)}
|
||||||
</style>
|
</style>
|
||||||
<body>
|
<body>
|
||||||
<p class="test">Test passes if this text is green</p>
|
<p>Test passes if you see a green square, and no red.</p>
|
||||||
|
<p class="ref"> </p>
|
||||||
|
<p class="test"> </p>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -2,12 +2,17 @@
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>CSS Color 4: HSL functions hsl() and hsla()</title>
|
<title>CSS Color 4: HSL functions hsl() and hsla()</title>
|
||||||
<link rel="author" title="Chris Nardi" href="mailto:csnardi1@gmail.com">
|
<link rel="author" title="Chris Nardi" href="mailto:csnardi1@gmail.com">
|
||||||
|
<link rel="author" title="Chris Lilley" href="mailto:chris@w3.org">
|
||||||
<link rel="help" href="https://drafts.csswg.org/css-color-4/#the-hsl-notation">
|
<link rel="help" href="https://drafts.csswg.org/css-color-4/#the-hsl-notation">
|
||||||
<link rel="match" href="greentext-ref.html">
|
<link rel="match" href="greensquare-ref.html">
|
||||||
<meta name="assert" content="legacy hsl() with number and percent alpha, and commas">
|
<meta name="assert" content="legacy hsl() with number and percent alpha, and commas">
|
||||||
<style>
|
<style>
|
||||||
.test {color: hsl(120, 100%, 25%, 100%)}
|
.test { background-color: red; width: 12em; height: 6em; margin-top:0}
|
||||||
|
.ref { background-color: #008000; width: 12em; height: 6em; margin-bottom: 0}
|
||||||
|
.test { background-color: hsl(120, 100%, 25%, 100%)}
|
||||||
</style>
|
</style>
|
||||||
<body>
|
<body>
|
||||||
<p class="test">Test passes if this text is green</p>
|
<p>Test passes if you see a green square, and no red.</p>
|
||||||
|
<p class="ref"> </p>
|
||||||
|
<p class="test"> </p>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -2,12 +2,17 @@
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>CSS Color 4: HSL functions hsl() and hsla()</title>
|
<title>CSS Color 4: HSL functions hsl() and hsla()</title>
|
||||||
<link rel="author" title="Chris Nardi" href="mailto:csnardi1@gmail.com">
|
<link rel="author" title="Chris Nardi" href="mailto:csnardi1@gmail.com">
|
||||||
|
<link rel="author" title="Chris Lilley" href="mailto:chris@w3.org">
|
||||||
<link rel="help" href="https://drafts.csswg.org/css-color-4/#the-hsl-notation">
|
<link rel="help" href="https://drafts.csswg.org/css-color-4/#the-hsl-notation">
|
||||||
<link rel="match" href="greentext-ref.html">
|
<link rel="match" href="greentext-ref.html">
|
||||||
<meta name="assert" content="legacy hsl() with angle and percent alpha, with commas">
|
<meta name="assert" content="legacy hsl() with angle and percent alpha, with commas">
|
||||||
<style>
|
<style>
|
||||||
.test {color: hsl(120deg, 100%, 25%, 100%)}
|
.test { background-color: red; width: 12em; height: 6em; margin-top:0}
|
||||||
|
.ref { background-color: #008000; width: 12em; height: 6em; margin-bottom: 0}
|
||||||
|
.test { background-color: hsl(120deg, 100%, 25%, 100%)}
|
||||||
</style>
|
</style>
|
||||||
<body>
|
<body>
|
||||||
<p class="test">Test passes if this text is green</p>
|
<p>Test passes if you see a green square, and no red.</p>
|
||||||
|
<p class="ref"> </p>
|
||||||
|
<p class="test"> </p>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -2,12 +2,17 @@
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>CSS Color 4: HSL functions hsl() and hsla()</title>
|
<title>CSS Color 4: HSL functions hsl() and hsla()</title>
|
||||||
<link rel="author" title="Chris Nardi" href="mailto:csnardi1@gmail.com">
|
<link rel="author" title="Chris Nardi" href="mailto:csnardi1@gmail.com">
|
||||||
|
<link rel="author" title="Chris Lilley" href="mailto:chris@w3.org">
|
||||||
<link rel="help" href="https://drafts.csswg.org/css-color-4/#the-hsl-notation">
|
<link rel="help" href="https://drafts.csswg.org/css-color-4/#the-hsl-notation">
|
||||||
<link rel="match" href="greentext-ref.html">
|
<link rel="match" href="greensquare-ref.html">
|
||||||
<meta name="assert" content="legacy hsla() with number and no alpha, also no comma">
|
<meta name="assert" content="legacy hsla() with number and no alpha, also no comma">
|
||||||
<style>
|
<style>
|
||||||
.test {color: hsla(120 100% 25%)}
|
.test { background-color: red; width: 12em; height: 6em; margin-top:0}
|
||||||
|
.ref { background-color: #008000; width: 12em; height: 6em; margin-bottom: 0}
|
||||||
|
.test { background-color: hsla(120 100% 25%)}
|
||||||
</style>
|
</style>
|
||||||
<body>
|
<body>
|
||||||
<p class="test">Test passes if this text is green</p>
|
<p>Test passes if you see a green square, and no red.</p>
|
||||||
|
<p class="ref"> </p>
|
||||||
|
<p class="test"> </p>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -2,12 +2,17 @@
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>CSS Color 4: HSL functions hsl() and hsla()</title>
|
<title>CSS Color 4: HSL functions hsl() and hsla()</title>
|
||||||
<link rel="author" title="Chris Nardi" href="mailto:csnardi1@gmail.com">
|
<link rel="author" title="Chris Nardi" href="mailto:csnardi1@gmail.com">
|
||||||
|
<link rel="author" title="Chris Lilley" href="mailto:chris@w3.org">
|
||||||
<link rel="help" href="https://drafts.csswg.org/css-color-4/#the-hsl-notation">
|
<link rel="help" href="https://drafts.csswg.org/css-color-4/#the-hsl-notation">
|
||||||
<link rel="match" href="greentext-ref.html">
|
<link rel="match" href="greensquare-ref.html">
|
||||||
<meta name="assert" content="legacy hsla() with angle and no alpha, also no comma">
|
<meta name="assert" content="legacy hsla() with angle and no alpha, also no comma">
|
||||||
<style>
|
<style>
|
||||||
.test {color: hsla(120deg 100% 25%)}
|
.test { background-color: red; width: 12em; height: 6em; margin-top:0}
|
||||||
|
.ref { background-color: #008000; width: 12em; height: 6em; margin-bottom: 0}
|
||||||
|
.test { background-color: hsla(120deg 100% 25%)}
|
||||||
</style>
|
</style>
|
||||||
<body>
|
<body>
|
||||||
<p class="test">Test passes if this text is green</p>
|
<p>Test passes if you see a green square, and no red.</p>
|
||||||
|
<p class="ref"> </p>
|
||||||
|
<p class="test"> </p>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -2,12 +2,17 @@
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>CSS Color 4: HSL functions hsl() and hsla()</title>
|
<title>CSS Color 4: HSL functions hsl() and hsla()</title>
|
||||||
<link rel="author" title="Chris Nardi" href="mailto:csnardi1@gmail.com">
|
<link rel="author" title="Chris Nardi" href="mailto:csnardi1@gmail.com">
|
||||||
|
<link rel="author" title="Chris Lilley" href="mailto:chris@w3.org">
|
||||||
<link rel="help" href="https://drafts.csswg.org/css-color-4/#the-hsl-notation">
|
<link rel="help" href="https://drafts.csswg.org/css-color-4/#the-hsl-notation">
|
||||||
<link rel="match" href="greentext-ref.html">
|
<link rel="match" href="greensquare-ref.html">
|
||||||
<meta name="assert" content="legacy hsla() with number and numeric alpha, also no comma">
|
<meta name="assert" content="legacy hsla() with number and numeric alpha, also no comma">
|
||||||
<style>
|
<style>
|
||||||
.test {color: hsla(120 100% 25% / 1.0)}
|
.test { background-color: red; width: 12em; height: 6em; margin-top:0}
|
||||||
|
.ref { background-color: #008000; width: 12em; height: 6em; margin-bottom: 0}
|
||||||
|
.test { background-color: hsla(120 100% 25% / 1.0)}
|
||||||
</style>
|
</style>
|
||||||
<body>
|
<body>
|
||||||
<p class="test">Test passes if this text is green</p>
|
<p>Test passes if you see a green square, and no red.</p>
|
||||||
|
<p class="ref"> </p>
|
||||||
|
<p class="test"> </p>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -2,12 +2,17 @@
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>CSS Color 4: HSL functions hsl() and hsla()</title>
|
<title>CSS Color 4: HSL functions hsl() and hsla()</title>
|
||||||
<link rel="author" title="Chris Nardi" href="mailto:csnardi1@gmail.com">
|
<link rel="author" title="Chris Nardi" href="mailto:csnardi1@gmail.com">
|
||||||
|
<link rel="author" title="Chris Lilley" href="mailto:chris@w3.org">
|
||||||
<link rel="help" href="https://drafts.csswg.org/css-color-4/#the-hsl-notation">
|
<link rel="help" href="https://drafts.csswg.org/css-color-4/#the-hsl-notation">
|
||||||
<link rel="match" href="greentext-ref.html">
|
<link rel="match" href="greensquare-ref.html">
|
||||||
<meta name="assert" content="legacy hsla() with angle and numeric alpha, also no comma">
|
<meta name="assert" content="legacy hsla() with angle and numeric alpha, also no comma">
|
||||||
<style>
|
<style>
|
||||||
.test {color: hsla(120deg 100% 25% / 1)}
|
.test { background-color: red; width: 12em; height: 6em; margin-top:0}
|
||||||
|
.ref { background-color: #008000; width: 12em; height: 6em; margin-bottom: 0}
|
||||||
|
.test { background-color: hsla(120deg 100% 25% / 1)}
|
||||||
</style>
|
</style>
|
||||||
<body>
|
<body>
|
||||||
<p class="test">Test passes if this text is green</p>
|
<p>Test passes if you see a green square, and no red.</p>
|
||||||
|
<p class="ref"> </p>
|
||||||
|
<p class="test"> </p>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -2,12 +2,17 @@
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>CSS Color 4: HSL functions hsl() and hsla()</title>
|
<title>CSS Color 4: HSL functions hsl() and hsla()</title>
|
||||||
<link rel="author" title="Chris Nardi" href="mailto:csnardi1@gmail.com">
|
<link rel="author" title="Chris Nardi" href="mailto:csnardi1@gmail.com">
|
||||||
|
<link rel="author" title="Chris Lilley" href="mailto:chris@w3.org">
|
||||||
<link rel="help" href="https://drafts.csswg.org/css-color-4/#the-hsl-notation">
|
<link rel="help" href="https://drafts.csswg.org/css-color-4/#the-hsl-notation">
|
||||||
<link rel="match" href="greentext-ref.html">
|
<link rel="match" href="greensquare-ref.html">
|
||||||
<meta name="assert" content="legacy hsla() with number and percent alpha, also no comma">
|
<meta name="assert" content="legacy hsla() with number and percent alpha, also no comma">
|
||||||
<style>
|
<style>
|
||||||
.test {color: hsla(120 100% 25% / 100%)}
|
.test { background-color: red; width: 12em; height: 6em; margin-top:0}
|
||||||
|
.ref { background-color: #008000; width: 12em; height: 6em; margin-bottom: 0}
|
||||||
|
.test { background-color: hsla(120 100% 25% / 100%)}
|
||||||
</style>
|
</style>
|
||||||
<body>
|
<body>
|
||||||
<p class="test">Test passes if this text is green</p>
|
<p>Test passes if you see a green square, and no red.</p>
|
||||||
|
<p class="ref"> </p>
|
||||||
|
<p class="test"> </p>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -2,12 +2,17 @@
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>CSS Color 4: HSL functions hsl() and hsla()</title>
|
<title>CSS Color 4: HSL functions hsl() and hsla()</title>
|
||||||
<link rel="author" title="Chris Nardi" href="mailto:csnardi1@gmail.com">
|
<link rel="author" title="Chris Nardi" href="mailto:csnardi1@gmail.com">
|
||||||
|
<link rel="author" title="Chris Lilley" href="mailto:chris@w3.org">
|
||||||
<link rel="help" href="https://drafts.csswg.org/css-color-4/#the-hsl-notation">
|
<link rel="help" href="https://drafts.csswg.org/css-color-4/#the-hsl-notation">
|
||||||
<link rel="match" href="greentext-ref.html">
|
<link rel="match" href="greensquare-ref.html">
|
||||||
<meta name="assert" content="legacy hsla() with angle and percent alpha, also no comma">
|
<meta name="assert" content="legacy hsla() with angle and percent alpha, also no comma">
|
||||||
<style>
|
<style>
|
||||||
.test {color: hsla(120deg 100% 25% / 100%)}
|
.test { background-color: red; width: 12em; height: 6em; margin-top:0}
|
||||||
|
.ref { background-color: #008000; width: 12em; height: 6em; margin-bottom: 0}
|
||||||
|
.test { background-color: hsla(120deg 100% 25% / 100%)}
|
||||||
</style>
|
</style>
|
||||||
<body>
|
<body>
|
||||||
<p class="test">Test passes if this text is green</p>
|
<p>Test passes if you see a green square, and no red.</p>
|
||||||
|
<p class="ref"> </p>
|
||||||
|
<p class="test"> </p>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -2,12 +2,17 @@
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>CSS Color 4: HSL functions hsl() and hsla()</title>
|
<title>CSS Color 4: HSL functions hsl() and hsla()</title>
|
||||||
<link rel="author" title="Chris Nardi" href="mailto:csnardi1@gmail.com">
|
<link rel="author" title="Chris Nardi" href="mailto:csnardi1@gmail.com">
|
||||||
|
<link rel="author" title="Chris Lilley" href="mailto:chris@w3.org">
|
||||||
<link rel="help" href="https://drafts.csswg.org/css-color-4/#the-hsl-notation">
|
<link rel="help" href="https://drafts.csswg.org/css-color-4/#the-hsl-notation">
|
||||||
<link rel="match" href="greentext-ref.html">
|
<link rel="match" href="greensquare-ref.html">
|
||||||
<meta name="assert" content="legacy hsla() with number and percent alpha, and commas">
|
<meta name="assert" content="legacy hsla() with number and percent alpha, and commas">
|
||||||
<style>
|
<style>
|
||||||
.test {color: hsla(120, 100%, 25%, 100%)}
|
.test { background-color: red; width: 12em; height: 6em; margin-top:0}
|
||||||
|
.ref { background-color: #008000; width: 12em; height: 6em; margin-bottom: 0}
|
||||||
|
.test { background-color: hsla(120, 100%, 25%, 100%)}
|
||||||
</style>
|
</style>
|
||||||
<body>
|
<body>
|
||||||
<p class="test">Test passes if this text is green</p>
|
<p>Test passes if you see a green square, and no red.</p>
|
||||||
|
<p class="ref"> </p>
|
||||||
|
<p class="test"> </p>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -2,12 +2,17 @@
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>CSS Color 4: HSL functions hsl() and hsla()</title>
|
<title>CSS Color 4: HSL functions hsl() and hsla()</title>
|
||||||
<link rel="author" title="Chris Nardi" href="mailto:csnardi1@gmail.com">
|
<link rel="author" title="Chris Nardi" href="mailto:csnardi1@gmail.com">
|
||||||
|
<link rel="author" title="Chris Lilley" href="mailto:chris@w3.org">
|
||||||
<link rel="help" href="https://drafts.csswg.org/css-color-4/#the-hsl-notation">
|
<link rel="help" href="https://drafts.csswg.org/css-color-4/#the-hsl-notation">
|
||||||
<link rel="match" href="greentext-ref.html">
|
<link rel="match" href="greensquare-ref.html">
|
||||||
<meta name="assert" content="legacy hsla() with angle and percent alpha, with commas">
|
<meta name="assert" content="legacy hsla() with angle and percent alpha, with commas">
|
||||||
<style>
|
<style>
|
||||||
.test {color: hsla(120deg, 100%, 25%, 100%)}
|
.test { background-color: red; width: 12em; height: 6em; margin-top:0}
|
||||||
|
.ref { background-color: #008000; width: 12em; height: 6em; margin-bottom: 0}
|
||||||
|
.test { background-color: hsla(120deg, 100%, 25%, 100%)}
|
||||||
</style>
|
</style>
|
||||||
<body>
|
<body>
|
||||||
<p class="test">Test passes if this text is green</p>
|
<p>Test passes if you see a green square, and no red.</p>
|
||||||
|
<p class="ref"> </p>
|
||||||
|
<p class="test"> </p>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -3,11 +3,15 @@
|
||||||
<title>CSS Color 4: RGB functions rgb() and rgba()</title>
|
<title>CSS Color 4: RGB functions rgb() and rgba()</title>
|
||||||
<link rel="author" title="Chris Lilley" href="mailto:chris@w3.org">
|
<link rel="author" title="Chris Lilley" href="mailto:chris@w3.org">
|
||||||
<link rel="help" href="https://drafts.csswg.org/css-color-4/#rgb-functions">
|
<link rel="help" href="https://drafts.csswg.org/css-color-4/#rgb-functions">
|
||||||
<link rel="match" href="greentext-ref.html">
|
<link rel="match" href="greensquare-ref.html">
|
||||||
<meta name="assert" content="rgb() with percent and no alpha, also no comma">
|
<meta name="assert" content="rgb() with percent and no alpha, also no comma">
|
||||||
<style>
|
<style>
|
||||||
.test {color: rgb(0% 50% 0%)}
|
.test { background-color: red; width: 12em; height: 6em; margin-top:0}
|
||||||
|
.ref { background-color: #008000; width: 12em; height: 6em; margin-bottom: 0}
|
||||||
|
.test { background-color: rgb(0% 50% 0%)}
|
||||||
</style>
|
</style>
|
||||||
<body>
|
<body>
|
||||||
<p class="test">Test passes if this text is green</p>
|
<p>Test passes if you see a green square, and no red.</p>
|
||||||
|
<p class="ref"> </p>
|
||||||
|
<p class="test"> </p>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -3,11 +3,15 @@
|
||||||
<title>CSS Color 4: RGB functions rgb() and rgba()</title>
|
<title>CSS Color 4: RGB functions rgb() and rgba()</title>
|
||||||
<link rel="author" title="Chris Lilley" href="mailto:chris@w3.org">
|
<link rel="author" title="Chris Lilley" href="mailto:chris@w3.org">
|
||||||
<link rel="help" href="https://drafts.csswg.org/css-color-4/#rgb-functions">
|
<link rel="help" href="https://drafts.csswg.org/css-color-4/#rgb-functions">
|
||||||
<link rel="match" href="greentext-ref.html">
|
<link rel="match" href="greensquare-ref.html">
|
||||||
<meta name="assert" content="rgb() with 8-bit numbers and no alpha, also no comma">
|
<meta name="assert" content="rgb() with 8-bit numbers and no alpha, also no comma">
|
||||||
<style>
|
<style>
|
||||||
.test {color: rgb(0 128.0 0)}
|
.test { background-color: red; width: 12em; height: 6em; margin-top:0}
|
||||||
|
.ref { background-color: #008000; width: 12em; height: 6em; margin-bottom: 0}
|
||||||
|
.test { background-color: rgb(0 128.0 0)}
|
||||||
</style>
|
</style>
|
||||||
<body>
|
<body>
|
||||||
<p class="test">Test passes if this text is green</p>
|
<p>Test passes if you see a green square, and no red.</p>
|
||||||
|
<p class="ref"> </p>
|
||||||
|
<p class="test"> </p>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -3,11 +3,15 @@
|
||||||
<title>CSS Color 4: RGB functions rgb() and rgba()</title>
|
<title>CSS Color 4: RGB functions rgb() and rgba()</title>
|
||||||
<link rel="author" title="Chris Lilley" href="mailto:chris@w3.org">
|
<link rel="author" title="Chris Lilley" href="mailto:chris@w3.org">
|
||||||
<link rel="help" href="https://drafts.csswg.org/css-color-4/#rgb-functions">
|
<link rel="help" href="https://drafts.csswg.org/css-color-4/#rgb-functions">
|
||||||
<link rel="match" href="greentext-ref.html">
|
<link rel="match" href="greensquare-ref.html">
|
||||||
<meta name="assert" content="rgb() with percent and numeric alpha, also no comma">
|
<meta name="assert" content="rgb() with percent and numeric alpha, also no comma">
|
||||||
<style>
|
<style>
|
||||||
.test {color: rgb(0% 50% 0% / 1.0)}
|
.test { background-color: red; width: 12em; height: 6em; margin-top:0}
|
||||||
|
.ref { background-color: #008000; width: 12em; height: 6em; margin-bottom: 0}
|
||||||
|
.test { background-color: rgb(0% 50% 0% / 1.0)}
|
||||||
</style>
|
</style>
|
||||||
<body>
|
<body>
|
||||||
<p class="test">Test passes if this text is green</p>
|
<p>Test passes if you see a green square, and no red.</p>
|
||||||
|
<p class="ref"> </p>
|
||||||
|
<p class="test"> </p>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -3,11 +3,15 @@
|
||||||
<title>CSS Color 4: RGB functions rgb() and rgba()</title>
|
<title>CSS Color 4: RGB functions rgb() and rgba()</title>
|
||||||
<link rel="author" title="Chris Lilley" href="mailto:chris@w3.org">
|
<link rel="author" title="Chris Lilley" href="mailto:chris@w3.org">
|
||||||
<link rel="help" href="https://drafts.csswg.org/css-color-4/#rgb-functions">
|
<link rel="help" href="https://drafts.csswg.org/css-color-4/#rgb-functions">
|
||||||
<link rel="match" href="greentext-ref.html">
|
<link rel="match" href="greensquare-ref.html">
|
||||||
<meta name="assert" content="rgb() with 8-bit numbers and numeric alpha, also no comma">
|
<meta name="assert" content="rgb() with 8-bit numbers and numeric alpha, also no comma">
|
||||||
<style>
|
<style>
|
||||||
.test {color: rgb(0 128.0 0 / 1)}
|
.test { background-color: red; width: 12em; height: 6em; margin-top:0}
|
||||||
|
.ref { background-color: #008000; width: 12em; height: 6em; margin-bottom: 0}
|
||||||
|
.test { background-color:rgb(0 128.0 0 / 1)}
|
||||||
</style>
|
</style>
|
||||||
<body>
|
<body>
|
||||||
<p class="test">Test passes if this text is green</p>
|
<p>Test passes if you see a green square, and no red.</p>
|
||||||
|
<p class="ref"> </p>
|
||||||
|
<p class="test"> </p>
|
||||||
</body>
|
</body>
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue