Computed style node up-to-date for custom properties
Reported by
r...@opera.com,
May 3 2016
|
||
Issue descriptionQuerying custom properties from getComputedStyle().getPropertyValue() does not recalculate computed style when necessary. Works in Gecko.
,
May 3 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/b4bf5e78fabe368cf4005dcb4b3adc19107afab5 commit b4bf5e78fabe368cf4005dcb4b3adc19107afab5 Author: rune <rune@opera.com> Date: Tue May 03 21:58:16 2016 Make sure computed style is up-to-date for custom properties. For custom properties, we didn't call updateLayoutTreeForNode which meant the computed style object might return out-of-date values for custom properties. Did some cleanup in getPropertyCSSValue for known properties. R=shans@chromium.org BUG= 608690 Review-Url: https://codereview.chromium.org/1945623002 Cr-Commit-Position: refs/heads/master@{#391368} [modify] https://crrev.com/b4bf5e78fabe368cf4005dcb4b3adc19107afab5/third_party/WebKit/LayoutTests/fast/css/variables/computed-style.html [modify] https://crrev.com/b4bf5e78fabe368cf4005dcb4b3adc19107afab5/third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp
,
May 3 2016
|
||
►
Sign in to add a comment |
||
Comment 1 by r...@opera.com
, May 3 2016