Closed Bug 1488431 Opened 7 years ago Closed 7 years ago

[wpt-sync] Sync PR 12827 - [css-properties-values-api] Typify styleMap.get.

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
mozilla64
Tracking Status
firefox64 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 12827 into mozilla-central (this bug is closed when the sync is complete). PR: https://github.com/web-platform-tests/wpt/pull/12827 Details from upstream follow. Anders Hartvoll Ruud <andruud@chromium.org> wrote: > [css-properties-values-api] Typify 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 does not need to use the > passed ExecutionContext to get the PropertyRegistration, because the > correct CSSValue has already been "pushed" to the object during style > recalc. (See PrepopulatedComputedStylePropertyMap::UpdateStyle). > > Bug: 641877 > Change-Id: Id54a22079c88368efccc372d01252fa3e7734d10 > > Reviewed-on: https://chromium-review.googlesource.com/1201302 > WPT-Export-Revision: 801edf6e9ab6025cc56afe1cff827d06024d6902
Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Failed to get results from try push
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/cb465bfc25f7 [wpt PR 12827] - [css-properties-values-api] Reify values from styleMap.get., a=testonly
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in before you can comment on or make changes to this bug.