[wpt-sync] Sync PR 51974 - Update CSS Values and Units 5 random() function tests
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox139 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
(Blocks 1 open bug, )
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 51974 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/51974
Details from upstream follow.
Sam Weinig <sam@webkit.org> wrote:
Update CSS Values and Units 5 random() function tests
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=291092 and https://bugs.webkit.org/show_bug.cgi?id=291320
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Comment 1•1 year ago
|
||
| Assignee | ||
Comment 2•1 year ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 3 tests and 31 subtests
Status Summary
Firefox
OK : 3
PASS: 29
FAIL: 97
Chrome
OK : 3
PASS: 29
FAIL: 97
Safari
OK : 3
PASS: 58
FAIL: 68
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /css/css-values/random-computed.tentative.html [wpt.fyi]
- Property scale value 'random(1, 11)':
FAIL(Chrome:FAIL, Safari:PASS) - Property scale value 'random(--foo, 2, 12)':
FAIL(Chrome:FAIL, Safari:PASS) - Property scale value 'random(--foo element-shared, 3, 13)':
FAIL(Chrome:FAIL, Safari:FAIL) - Property scale value 'random(element-shared --foo, 4, 14)':
FAIL(Chrome:FAIL, Safari:FAIL) - Property scale value 'random(0, 10, 5)':
FAIL(Chrome:FAIL, Safari:FAIL) - Property scale value 'random(--foo, 10, 20, 5)':
FAIL(Chrome:FAIL, Safari:FAIL) - Property scale value 'random(--foo element-shared, 20, 30, 5)':
FAIL(Chrome:FAIL, Safari:FAIL) - Property scale value 'random(element-shared --foo, 30, 40, 5)':
FAIL(Chrome:FAIL, Safari:FAIL) - Property scale value 'random(100, 10)':
FAIL(Chrome:FAIL, Safari:PASS) - Property scale value 'random(-10, -100)':
FAIL(Chrome:FAIL, Safari:PASS) - Property scale value 'random(-100, -10)':
FAIL(Chrome:FAIL, Safari:PASS) - Property scale value 'random(40, 50, -5)':
FAIL(Chrome:FAIL, Safari:FAIL) - Property scale value 'random(5 * 1, 30 / 2)':
FAIL(Chrome:FAIL, Safari:PASS) - Property scale value 'calc(2 * random(6, 16))':
FAIL(Chrome:FAIL, Safari:PASS) - Property scale value 'random(NaN, 100)':
FAIL(Chrome:FAIL, Safari:PASS) - Property scale value 'random(10, NaN)':
FAIL(Chrome:FAIL, Safari:PASS) - Property scale value 'random(NaN, NaN)':
FAIL(Chrome:FAIL, Safari:PASS) - Property scale value 'random(NaN, 100, 10)':
FAIL(Chrome:FAIL, Safari:FAIL) - Property scale value 'random(10, NaN, 10)':
FAIL(Chrome:FAIL, Safari:FAIL) - Property scale value 'random(NaN, NaN, 10)':
FAIL(Chrome:FAIL, Safari:FAIL) - Property scale value 'random(NaN, 100, NaN)':
FAIL(Chrome:FAIL, Safari:FAIL) - Property scale value 'random(10, NaN, NaN)':
FAIL(Chrome:FAIL, Safari:FAIL) - Property scale value 'random(NaN, NaN, NaN)':
FAIL(Chrome:FAIL, Safari:FAIL) - Property scale value 'random(10, 100, NaN)':
FAIL(Chrome:FAIL, Safari:FAIL) - Property scale value 'calc(10 + random(NaN, 100))':
FAIL(Chrome:FAIL, Safari:PASS) - Property scale value 'calc(10 + random(10, NaN))':
FAIL(Chrome:FAIL, Safari:PASS) - Property scale value 'calc(10 + random(NaN, NaN))':
FAIL(Chrome:FAIL, Safari:PASS) - Property scale value 'calc(10 + random(NaN, 100, 10))':
FAIL(Chrome:FAIL, Safari:FAIL) - Property scale value 'calc(10 + random(10, NaN, 10))':
FAIL(Chrome:FAIL, Safari:FAIL) - Property scale value 'calc(10 + random(NaN, NaN, 10))':
FAIL(Chrome:FAIL, Safari:FAIL) - Property scale value 'calc(10 + random(NaN, 100, NaN))':
FAIL(Chrome:FAIL, Safari:FAIL) - Property scale value 'calc(10 + random(10, NaN, NaN))':
FAIL(Chrome:FAIL, Safari:FAIL) - Property scale value 'calc(10 + random(NaN, NaN, NaN))':
FAIL(Chrome:FAIL, Safari:FAIL) - Property scale value 'calc(10 + random(10, 100, NaN))':
FAIL(Chrome:FAIL, Safari:FAIL) - Property scale value 'random(infinity, 100)':
FAIL(Chrome:FAIL, Safari:FAIL) - Property scale value 'random(infinity, infinity)':
FAIL(Chrome:FAIL, Safari:FAIL) - Property scale value 'random(infinity, 100, 10)':
FAIL(Chrome:FAIL, Safari:FAIL) - Property scale value 'random(infinity, infinity, 10)':
FAIL(Chrome:FAIL, Safari:FAIL) - Property scale value 'random(infinity, 100, infinity)':
FAIL(Chrome:FAIL, Safari:FAIL) - Property scale value 'random(infinity, infinity, infinity)':
FAIL(Chrome:FAIL, Safari:FAIL) - Property scale value 'calc(10 + random(infinity, 100))':
FAIL(Chrome:FAIL, Safari:FAIL) - Property scale value 'calc(10 + random(infinity, infinity))':
FAIL(Chrome:FAIL, Safari:FAIL) - Property scale value 'calc(10 + random(infinity, infinity, 10))':
FAIL(Chrome:FAIL, Safari:FAIL) - Property scale value 'calc(10 + random(infinity, 100, infinity))':
FAIL(Chrome:FAIL, Safari:FAIL) - Property scale value 'calc(10 + random(infinity, infinity, infinity))':
FAIL(Chrome:FAIL, Safari:FAIL) - Property scale value 'calc(10 + random(infinity, 100, 10))':
FAIL(Chrome:FAIL, Safari:FAIL) - Property scale value 'random(10, infinity)':
FAIL(Chrome:FAIL, Safari:PASS) - Property scale value 'random(10, infinity, 10)':
FAIL(Chrome:FAIL, Safari:FAIL) - Property scale value 'random(10, infinity, infinity)':
FAIL(Chrome:FAIL, Safari:FAIL) - Property scale value 'calc(10 + random(10, infinity))':
FAIL(Chrome:FAIL, Safari:PASS) - Property scale value 'calc(10 + random(10, infinity, 10))':
FAIL(Chrome:FAIL, Safari:FAIL) - Property scale value 'calc(10 + random(10, infinity, infinity))':
FAIL(Chrome:FAIL, Safari:FAIL) - Property scale value 'random(10, 100, infinity)':
FAIL(Chrome:FAIL, Safari:FAIL) - Property scale value 'calc(10 + random(10, 100, infinity))':
FAIL(Chrome:FAIL, Safari:FAIL) - Property scale value 'random(10, 100, -infinity)':
FAIL(Chrome:FAIL, Safari:FAIL) - Property scale value 'calc(10 + random(10, 100, -infinity))':
FAIL(Chrome:FAIL, Safari:FAIL) - Property scale value on pseudo element '::before' 'random(7, 17)':
FAIL(Chrome:FAIL, Safari:PASS) - Property scale value on pseudo element '::before' 'random(--bar, 8, 18)':
FAIL(Chrome:FAIL, Safari:PASS) - Property scale value on pseudo element '::before' 'random(element-shared, 9, 19)':
FAIL(Chrome:FAIL, Safari:FAIL) - Property scale value on pseudo element '::before' 'random(element-shared --foo, 10, 20)':
FAIL(Chrome:FAIL, Safari:FAIL) - Property translate value 'random(10%, 100%)':
FAIL(Chrome:FAIL, Safari:FAIL) - Maximum random: 'random(a, b)':
FAIL(Chrome:FAIL, Safari:FAIL) - Maximum random - shorthand: random(a, b)):
FAIL(Chrome:FAIL, Safari:FAIL) - Shared by name within an element: 'random(--identifier, a, b)':
FAIL(Chrome:FAIL, Safari:PASS) - Shared globally: random(--identifier element-shared, a, b):
FAIL(Chrome:FAIL, Safari:FAIL) - Fixed: random(fixed <number>, a, b):
FAIL(Chrome:FAIL, Safari:FAIL)
- Property scale value 'random(1, 11)':
- /css/css-values/random-serialize.tentative.html [wpt.fyi]
- e.style['width'] = "random(0px, 100px)" should set the property value:
FAIL(Chrome:FAIL, Safari:PASS) - e.style['width'] = "random(0px, 100px, 50px)" should set the property value:
FAIL(Chrome:FAIL, Safari:FAIL) - e.style['width'] = "random(--foo, 0px, 100px)" should set the property value:
FAIL(Chrome:FAIL, Safari:PASS) - e.style['width'] = "random(auto, 0px, 100px)" should set the property value:
FAIL(Chrome:FAIL, Safari:FAIL) - e.style['width'] = "random(--foo element-shared, 0px, 100px)" should set the property value:
FAIL(Chrome:FAIL, Safari:FAIL) - e.style['width'] = "random(auto element-shared, 0px, 100px)" should set the property value:
FAIL(Chrome:FAIL, Safari:FAIL) - e.style['width'] = "random(element-shared --foo, 0px, 100px)" should set the property value:
FAIL(Chrome:FAIL, Safari:FAIL) - e.style['width'] = "random(element-shared auto, 0px, 100px)" should set the property value:
FAIL(Chrome:FAIL, Safari:FAIL) - e.style['width'] = "random(fixed 0.5, 0px, 100px)" should set the property value:
FAIL(Chrome:FAIL, Safari:FAIL) - e.style['width'] = "random(--foo, 0px, 100px, 50px)" should set the property value:
FAIL(Chrome:FAIL, Safari:FAIL) - e.style['width'] = "random(auto, 0px, 100px, 50px)" should set the property value:
FAIL(Chrome:FAIL, Safari:FAIL) - e.style['width'] = "random(--foo element-shared, 0px, 100px, 50px)" should set the property value:
FAIL(Chrome:FAIL, Safari:FAIL) - e.style['width'] = "random(auto element-shared, 0px, 100px, 50px)" should set the property value:
FAIL(Chrome:FAIL, Safari:FAIL) - e.style['width'] = "random(element-shared --foo, 0px, 100px, 50px)" should set the property value:
FAIL(Chrome:FAIL, Safari:FAIL) - e.style['width'] = "random(element-shared auto, 0px, 100px, 50px)" should set the property value:
FAIL(Chrome:FAIL, Safari:FAIL) - e.style['width'] = "random(fixed 0.5, 0px, 100px, 50px)" should set the property value:
FAIL(Chrome:FAIL, Safari:FAIL) - e.style['width'] = "random(100px, 0px)" should set the property value:
FAIL(Chrome:FAIL, Safari:PASS) - e.style['width'] = "random(-100px, -10px)" should set the property value:
FAIL(Chrome:FAIL, Safari:PASS) - e.style['width'] = "random(-100px, -10px, -5px)" should set the property value:
FAIL(Chrome:FAIL, Safari:FAIL) - e.style['width'] = "random(1em, 200rem)" should set the property value:
FAIL(Chrome:FAIL, Safari:PASS) - e.style['width'] = "random(10 * 100px, 200em / 2)" should set the property value:
FAIL(Chrome:FAIL, Safari:PASS) - e.style['width'] = "random(fixed calc(2 / 4), 0px, 100px)" should set the property value:
FAIL(Chrome:FAIL, Safari:FAIL) - e.style['width'] = "calc(2 * random(0px, 100px))" should set the property value:
FAIL(Chrome:FAIL, Safari:PASS) - e.style['max-lines'] = "random(25, 50)" should set the property value:
FAIL(Chrome:FAIL, Safari:PASS) - e.style['max-lines'] = "random(25, 50, 5)" should set the property value:
FAIL(Chrome:FAIL, Safari:FAIL) - e.style['scale'] = "random(0.5, 2.5)" should set the property value:
FAIL(Chrome:FAIL, Safari:PASS) - e.style['scale'] = "random(0.5, 2.5, 0.1)" should set the property value:
FAIL(Chrome:FAIL, Safari:FAIL) - e.style['rotate'] = "random(25deg, 1turn)" should set the property value:
FAIL(Chrome:FAIL, Safari:PASS) - e.style['rotate'] = "random(25deg, 1turn, 5deg)" should set the property value:
FAIL(Chrome:FAIL, Safari:FAIL) - e.style['transition-delay'] = "random(25ms, 50s)" should set the property value:
FAIL(Chrome:FAIL, Safari:PASS) - e.style['transition-delay'] = "random(25ms, 50s, 5s)" should set the property value:
FAIL(Chrome:FAIL, Safari:FAIL)
- e.style['width'] = "random(0px, 100px)" should set the property value:
Comment 4•1 year ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/8cf980796dfb
https://hg.mozilla.org/mozilla-central/rev/1137703c8f88
Description
•