DescriptionFix EditingStyle::mergeStyle()'s handling of custom properties
This patch fixes the logic of EditingStyle::mergeStyle() to correctly
handle custom properties. Currently it serializes the CSSValue and then
reparses it, which, aside from being inefficient, doesn't work for
custom properties as the custom property name is lost (since we only
have the enum value CSSPropertyVariable).
BUG=622420
Review-Url: https://codereview.chromium.org/2103043004
Cr-Commit-Position: refs/heads/master@{#410614}
(cherry picked from commit aadb63893e4c1358d1e5139aa29552eb190682c8)
Committed: https://chromium.googlesource.com/chromium/src/+/ed9e60bc6238f29c78a85229e57a07256c4f66e4
Patch Set 1 #
Messages
Total messages: 2 (1 generated)
|