Make Variable a Longhand, and implement ApplyValue.
This makes custom properties _almost_ normal w.r.t. style building. As long as we DCHECK that the value is not initial/inherit before applying, we can treat it as any other CSSProperty. R=futhark@chromium.org Bug: 751354 Change-Id: I2009320d95e1371df550fd2a55d7d561042d2061 Reviewed-on: https://chromium-review.googlesource.com/1076327 Commit-Queue: Anders Ruud <andruud@chromium.org> Reviewed-by:Rune Lillesveen <futhark@chromium.org> Cr-Commit-Position: refs/heads/master@{#562574}
Showing
Please register or sign in to comment