Bug 1487655 [wpt PR 12775] - [css-properties-values-api] Typify CSSStyleValue.parse...
commit39e8b3637cbb72ddb99fd92d7cc39cd899f34390
authorAnders Hartvoll Ruud <andruud@chromium.org>
Tue, 4 Sep 2018 18:36:55 +0000 (4 18:36 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Wed, 5 Sep 2018 13:09:18 +0000 (5 13:09 +0000)
tree2217790cae2a44af39ee7a1348ad8e61b2df6afc
parent70d5e769fe5af6b8d0825fd7bd3e00c776f279b6
Bug 1487655 [wpt PR 12775] - [css-properties-values-api] Typify CSSStyleValue.parse/All., a=testonly

Automatic update from web-platform-tests[css-properties-values-api] Typify CSSStyleValue.parse/All.

Passing the PropertyRegistration makes StyleValueFactory::FromString
find the typed value, and create appropriate and corresponding TypedOM
types.

Note: the check on property_id==CSSPropertyVariable isn't strictly
required, but it's nice to avoid the AtomicString creation if we know it's
not needed.

R=futhark@chromium.org

Bug: 641877
Change-Id: Id7f7f8c754f8aab7f64a92efd896243858d03757
Reviewed-on: https://chromium-review.googlesource.com/1199182
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: Anders Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/master@{#588001}

--

wpt-commits: 6955f7b1c81ebf402628229efb9a1b20af2f6370
wpt-pr: 12775
testing/web-platform/meta/MANIFEST.json
testing/web-platform/tests/css/css-properties-values-api/typedom.tentative.html