Update web-platform-tests to revision 35077458592d7cf9349840211759aa85f20cd20c

This commit is contained in:
WPT Sync Bot 2021-01-24 08:20:31 +00:00
parent 500cb865bd
commit 9320df4683
150 changed files with 2079 additions and 765 deletions

View file

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

View file

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

View file

@ -8,3 +8,12 @@
[DOMTokenList behavior of ElementInternals.states: Modifications]
expected: FAIL
[CustomStateSet behavior of ElementInternals.states: Exceptions]
expected: FAIL
[CustomStateSet behavior of ElementInternals.states: Initial state]
expected: FAIL
[CustomStateSet behavior of ElementInternals.states: Modifications]
expected: FAIL

View file

@ -1,7 +1,20 @@
[Event-dispatch-click.html]
expected: TIMEOUT
[event state during post-click handling]
expected: FAIL
[submit button should not activate if the event listener disables it]
expected: FAIL
[disabling radio in onclick listener shouldn't suppress onchange]
expected: TIMEOUT
[disabling checkbox in onclick listener shouldn't suppress oninput]
expected: TIMEOUT
[disabling radio in onclick listener shouldn't suppress oninput]
expected: TIMEOUT
[disabling checkbox in onclick listener shouldn't suppress onchange]
expected: TIMEOUT

View file

@ -0,0 +1,58 @@
[Document-createEvent.https.html]
[createEvent('DRAGEVENT') should be initialized correctly.]
expected: FAIL
[DEVICEMOTIONEVENT should be an alias for DeviceMotionEvent.]
expected: FAIL
[createEvent('DeviceMotionEvent') should be initialized correctly.]
expected: FAIL
[devicemotionevent should be an alias for DeviceMotionEvent.]
expected: FAIL
[createEvent('DeviceOrientationEvent') should be initialized correctly.]
expected: FAIL
[DRAGEVENT should be an alias for DragEvent.]
expected: FAIL
[DEVICEORIENTATIONEVENT should be an alias for DeviceOrientationEvent.]
expected: FAIL
[Should throw NOT_SUPPORTED_ERR for non-legacy event interface "TouchEvent"]
expected: FAIL
[createEvent('dragevent') should be initialized correctly.]
expected: FAIL
[createEvent('DEVICEMOTIONEVENT') should be initialized correctly.]
expected: FAIL
[createEvent('devicemotionevent') should be initialized correctly.]
expected: FAIL
[DragEvent should be an alias for DragEvent.]
expected: FAIL
[dragevent should be an alias for DragEvent.]
expected: FAIL
[deviceorientationevent should be an alias for DeviceOrientationEvent.]
expected: FAIL
[DeviceOrientationEvent should be an alias for DeviceOrientationEvent.]
expected: FAIL
[createEvent('DEVICEORIENTATIONEVENT') should be initialized correctly.]
expected: FAIL
[createEvent('DragEvent') should be initialized correctly.]
expected: FAIL
[createEvent('deviceorientationevent') should be initialized correctly.]
expected: FAIL
[DeviceMotionEvent should be an alias for DeviceMotionEvent.]
expected: FAIL

View file

@ -321,12 +321,15 @@
[<iframe>: combined response Content-Type: text/html;charset=gbk text/plain text/html]
expected: FAIL
[<iframe>: separate response Content-Type: text/html;" text/plain]
expected: FAIL
[<iframe>: separate response Content-Type: text/html */*]
expected: FAIL
[<iframe>: combined response Content-Type: text/html;" \\" text/plain]
[<iframe>: combined response Content-Type: */* text/html]
expected: FAIL
[<iframe>: combined response Content-Type: text/html */*;charset=gbk]
expected: FAIL
[<iframe>: separate response Content-Type: text/html;" \\" text/plain]
expected: FAIL

View file

@ -0,0 +1,4 @@
[unset_context_name.html]
[Window.name is reset after navigating to a different origin]
expected: FAIL

View file

@ -0,0 +1,4 @@
[traverse_the_history_1.html]
[Multiple history traversals from the same task]
expected: FAIL

View file

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

View file

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

View file

@ -1,4 +1,5 @@
[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]
expected: FAIL
expected: TIMEOUT

View file

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

View file

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

View file

@ -1,19 +1,10 @@
[select-event.html]
[input type search: setRangeText() a second time (must not fire select)]
expected: FAIL
[textarea: selectionStart out of range a second time (must not fire select)]
expected: FAIL
[input type url: setRangeText() a second time (must not fire select)]
expected: FAIL
[input type text: selectionStart a second time (must not fire select)]
expected: FAIL
[textarea: selectionEnd 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
@ -26,33 +17,15 @@
[input type password: selectionEnd a second time (must not fire select)]
expected: FAIL
[input type password: selectionDirection 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: select() a second time (must not fire select)]
expected: FAIL
[input type tel: selectionEnd out of range a second time (must not fire select)]
expected: FAIL
[input type text: selectionEnd a second time (must not fire select)]
expected: FAIL
[textarea: selectionDirection a second time (must not fire select)]
expected: FAIL
[input type url: selectionEnd 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
[input type text: setSelectionRange() 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
@ -65,12 +38,39 @@
[input type tel: setSelectionRange out of range a second time (must not fire select)]
expected: FAIL
[input type text: selectionDirection a second time (must not fire select)]
expected: FAIL
[input type password: selectionStart out of range a second time (must not fire select)]
expected: FAIL
[input type search: selectionStart 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: selectionEnd out of range a second time (must not fire select)]
expected: FAIL
[input type search: setSelectionRange() a second time (must not fire select)]
expected: FAIL
[textarea: selectionStart a second time (must not fire select)]
expected: FAIL
[input type tel: selectionDirection a second time (must not fire select)]
expected: FAIL
[input type tel: setSelectionRange() a second time (must not fire select)]
expected: FAIL
[input type password: setRangeText() a second time (must not fire select)]
expected: FAIL
[input type search: selectionEnd out of range a second time (must not fire select)]
expected: FAIL
[input type url: selectionStart a second time (must not fire select)]
expected: FAIL
[input type tel: selectionStart a second time (must not fire select)]
expected: FAIL

View file

@ -0,0 +1,7 @@
[popup-element-basic.tentative.html]
[popup element exists]
expected: FAIL
[popup element basic show/hide behavior]
expected: FAIL

View file

@ -0,0 +1,7 @@
[popup-open.tentative.html]
[On setting, the content open attribute must be removed if the IDL open attribute is set to false, and must be present if the IDL open attribute is set to true.]
expected: FAIL
[The IDL open attribute must return true if the content open attribute is set, and false if it is absent.]
expected: FAIL

View file

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

View file

@ -0,0 +1,4 @@
[module-static-import-delayed.html]
[document.write in an imported module]
expected: FAIL

View file

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

View file

@ -0,0 +1,19 @@
[historical.html]
[TouchList::identifiedTouch]
expected: FAIL
[Touch::webkitRotationAngle]
expected: FAIL
[TouchEvent::initTouchEvent]
expected: FAIL
[Touch::webkitRadiusY]
expected: FAIL
[Touch::webkitRadiusX]
expected: FAIL
[Touch::webkitForce]
expected: FAIL

View file

@ -10,4 +10,12 @@
[constructor-reftypes.tentative.any.worker.html]
expected: ERROR
[initialize anyfunc table with a bad default value]
expected: FAIL
[initialize externref table with default value]
expected: FAIL
[initialize anyfunc table with default value]
expected: FAIL

View file

@ -1,5 +1,10 @@
[set-reftypes.tentative.any.worker.html]
expected: ERROR
[Arguments for externref table set]
expected: FAIL
[Arguments for anyfunc table set]
expected: FAIL
[set-reftypes.tentative.any.html]
[Arguments for externref table set]

View file

@ -563,3 +563,9 @@
[X Stitched sine-wave buffers at sample rate 43800 does not equal [0,0.06264832615852356,0.12505052983760834,0.18696144223213196,0.24813786149024963,0.308339387178421,0.36732959747314453,0.4248766601085663,0.480754554271698,0.5347436666488647,0.5866320133209229,0.6362156271934509,0.6832997798919678,0.7276994585990906,0.7692402601242065,0.8077589869499207...\] with an element-wise tolerance of {"absoluteThreshold":0.0038986,"relativeThreshold":0}.\n\tIndex\tActual\t\t\tExpected\t\tAbsError\t\tRelError\t\tTest threshold\n\t[28696\]\t2.8580460955235994e+33\t9.3139332532882690e-1\t2.8580460955235994e+33\t3.0685705145187411e+33\t3.8985999999999999e-3\n\t[28697\]\t7.0477002859115601e-1\t9.0675884485244751e-1\t2.0198881626129150e-1\t2.2275913536212616e-1\t3.8985999999999999e-3\n\tMax AbsError of 2.8580460955235994e+33 at index of 28696.\n\tMax RelError of 3.0685705145187411e+33 at index of 28696.\n]
expected: FAIL
[X SNR (43.9840572017468 dB) is not greater than or equal to 65.737. Got 43.9840572017468.]
expected: FAIL
[X Stitched sine-wave buffers at sample rate 43800 does not equal [0,0.06264832615852356,0.12505052983760834,0.18696144223213196,0.24813786149024963,0.308339387178421,0.36732959747314453,0.4248766601085663,0.480754554271698,0.5347436666488647,0.5866320133209229,0.6362156271934509,0.6832997798919678,0.7276994585990906,0.7692402601242065,0.8077589869499207...\] with an element-wise tolerance of {"absoluteThreshold":0.0038986,"relativeThreshold":0}.\n\tIndex\tActual\t\t\tExpected\t\tAbsError\t\tRelError\t\tTest threshold\n\t[25222\]\t8.3282489238748033e-20\t-8.0183947086334229e-1\t8.0183947086334229e-1\t1.0000000000000000e+0\t3.8985999999999999e-3\n\t[25223\]\t-3.5574635863304138e-1\t-8.3769923448562622e-1\t4.8195287585258484e-1\t5.7532925423826975e-1\t3.8985999999999999e-3\n\tMax AbsError of 8.0183947086334229e-1 at index of 25222.\n\tMax RelError of 1.0000000000000000e+0 at index of 25222.\n]
expected: FAIL

View file

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

View file

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

View file

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

View file

@ -1,5 +1,4 @@
[003.html]
expected: ERROR
[shared]
expected: FAIL

File diff suppressed because it is too large Load diff

View file

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

View file

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

View file

@ -8,3 +8,12 @@
[DOMTokenList behavior of ElementInternals.states: Modifications]
expected: FAIL
[CustomStateSet behavior of ElementInternals.states: Exceptions]
expected: FAIL
[CustomStateSet behavior of ElementInternals.states: Initial state]
expected: FAIL
[CustomStateSet behavior of ElementInternals.states: Modifications]
expected: FAIL

View file

@ -1,8 +1,21 @@
[Event-dispatch-click.html]
type: testharness
expected: TIMEOUT
[event state during post-click handling]
expected: FAIL
[submit button should not activate if the event listener disables it]
expected: FAIL
[disabling radio in onclick listener shouldn't suppress onchange]
expected: TIMEOUT
[disabling checkbox in onclick listener shouldn't suppress oninput]
expected: TIMEOUT
[disabling radio in onclick listener shouldn't suppress oninput]
expected: TIMEOUT
[disabling checkbox in onclick listener shouldn't suppress onchange]
expected: TIMEOUT

View file

@ -53,3 +53,6 @@
[DeviceMotionEvent should be an alias for DeviceMotionEvent.]
expected: FAIL
[Should throw NOT_SUPPORTED_ERR for non-legacy event interface "TouchEvent"]
expected: FAIL

View file

@ -321,12 +321,15 @@
[<iframe>: combined response Content-Type: text/html;charset=gbk text/plain text/html]
expected: FAIL
[<iframe>: separate response Content-Type: text/html;" text/plain]
expected: FAIL
[<iframe>: separate response Content-Type: text/html */*]
expected: FAIL
[<iframe>: combined response Content-Type: text/html;" \\" text/plain]
[<iframe>: combined response Content-Type: */* text/html]
expected: FAIL
[<iframe>: combined response Content-Type: text/html */*;charset=gbk]
expected: FAIL
[<iframe>: separate response Content-Type: text/html;" \\" text/plain]
expected: FAIL

View file

@ -0,0 +1,4 @@
[unset_context_name.html]
[Window.name is reset after navigating to a different origin]
expected: FAIL

View file

@ -0,0 +1,4 @@
[traverse_the_history_1.html]
[Multiple history traversals from the same task]
expected: FAIL

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -1,19 +1,10 @@
[select-event.html]
[input type search: setRangeText() a second time (must not fire select)]
expected: FAIL
[textarea: selectionStart out of range a second time (must not fire select)]
expected: FAIL
[input type url: setRangeText() a second time (must not fire select)]
expected: FAIL
[input type text: selectionStart a second time (must not fire select)]
expected: FAIL
[textarea: selectionEnd 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
@ -26,33 +17,15 @@
[input type password: selectionEnd a second time (must not fire select)]
expected: FAIL
[input type password: selectionDirection 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: select() a second time (must not fire select)]
expected: FAIL
[input type tel: selectionEnd out of range a second time (must not fire select)]
expected: FAIL
[input type text: selectionEnd a second time (must not fire select)]
expected: FAIL
[textarea: selectionDirection a second time (must not fire select)]
expected: FAIL
[input type url: selectionEnd 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
[input type text: setSelectionRange() 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
@ -65,12 +38,39 @@
[input type tel: setSelectionRange out of range a second time (must not fire select)]
expected: FAIL
[input type text: selectionDirection a second time (must not fire select)]
expected: FAIL
[input type password: selectionStart out of range a second time (must not fire select)]
expected: FAIL
[input type search: selectionStart 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: selectionEnd out of range a second time (must not fire select)]
expected: FAIL
[input type search: setSelectionRange() a second time (must not fire select)]
expected: FAIL
[textarea: selectionStart a second time (must not fire select)]
expected: FAIL
[input type tel: selectionDirection a second time (must not fire select)]
expected: FAIL
[input type tel: setSelectionRange() a second time (must not fire select)]
expected: FAIL
[input type password: setRangeText() a second time (must not fire select)]
expected: FAIL
[input type search: selectionEnd out of range a second time (must not fire select)]
expected: FAIL
[input type url: selectionStart a second time (must not fire select)]
expected: FAIL
[input type tel: selectionStart a second time (must not fire select)]
expected: FAIL

View file

@ -0,0 +1,7 @@
[popup-element-basic.tentative.html]
[popup element exists]
expected: FAIL
[popup element basic show/hide behavior]
expected: FAIL

View file

@ -0,0 +1,7 @@
[popup-open.tentative.html]
[On setting, the content open attribute must be removed if the IDL open attribute is set to false, and must be present if the IDL open attribute is set to true.]
expected: FAIL
[The IDL open attribute must return true if the content open attribute is set, and false if it is absent.]
expected: FAIL

View file

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

View file

@ -0,0 +1,4 @@
[module-static-import-delayed.html]
[document.write in an imported module]
expected: FAIL

View file

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

View file

@ -13,3 +13,7 @@
[TouchList::identifiedTouch]
expected: FAIL
[TouchEvent::initTouchEvent]
expected: FAIL

View file

@ -10,4 +10,12 @@
[constructor-reftypes.tentative.any.worker.html]
expected: ERROR
[initialize anyfunc table with a bad default value]
expected: FAIL
[initialize externref table with default value]
expected: FAIL
[initialize anyfunc table with default value]
expected: FAIL

View file

@ -1,5 +1,10 @@
[set-reftypes.tentative.any.worker.html]
expected: ERROR
[Arguments for externref table set]
expected: FAIL
[Arguments for anyfunc table set]
expected: FAIL
[set-reftypes.tentative.any.html]
[Arguments for externref table set]

View file

@ -791,3 +791,9 @@
[X Stitched sine-wave buffers at sample rate 43800 does not equal [0,0.06264832615852356,0.12505052983760834,0.18696144223213196,0.24813786149024963,0.308339387178421,0.36732959747314453,0.4248766601085663,0.480754554271698,0.5347436666488647,0.5866320133209229,0.6362156271934509,0.6832997798919678,0.7276994585990906,0.7692402601242065,0.8077589869499207...\] with an element-wise tolerance of {"absoluteThreshold":0.0038986,"relativeThreshold":0}.\n\tIndex\tActual\t\t\tExpected\t\tAbsError\t\tRelError\t\tTest threshold\n\t[28696\]\t2.8580460955235994e+33\t9.3139332532882690e-1\t2.8580460955235994e+33\t3.0685705145187411e+33\t3.8985999999999999e-3\n\t[28697\]\t7.0477002859115601e-1\t9.0675884485244751e-1\t2.0198881626129150e-1\t2.2275913536212616e-1\t3.8985999999999999e-3\n\tMax AbsError of 2.8580460955235994e+33 at index of 28696.\n\tMax RelError of 3.0685705145187411e+33 at index of 28696.\n]
expected: FAIL
[X SNR (43.9840572017468 dB) is not greater than or equal to 65.737. Got 43.9840572017468.]
expected: FAIL
[X Stitched sine-wave buffers at sample rate 43800 does not equal [0,0.06264832615852356,0.12505052983760834,0.18696144223213196,0.24813786149024963,0.308339387178421,0.36732959747314453,0.4248766601085663,0.480754554271698,0.5347436666488647,0.5866320133209229,0.6362156271934509,0.6832997798919678,0.7276994585990906,0.7692402601242065,0.8077589869499207...\] with an element-wise tolerance of {"absoluteThreshold":0.0038986,"relativeThreshold":0}.\n\tIndex\tActual\t\t\tExpected\t\tAbsError\t\tRelError\t\tTest threshold\n\t[25222\]\t8.3282489238748033e-20\t-8.0183947086334229e-1\t8.0183947086334229e-1\t1.0000000000000000e+0\t3.8985999999999999e-3\n\t[25223\]\t-3.5574635863304138e-1\t-8.3769923448562622e-1\t4.8195287585258484e-1\t5.7532925423826975e-1\t3.8985999999999999e-3\n\tMax AbsError of 8.0183947086334229e-1 at index of 25222.\n\tMax RelError of 1.0000000000000000e+0 at index of 25222.\n]
expected: FAIL

View file

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

View file

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

View file

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

View file

@ -1,6 +1,5 @@
[003.html]
type: testharness
expected: ERROR
[shared]
expected: FAIL

View file

@ -2,6 +2,3 @@
[Sequences with holes and a getter on the prototype are correctly handled]
expected: FAIL
[Sequences with holes are correctly handled]
expected: FAIL

View file

@ -1,3 +1,6 @@
[sequence-hole.html]
type: testharness
prefs: [dom.testbinding.enabled:true]
[Sequences with holes and a getter on the prototype are correctly handled]
expected: FAIL

View file

@ -1 +1 @@
Accept-CH: dpr,device-memory,viewport-width,rtt,downlink,ect,lang,ua,ua-arch,ua-platform,ua-platform-version,ua-model
Accept-CH: dpr,device-memory,viewport-width,rtt,downlink,ect,lang,sec-ch-ua,sec-ch-ua-arch,sec-ch-ua-platform,sec-ch-ua-platform-version,sec-ch-ua-model

View file

@ -1 +1 @@
Accept-CH: ua,ua-arch,ua-platform,ua-platform-version,ua-model
Accept-CH: sec-ch-ua,sec-ch-ua-arch,sec-ch-ua-platform,sec-ch-ua-platform-version,sec-ch-ua-model

View file

@ -0,0 +1,10 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>Black square reference</title>
<style>
.test { background-color: #000000; width: 12em; height: 12em; }
</style>
<body>
<p>Test passes if you see a black square, and no red.</p>
<div class="test"></div>
</body>

View file

@ -0,0 +1,10 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>Green square #009900 reference</title>
<style>
.test { background-color: #009900; width: 12em; height: 12em;}
</style>
<body>
<p>Test passes if you see a green square, and no red.</p>
<div class="test"></div>
</body>

View file

@ -3,11 +3,13 @@
<title>CSS Color 4: Specifying Lab and LCH</title>
<link rel="author" title="Chris Lilley" href="mailto:chris@w3.org">
<link rel="help" href="https://drafts.csswg.org/css-color-4/#specifying-lab-lch">
<link rel="match" href="greentext-ref.html">
<link rel="match" href="greensquare-ref.html">
<meta name="assert" content="lab() with no alpha">
<style>
.test {color: lab(46.277% -47.562 48.583)} /* green (sRGB #008000) converted to Lab */
.test { background-color: red; width: 12em; height: 12em; }
.test { background-color: lab(46.2775% -47.5621 48.5837); } /* green (sRGB #008000) converted to Lab */
</style>
<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>

View file

@ -3,12 +3,13 @@
<title>CSS Color 4: Specifying Lab and LCH</title>
<link rel="author" title="Chris Lilley" href="mailto:chris@w3.org">
<link rel="help" href="https://drafts.csswg.org/css-color-4/#specifying-lab-lch">
<link rel="match" href="blacktext-ref.html">
<link rel="match" href="blacksquare-ref.html">
<meta name="assert" content="lab() with no alpha">
<style>
.test { color: red; }
.test { color: lab(0% 0 0)} /* black (sRGB #000000) converted to Lab */
.test { background-color: red; width: 12em; height: 12em; }
.test { background-color: lab(0% 0 0); } /* black (sRGB #000000) converted to Lab */
</style>
<body>
<p class="test">Test passes if this text is black</p>
<p>Test passes if you see a black square, and no red.</p>
<div class="test"></div>
</body>

View file

@ -3,12 +3,14 @@
<title>CSS Color 4: Specifying Lab and LCH</title>
<link rel="author" title="Chris Lilley" href="mailto:chris@w3.org">
<link rel="help" href="https://drafts.csswg.org/css-color-4/#specifying-lab-lch">
<link rel="match" href="whitetext-ref.html">
<link rel="match" href="whitesquare-ref.html">
<meta name="assert" content="lab() with no alpha">
<style>
.test { color: red; background-color: #333; padding: 3px;}
.test { color: lab(100% 0 0);} /* white (sRGB #FFFFFF) converted to Lab */
body { background-color: grey; }
.test { background-color: red; width: 12em; height: 12em; }
.test { background-color: lab(100% 0 0); } /* white (sRGB #FFFFFF) converted to Lab */
</style>
<body>
<p class="test">Test passes if this text is white</p>
<p>Test passes if you see a white square, and no red.</p>
<div class="test"></div>
</body>

View file

@ -2,10 +2,9 @@
<meta charset="utf-8">
<title>CSS Color 4: Specifying Lab and LCH</title>
<style>
.match { color: rgb(75.62% 30.45% 47.56%)} /* lab(50 50 0) converted to sRGB */
.test { background-color: rgb(75.6208% 30.4487% 47.5634%); width: 12em; height: 12em; } /* lab(50% 50 0) converted to sRGB */
</style>
<body>
<p>Test passes if the two lines of filler text are the same color.</p>
<p class="match">Filler text. Filler text. Filler text. </p>
<p class="match">Filler text. Filler text. Filler text. </p>
<p>Test passes if you see a single square, and not two rectangles of different colors.</p>
<div class="test"></div>
</body>

View file

@ -6,12 +6,12 @@
<link rel="match" href="lab-004-ref.html">
<meta name="assert" content="lab() with no alpha, positive a axis">
<style>
.test { color: red; }
.test { color: lab(50% 50 0)}
.match { color: rgb(75.62%, 30.45%, 47.56%)} /* lab(50 50 0) converted to sRGB */
.test { background-color: red; width: 12em; height: 6em; margin-top: 0; }
.ref { background-color: rgb(75.6208% 30.4487% 47.5634%); width: 12em; height: 6em; margin-bottom: 0; }/* lab(50% 50 0) converted to sRGB */
.test { background-color: lab(50% 50 0); }
</style>
<body>
<p>Test passes if the two lines of filler text are the same color.</p>
<p class="test">Filler text. Filler text. Filler text. </p>
<p class="match">Filler text. Filler text. Filler text. </p>
<p>Test passes if you see a single square, and not two rectangles of different colors.</p>
<div class="ref"></div>
<div class="test"></div>
</body>

View file

@ -2,10 +2,9 @@
<meta charset="utf-8">
<title>CSS Color 4: Specifying Lab and LCH</title>
<style>
.match { color: rgb(10.79%, 75.55%, 66.40%)} /* lab(70 -45 0) converted to sRGB */
.test { background-color: rgb(10.7906% 75.5567% 66.3982%); width: 12em; height: 12em; } /* lab(70% -45 0) converted to sRGB */
</style>
<body>
<p>Test passes if the two lines of filler text are the same color.</p>
<p class="match">Filler text. Filler text. Filler text. </p>
<p class="match">Filler text. Filler text. Filler text. </p>
<p>Test passes if you see a single square, and not two rectangles of different colors.</p>
<div class="test"></div>
</body>

View file

@ -6,12 +6,12 @@
<link rel="match" href="lab-005-ref.html">
<meta name="assert" content="lab() with no alpha, negative a axis">
<style>
.test { color: red; }
.test { color: lab(70% -45 0)}
.match { color: rgb(10.79%, 75.55%, 66.40%)} /* lab(70 -45 0) converted to sRGB */
.test { background-color: red; width: 12em; height: 6em; margin-top: 0; }
.ref { background-color: rgb(10.7906% 75.5567% 66.3982%); width: 12em; height: 6em; margin-bottom: 0; } /* lab(70% -45 0) converted to sRGB */
.test { background-color: lab(70% -45 0); }
</style>
<body>
<p>Test passes if the two lines of filler text are the same color.</p>
<p class="test">Filler text. Filler text. Filler text. </p>
<p class="match">Filler text. Filler text. Filler text. </p>
<p>Test passes if you see a single square, and not two rectangles of different colors.</p>
<div class="ref"></div>
<div class="test"></div>
</body>

View file

@ -2,10 +2,9 @@
<meta charset="utf-8">
<title>CSS Color 4: Specifying Lab and LCH</title>
<style>
.match { color: rgb(76.62%, 66.36%, 5.58%)} /* lab(70 0 70) converted to sRGB */
.test { background-color: rgb(76.6254% 66.3607% 5.5775%); width: 12em; height: 12em; } /* lab(70% 0 70) converted to sRGB */
</style>
<body>
<p>Test passes if the two lines of filler text are the same color.</p>
<p class="match">Filler text. Filler text. Filler text. </p>
<p class="match">Filler text. Filler text. Filler text. </p>
<p>Test passes if you see a single square, and not two rectangles of different colors.</p>
<div class="test"></div>
</body>

View file

@ -6,12 +6,12 @@
<link rel="match" href="lab-006-ref.html">
<meta name="assert" content="lab() with no alpha, positive b axis">
<style>
.test { color: red; }
.test { color: lab(70% 0 70)}
.match { color: rgb(76.62%, 66.36%, 5.58%)} /* lab(70 0 70) converted to sRGB */
.test { background-color: red; width: 12em; height: 6em; margin-top: 0; }
.ref { background-color: rgb(76.6254% 66.3607% 5.5775%); width: 12em; height: 6em; margin-bottom: 0; } /* lab(70% 0 70) converted to sRGB */
.test { background-color: lab(70% 0 70); }
</style>
<body>
<p>Test passes if the two lines of filler text are the same color.</p>
<p class="test">Filler text. Filler text. Filler text. </p>
<p class="match">Filler text. Filler text. Filler text. </p>
<p>Test passes if you see a single square, and not two rectangles of different colors.</p>
<div class="ref"></div>
<div class="test"></div>
</body>

View file

@ -2,10 +2,9 @@
<meta charset="utf-8">
<title>CSS Color 4: Specifying Lab and LCH</title>
<style>
.match { color: rgb(12.81%, 53.10%, 92.76%)} /* lab(55 0 -60) converted to sRGB */
.test { background-color: rgb(12.8128% 53.105% 92.7645%); width: 12em; height: 12em; } /* lab(55% 0 -60) converted to sRGB */
</style>
<body>
<p>Test passes if the two lines of filler text are the same color.</p>
<p class="match">Filler text. Filler text. Filler text. </p>
<p class="match">Filler text. Filler text. Filler text. </p>
<p>Test passes if you see a single square, and not two rectangles of different colors.</p>
<div class="test"></div>
</body>

View file

@ -6,12 +6,12 @@
<link rel="match" href="lab-007-ref.html">
<meta name="assert" content="lab() with no alpha, negative b axis">
<style>
.test { color: red; }
.test { color: lab(55% 0 -60)}
.match { color: rgb(12.81%, 53.10%, 92.76%)} /* lab(55 0 -60) converted to sRGB */
.test { background-color: red; width: 12em; height: 6em; margin-top: 0; }
.ref { background-color: rgb(12.8128% 53.105% 92.7645%); width: 12em; height: 6em; margin-bottom: 0; } /* lab(55% 0 -60) converted to sRGB */
.test { background-color: lab(55% 0 -60); }
</style>
<body>
<p>Test passes if the two lines of filler text are the same color.</p>
<p class="test">Filler text. Filler text. Filler text. </p>
<p class="match">Filler text. Filler text. Filler text. </p>
<p>Test passes if you see a single square, and not two rectangles of different colors.</p>
<div class="ref"></div>
<div class="test"></div>
</body>

View file

@ -3,11 +3,13 @@
<title>CSS Color 4: Specifying Lab and LCH</title>
<link rel="author" title="Chris Lilley" href="mailto:chris@w3.org">
<link rel="help" href="https://drafts.csswg.org/css-color-4/#specifying-lab-lch">
<link rel="match" href="greentext-ref.html">
<link rel="match" href="greensquare-ref.html">
<meta name="assert" content="lch() with no alpha">
<style>
.test {color: lch(46.277% 67.945 134.427)} /* green (sRGB #008000) converted to LCH */
.test { background-color: red; width: 12em; height: 12em; }
.test { background-color: lch(46.2775% 67.9892 134.3912); } /* green (sRGB #008000) converted to LCH */
</style>
<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>

View file

@ -3,12 +3,13 @@
<title>CSS Color 4: Specifying Lab and LCH</title>
<link rel="author" title="Chris Lilley" href="mailto:chris@w3.org">
<link rel="help" href="https://drafts.csswg.org/css-color-4/#specifying-lab-lch">
<link rel="match" href="blacktext-ref.html">
<link rel="match" href="blacksquare-ref.html">
<meta name="assert" content="lch() with no alpha">
<style>
.test { color: red; }
.test { color: lch(0% 0 0)} /* black (sRGB #000000) converted to LCH */
.test { background-color: red; width: 12em; height: 12em; }
.test { background-color: lch(0% 0 0); } /* black (sRGB #000000) converted to LCH */
</style>
<body>
<p class="test">Test passes if this text is black</p>
<p>Test passes if you see a black square, and no red.</p>
<div class="test"></div>
</body>

View file

@ -3,12 +3,14 @@
<title>CSS Color 4: Specifying Lab and LCH</title>
<link rel="author" title="Chris Lilley" href="mailto:chris@w3.org">
<link rel="help" href="https://drafts.csswg.org/css-color-4/#specifying-lab-lch">
<link rel="match" href="whitetext-ref.html">
<link rel="match" href="whitesquare-ref.html">
<meta name="assert" content="lch() with no alpha">
<style>
.test { color: red; background-color: #333; padding: 3px;}
.test { color: lch(100% 0 0);} /* white (sRGB #FFFFFF) converted to LCH */
body { background-color: grey; }
.test { background-color: red; width: 12em; height: 12em; }
.test { background-color: lch(100% 0 0); } /* white (sRGB #FFFFFF) converted to LCH */
</style>
<body>
<p class="test">Test passes if this text is white</p>
<p>Test passes if you see a white square, and no red.</p>
<div class="test"></div>
</body>

View file

@ -0,0 +1,10 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Color 4: Specifying Lab and LCH</title>
<style>
.test { background-color: rgb(75.6208% 30.4487% 47.5634%); width: 12em; height: 12em; } /* lch(50% 50 0) converted to sRGB (happens to be the same as lab(50% 50 0)) */
</style>
<body>
<p>Test passes if you see a single square, and not two rectangles of different colors.</p>
<div class="test"></div>
</body>

View file

@ -3,15 +3,15 @@
<title>CSS Color 4: Specifying Lab and LCH</title>
<link rel="author" title="Chris Lilley" href="mailto:chris@w3.org">
<link rel="help" href="https://drafts.csswg.org/css-color-4/#specifying-lab-lch">
<link rel="match" href="lab-004-ref.html">
<meta name="assert" content="lch() with no alpha, positive a axis">
<link rel="match" href="lch-004-ref.html">
<meta name="assert" content="lch() with no alpha, positive a axis (when converted to Lab)">
<style>
.test { color: red; }
.test { color: lch(50% 50 0)}
.match { color: rgb(75.62%, 30.45%, 47.56%)} /* lch(50 50 0) converted to sRGB (happens to be the same as lab(50 50 0)*/
.test { background-color: red; width: 12em; height: 6em; margin-top: 0; }
.ref { background-color: rgb(75.6208% 30.4487% 47.5634%); width: 12em; height: 6em; margin-bottom: 0; } /* lch(50% 50 0) converted to sRGB (happens to be the same as lab(50% 50 0)) */
.test { background-color: lch(50% 50 0); }
</style>
<body>
<p>Test passes if the two lines of filler text are the same color.</p>
<p class="test">Filler text. Filler text. Filler text. </p>
<p class="match">Filler text. Filler text. Filler text. </p>
<p>Test passes if you see a single square, and not two rectangles of different colors.</p>
<div class="ref"></div>
<div class="test"></div>
</body>

View file

@ -0,0 +1,10 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Color 4: Specifying Lab and LCH</title>
<style>
.test { background-color: rgb(10.7906% 75.5567% 66.3982%); width: 12em; height: 12em; } /* lch(70% 45 180) converted to sRGB */
</style>
<body>
<p>Test passes if you see a single square, and not two rectangles of different colors.</p>
<div class="test"></div>
</body>

View file

@ -3,15 +3,15 @@
<title>CSS Color 4: Specifying Lab and LCH</title>
<link rel="author" title="Chris Lilley" href="mailto:chris@w3.org">
<link rel="help" href="https://drafts.csswg.org/css-color-4/#specifying-lab-lch">
<link rel="match" href="lab-005-ref.html">
<meta name="assert" content="lch() with no alpha, negative a axis">
<link rel="match" href="lch-005-ref.html">
<meta name="assert" content="lch() with no alpha, negative a axis (when converted to Lab)">
<style>
.test { color: red; }
.test { color: lch(70% 45 -180)}
.match { color: rgb(10.79%, 75.55%, 66.40%)} /* lch(70 45 180) converted to sRGB */
.test { background-color: red; width: 12em; height: 6em; margin-top: 0; }
.ref { background-color: rgb(10.7906% 75.5567% 66.3982%); width: 12em; height: 6em; margin-bottom: 0; } /* lch(70% 45 180) converted to sRGB */
.test { background-color: lch(70% 45 -180); }
</style>
<body>
<p>Test passes if the two lines of filler text are the same color.</p>
<p class="test">Filler text. Filler text. Filler text. </p>
<p class="match">Filler text. Filler text. Filler text. </p>
<p>Test passes if you see a single square, and not two rectangles of different colors.</p>
<div class="ref"></div>
<div class="test"></div>
</body>

View file

@ -0,0 +1,10 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Color 4: Specifying Lab and LCH</title>
<style>
.test { background-color: rgb(76.6254% 66.3607% 5.5775%); width: 12em; height: 12em; } /* lch(70% 70 90) converted to sRGB */
</style>
<body>
<p>Test passes if you see a single square, and not two rectangles of different colors.</p>
<div class="test"></div>
</body>

View file

@ -3,15 +3,15 @@
<title>CSS Color 4: Specifying Lab and LCH</title>
<link rel="author" title="Chris Lilley" href="mailto:chris@w3.org">
<link rel="help" href="https://drafts.csswg.org/css-color-4/#specifying-lab-lch">
<link rel="match" href="lab-006-ref.html">
<meta name="assert" content="lch() with no alpha, positive b axis">
<link rel="match" href="lch-006-ref.html">
<meta name="assert" content="lch() with no alpha, positive b axis (when converted to Lab)">
<style>
.test { color: red; }
.test { color: lch(70% 70 90)}
.match { color: rgb(76.62%, 66.36%, 5.58%)} /* lch(70 70 90) converted to sRGB */
.test { background-color: red; width: 12em; height: 6em; margin-top: 0; }
.ref { background-color: rgb(76.6254% 66.3607% 5.5775%); width: 12em; height: 6em; margin-bottom: 0; } /* lch(70% 70 90) converted to sRGB */
.test { background-color: lch(70% 70 90); }
</style>
<body>
<p>Test passes if the two lines of filler text are the same color.</p>
<p class="test">Filler text. Filler text. Filler text. </p>
<p class="match">Filler text. Filler text. Filler text. </p>
<p>Test passes if you see a single square, and not two rectangles of different colors.</p>
<div class="ref"></div>
<div class="test"></div>
</body>

View file

@ -0,0 +1,10 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Color 4: Specifying Lab and LCH</title>
<style>
.test { background-color: rgb(12.8128% 53.105% 92.7645%); width: 12em; height: 12em; } /* lch(55% 60 270) converted to sRGB */
</style>
<body>
<p>Test passes if you see a single square, and not two rectangles of different colors.</p>
<div class="test"></div>
</body>

View file

@ -3,15 +3,15 @@
<title>CSS Color 4: Specifying Lab and LCH</title>
<link rel="author" title="Chris Lilley" href="mailto:chris@w3.org">
<link rel="help" href="https://drafts.csswg.org/css-color-4/#specifying-lab-lch">
<link rel="match" href="lab-007-ref.html">
<meta name="assert" content="lab() with no alpha, negative b axis">
<link rel="match" href="lch-007-ref.html">
<meta name="assert" content="lch() with no alpha, negative b axis (when converted to Lab)">
<style>
.test { color: red; }
.test { color: lch(56% 58 275)}
.match { color: rgb(12.81%, 53.10%, 92.76%)} /* lch(56 58 275) converted to sRGB */
.test { background-color: red; width: 12em; height: 6em; margin-top: 0; }
.ref { background-color: rgb(12.8128% 53.105% 92.7645%); width: 12em; height: 6em; margin-bottom: 0; } /* lch(55% 60 270) converted to sRGB */
.test { background-color: lch(55% 60 270); }
</style>
<body>
<p>Test passes if the two lines of filler text are the same color.</p>
<p class="test">Filler text. Filler text. Filler text. </p>
<p class="match">Filler text. Filler text. Filler text. </p>
<p>Test passes if you see a single square, and not two rectangles of different colors.</p>
<div class="ref"></div>
<div class="test"></div>
</body>

View file

@ -3,7 +3,7 @@
<title>CSS Color 4: predefined colorspaces, srgb, decimal values</title>
<link rel="author" title="Chris Lilley" href="mailto:chris@w3.org">
<link rel="help" href="https://drafts.csswg.org/css-color-4/#predefined">
<link rel="match" href="greensquare-ref.html">
<link rel="match" href="greensquare-090-ref.html">
<meta name="assert" content="Color function with explicit srgb value as decimal matches sRGB #009900">
<style>
.test { background-color: red; width: 12em; height: 6em; margin-top:0}

View file

@ -3,7 +3,7 @@
<title>CSS Color 4: predefined colorspaces, srgb, percent values</title>
<link rel="author" title="Chris Lilley" href="mailto:chris@w3.org">
<link rel="help" href="https://drafts.csswg.org/css-color-4/#predefined">
<link rel="match" href="greensquare-ref.html">
<link rel="match" href="greensquare-090-ref.html">
<meta name="assert" content="Color function with explicit srgb value as percent matches sRGB #009900">
<style>
.test { background-color: red; width: 12em; height: 6em; margin-top:0}

View file

@ -3,7 +3,7 @@
<title>CSS Color 4: predefined colorspaces, default srgb, decimal values</title>
<link rel="author" title="Chris Lilley" href="mailto:chris@w3.org">
<link rel="help" href="https://drafts.csswg.org/css-color-4/#predefined">
<link rel="match" href="greensquare-ref.html">
<link rel="match" href="greensquare-090-ref.html">
<meta name="assert" content="Color function with default srgb value as decimal matches sRGB #009900">
<style>
.test { background-color: red; width: 12em; height: 6em; margin-top:0}

View file

@ -3,7 +3,7 @@
<title>CSS Color 4: predefined colorspaces, default srgb, percent values</title>
<link rel="author" title="Chris Lilley" href="mailto:chris@w3.org">
<link rel="help" href="https://drafts.csswg.org/css-color-4/#predefined">
<link rel="match" href="greensquare-ref.html">
<link rel="match" href="greensquare-090-ref.html">
<meta name="assert" content="Color function with default srgb value as percent matches sRGB #009900">
<style>
.test { background-color: red; width: 12em; height: 6em; margin-top:0}

View file

@ -3,7 +3,7 @@
<title>CSS Color 4: predefined colorspaces, display-p3, decimal values</title>
<link rel="author" title="Chris Lilley" href="mailto:chris@w3.org">
<link rel="help" href="https://drafts.csswg.org/css-color-4/#predefined">
<link rel="match" href="greensquare-ref.html">
<link rel="match" href="greensquare-090-ref.html">
<meta name="assert" content="Color function with explicit display-p3 value as decimal matches sRGB #009900">
<style>
.test { background-color: red; width: 12em; height: 6em; margin-top:0}

View file

@ -3,7 +3,7 @@
<title>CSS Color 4: predefined colorspaces, display-p3, percent values</title>
<link rel="author" title="Chris Lilley" href="mailto:chris@w3.org">
<link rel="help" href="https://drafts.csswg.org/css-color-4/#predefined">
<link rel="match" href="greensquare-ref.html">
<link rel="match" href="greensquare-090-ref.html">
<meta name="assert" content="Color function with explicit display-p3 value as percent matches sRGB #009900">
<style>
.test { background-color: red; width: 12em; height: 6em; margin-top:0}

View file

@ -3,7 +3,7 @@
<title>CSS Color 4: predefined colorspaces, a98-rgb, decimal values</title>
<link rel="author" title="Chris Lilley" href="mailto:chris@w3.org">
<link rel="help" href="https://drafts.csswg.org/css-color-4/#predefined">
<link rel="match" href="greensquare-ref.html">
<link rel="match" href="greensquare-090-ref.html">
<meta name="assert" content="Color function with explicit a98-rgb value as decimal matches sRGB #009900">
<style>
.test { background-color: red; width: 12em; height: 6em; margin-top:0}

View file

@ -3,7 +3,7 @@
<title>CSS Color 4: predefined colorspaces, a98-rgb, percent values</title>
<link rel="author" title="Chris Lilley" href="mailto:chris@w3.org">
<link rel="help" href="https://drafts.csswg.org/css-color-4/#predefined">
<link rel="match" href="greensquare-ref.html">
<link rel="match" href="greensquare-090-ref.html">
<meta name="assert" content="Color function with explicit a98-rgb value as percent matches sRGB #009900">
<style>
.test { background-color: red; width: 12em; height: 6em; margin-top:0}

View file

@ -3,7 +3,7 @@
<title>CSS Color 4: predefined colorspaces, prophoto-rgb, decimal values</title>
<link rel="author" title="Chris Lilley" href="mailto:chris@w3.org">
<link rel="help" href="https://drafts.csswg.org/css-color-4/#predefined">
<link rel="match" href="greensquare-ref.html">
<link rel="match" href="greensquare-090-ref.html">
<meta name="assert" content="Color function with explicit prophoto-rgb value as decimal matches sRGB #009900. Note that prophoto-rgb uses a D50 white so the chromatic adaptation step from Lab must be skipped.">
<style>
.test { background-color: red; width: 12em; height: 6em; margin-top:0}

View file

@ -3,7 +3,7 @@
<title>CSS Color 4: predefined colorspaces, prophoto-rgb, percent values</title>
<link rel="author" title="Chris Lilley" href="mailto:chris@w3.org">
<link rel="help" href="https://drafts.csswg.org/css-color-4/#predefined">
<link rel="match" href="greensquare-ref.html">
<link rel="match" href="greensquare-090-ref.html">
<meta name="assert" content="Color function with explicit prophoto-rgb value as percent matches sRGB #009900. Note that prophoto-rgb uses a D50 white so the chromatic adaptation step from Lab must be skipped.">
<style>
.test { background-color: red; width: 12em; height: 6em; margin-top:0}

View file

@ -3,7 +3,7 @@
<title>CSS Color 4: predefined colorspaces, rec2020, decimal values</title>
<link rel="author" title="Chris Lilley" href="mailto:chris@w3.org">
<link rel="help" href="https://drafts.csswg.org/css-color-4/#predefined">
<link rel="match" href="greensquare-ref.html">
<link rel="match" href="greensquare-090-ref.html">
<meta name="assert" content="Color function with explicit rec2020 value as decimal matches sRGB #009900">
<style>
.test { background-color: red; width: 12em; height: 6em; margin-top:0}

View file

@ -3,7 +3,7 @@
<title>CSS Color 4: predefined colorspaces, rec2020, percent values</title>
<link rel="author" title="Chris Lilley" href="mailto:chris@w3.org">
<link rel="help" href="https://drafts.csswg.org/css-color-4/#predefined">
<link rel="match" href="greensquare-ref.html">
<link rel="match" href="greensquare-090-ref.html">
<meta name="assert" content="Color function with explicit rec2020 value as percent matches sRGB #009900">
<style>
.test { background-color: red; width: 12em; height: 6em; margin-top:0}

View file

@ -3,7 +3,7 @@
<title>CSS Color 4: predefined colorspaces, lab</title>
<link rel="author" title="Chris Lilley" href="mailto:chris@w3.org">
<link rel="help" href="https://drafts.csswg.org/css-color-4/#predefined">
<link rel="match" href="greensquare-ref.html">
<link rel="match" href="greensquare-090-ref.html">
<meta name="assert" content="Color function with explicit lab value matches sRGB #009900">
<style>
.test { background-color: red; width: 12em; height: 6em; margin-top:0}

View file

@ -3,7 +3,7 @@
<title>CSS Color 4: predefined colorspaces, fallback</title>
<link rel="author" title="Chris Lilley" href="mailto:chris@w3.org">
<link rel="help" href="https://drafts.csswg.org/css-color-4/#predefined">
<link rel="match" href="greensquare-ref.html">
<link rel="match" href="greensquare-090-ref.html">
<meta name="assert" content="Color function with invalid colorspace, fallback matches sRGB #009900">
<style>
.test { background-color: red; width: 12em; height: 6em; margin-top:0}

View file

@ -3,7 +3,7 @@
<title>CSS Color 4: predefined colorspaces, fallback</title>
<link rel="author" title="Chris Lilley" href="mailto:chris@w3.org">
<link rel="help" href="https://drafts.csswg.org/css-color-4/#predefined">
<link rel="match" href="greensquare-ref.html">
<link rel="match" href="greensquare-090-ref.html">
<meta name="assert" content="Color function with colorspace which matches sRGB #009900, red fallback">
<style>
.test { background-color: red; width: 12em; height: 6em; margin-top:0}

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