Closed Bug 1574625 Opened 4 months ago Closed 4 months ago

[wpt-sync] Sync PR 18510 - Add parser and evaluation WPT for <time> values involving min/max()

Categories

(Core :: CSS Parsing and Computation, task, P4)

task

Tracking

()

RESOLVED FIXED
mozilla70
Tracking Status
firefox70 --- fixed

People

(Reporter: wptsync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 18510 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/18510
Details from upstream follow.

Xiaocheng Hu <xiaochengh@chromium.org> wrote:

Add parser and evaluation WPT for <time> values involving min/max()

Bug: 978682
Change-Id: I65c38a7b5978034c4c477e68d29edaa2852d09af
Reviewed-on: https://chromium-review.googlesource.com/1758299
WPT-Export-Revision: 9aa3eb5dafd84e957fd967e144bf26bb7b108101

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Ran 2 tests and 74 subtests
OK     : 2
PASS   : 55
FAIL   : 19

New tests that have failures or other problems:
/css/css-values/minmax-time-computed.html
    Property transition-delay value 'calc(max(0.5s, 400ms) * 2)' computes to '1s': FAIL
    Property transition-delay value 'calc(max(0.5s, 400ms) + 500ms)' computes to '1s': FAIL
    Property transition-delay value 'calc(max(0.5s, 400ms) / 2)' computes to '0.25s': FAIL
    Property transition-delay value 'calc(min(0.5s, 600ms) * 2)' computes to '1s': FAIL
    Property transition-delay value 'calc(min(0.5s, 600ms) + 500ms)' computes to '1s': FAIL
    Property transition-delay value 'calc(min(0.5s, 600ms) + max(500ms, 0.4s))' computes to '1s': FAIL
    Property transition-delay value 'calc(min(0.5s, 600ms) / 2)' computes to '0.25s': FAIL
    Property transition-delay value 'max(0.9s, 1000ms)' computes to '1s': FAIL
    Property transition-delay value 'max(1000ms, min(2000ms, 1.5s))' computes to '1.5s': FAIL
    Property transition-delay value 'max(1ms)' computes to '0.001s': FAIL
    Property transition-delay value 'max(1ms, 2ms)' computes to '0.002s': FAIL
    Property transition-delay value 'max(1s)' computes to '1s': FAIL
    Property transition-delay value 'max(1s, 2s)' computes to '2s': FAIL
    Property transition-delay value 'min(1ms)' computes to '0.001s': FAIL
    Property transition-delay value 'min(1ms, 2ms)' computes to '0.001s': FAIL
    Property transition-delay value 'min(1s)' computes to '1s': FAIL
    Property transition-delay value 'min(1s, 1100ms)' computes to '1s': FAIL
    Property transition-delay value 'min(1s, 2s)' computes to '1s': FAIL
    Property transition-delay value 'min(2s, max(1s, 1500ms))' computes to '1.5s': FAIL
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/ee6b7a99ce5b
[wpt PR 18510] - Add parser and evaluation WPT for <time> values involving min/max(), a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/9f329a486ec9
[wpt PR 18510] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
You need to log in before you can comment on or make changes to this bug.