Closed Bug 1584002 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 19310 - Add serialization WPT for CSS comparison functions min/max on <angle>

Categories

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

task

Tracking

()

RESOLVED FIXED
mozilla71
Tracking Status
firefox71 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Xiaocheng Hu <xiaochengh@chromium.org> wrote:

Add serialization WPT for CSS comparison functions min/max on <angle>

Note that the test failures are due to an existing bug crbug.com/1008146
that we fail to sort terms in a summation in the serialization. The bug
is orthogonal to the implementation of min/max.

Bug: 978682
Change-Id: I0407fd40488f8e1a262e697977a9b80e22f9788c
Reviewed-on: https://chromium-review.googlesource.com/1825726
WPT-Export-Revision: 758b3b77b3f2bc964657d0c5c87bb862b2d54b44

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Ran 1 tests and 20 subtests
OK     : 1
FAIL   : 20

New tests that have failures or other problems:
/css/css-values/minmax-time-serialize.html
    e.style['transition-delay'] = "calc(1s + max(2s))" should set the property value: FAIL
    e.style['transition-delay'] = "calc(1s + min(2s))" should set the property value: FAIL
    e.style['transition-delay'] = "calc(max(1s) + max(2s))" should set the property value: FAIL
    e.style['transition-delay'] = "calc(max(2s) + 1s)" should set the property value: FAIL
    e.style['transition-delay'] = "calc(max(2s) + max(1s))" should set the property value: FAIL
    e.style['transition-delay'] = "calc(min(1s) + min(2s))" should set the property value: FAIL
    e.style['transition-delay'] = "calc(min(2s) + 1s)" should set the property value: FAIL
    e.style['transition-delay'] = "calc(min(2s) + min(1s))" should set the property value: FAIL
    e.style['transition-delay'] = "max(1000ms, 1s)" should set the property value: FAIL
    e.style['transition-delay'] = "max(1ms)" should set the property value: FAIL
    e.style['transition-delay'] = "max(1ms, 2ms, 3ms)" should set the property value: FAIL
    e.style['transition-delay'] = "max(1s)" should set the property value: FAIL
    e.style['transition-delay'] = "max(1s, 1000ms)" should set the property value: FAIL
    e.style['transition-delay'] = "max(3ms, 2ms, 1ms)" should set the property value: FAIL
    e.style['transition-delay'] = "min(1000ms, 1s)" should set the property value: FAIL
    e.style['transition-delay'] = "min(1ms)" should set the property value: FAIL
    e.style['transition-delay'] = "min(1ms, 2ms, 3ms)" should set the property value: FAIL
    e.style['transition-delay'] = "min(1s)" should set the property value: FAIL
    e.style['transition-delay'] = "min(1s, 1000ms)" should set the property value: FAIL
    e.style['transition-delay'] = "min(3ms, 2ms, 1ms)" should set the property value: FAIL
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/de301ae0d248
[wpt PR 19310] - Add serialization WPT for CSS comparison functions min/max on <time>, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/b61a1fce07ef
[wpt PR 19310] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
You need to log in before you can comment on or make changes to this bug.