mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-28 04:39:07 -10:00
Automatic update from web-platform-tests[css-properties-values-api] Reify values from styleMap.get. This CL gives return values from element.styleMap.get the correct type according to the current PropertyRegistration. The expected behavior is exactly the same as for attributeStyleMap, so those tests have been adapted to run for both API entry points. Note: PrepopulatedComputedStylePropertyMap is available in worklets, where the ExecutionContext is not a Document, but we don't need to reify values in this case, because already-reified values are "pushed" rather than "pulled". (See ::UpdateStyle). Note: Exit ParseIfRegistered before registration lookup. This avoids the lookup if we already know that we won't need it (which is the case for [Prepopulated]ComputedStylePropertyMap). Bug: 641877 Change-Id: Id54a22079c88368efccc372d01252fa3e7734d10 Reviewed-on: https://chromium-review.googlesource.com/1201302 Reviewed-by: Rune Lillesveen <[email protected]> Commit-Queue: Anders Ruud <[email protected]> Cr-Commit-Position: refs/heads/master@{#588840} -- wpt-commits: ba2287be3eb16c7c8b6f0ced3680a539309b2a14 wpt-pr: 12827