commit | 96ab66655c7395ccd27d3bcd41009460f84f0f57 | [log] [tgz] |
---|---|---|
author | Anders Hartvoll Ruud <andruud@chromium.org> | Wed Oct 10 07:38:00 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Oct 10 07:38:00 2018 |
tree | e1876091c3a336005ebf6e001b63c4a45b08b2bb | |
parent | c35c5958901e46b51f16b6bc8c6597367dd74c20 [diff] |
[css-properties-values-api] Proper types from StylePropertyMap iterator. When iterating a StylePropertyMap, any registered custom properties in that map must have the appropriate type according to the registration. Currently all custom properties are always CSSUnparsedValue, which is only correct for unregistered properties and properties registered as "*". Fixed by parsing the value on its way out, similar to how get/getAll implements the same behavior. R=chrishtr@chromium.org Bug: 641877 Change-Id: I5e0b2d064cd0ce4827eabf464a5cf0a0e138c5db Reviewed-on: https://chromium-review.googlesource.com/c/1264540 Commit-Queue: Anders Ruud <andruud@chromium.org> Reviewed-by: Chris Harrelson <chrishtr@chromium.org> Cr-Commit-Position: refs/heads/master@{#598247}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .