Closed Bug 1585126 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 19411 - Support clamp() in CSSNumericValue.parse()

Categories

(Core :: DOM: CSS Object Model, 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 19411 into mozilla-central (this bug is closed when the sync is complete).

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

Xiaocheng Hu <xiaochengh@chromium.org> wrote:

Support clamp() in CSSNumericValue.parse()

This patch supports parsing 'clamp(MIN, VAL, MAX)' into a
CSSNumericValue via the parse() method.

This was missed in the previous implementation of clamp(), and should be
the last missing piece of the implementation.

Bug: 825895
Change-Id: I6da8113d62b1416dc6d3521b58134932b257ca62
Reviewed-on: https://chromium-review.googlesource.com/1832147
WPT-Export-Revision: 53783189be168229cc14893aec1bd622dac998c1

Component: web-platform-tests → DOM: CSS Object Model
Product: Testing → Core
Ran 1 tests and 8 subtests
OK     : 1
FAIL   : 8

New tests that have failures or other problems:
/css/css-typed-om/stylevalue-subclasses/numeric-objects/parse.tentative.html
    Parsing clamp() is successful: FAIL
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/c0457cec2a17
[wpt PR 19411] - Support clamp() in CSSNumericValue.parse(), a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/d8b6a89da1d7
[wpt PR 19411] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
You need to log in before you can comment on or make changes to this bug.