commit | 41f6273211e9c08770594af70f25594ec242c6eb | [log] [tgz] |
---|---|---|
author | Darren Shen <shend@chromium.org> | Wed Feb 28 00:11:22 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Feb 28 00:11:22 2018 |
tree | 5d722347ea06b0dab69839dcc1677e5c2eeb6176 | |
parent | fd345ac41002b8f0f0f39ca72fa45a78878637c5 [diff] |
[css-typed-om] Implement shorthands for .get/.getAll/.has. This patch implements shorthands for stylemap.get/getAll/has. Shorthands are implemented as a base CSSStyleValue. They are different to other properties because they cannot be converted to a single CSSValue. Instead, we need to store the CSSValues of their longhands so that they can be set again on the same property. Patches to come: - styleMap.set/update - Serialization of these values. Bug: 816722 Change-Id: Ia2c3f694809c219566b965ebfae40bc38d74f4c5 Reviewed-on: https://chromium-review.googlesource.com/938881 Reviewed-by: nainar <nainar@chromium.org> Commit-Queue: Darren Shen <shend@chromium.org> Cr-Commit-Position: refs/heads/master@{#539594}
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 .