DescriptionDon't check implicit flag for serializing background and -webkit-mask
This patch edits the StylePropertySerializer to no longer look at the
implicit flag, in particular for the remaining two properties using it,
background and -webkit-mask. This makes those shorthands behave more
consistently. In both of the updated test cases, the set values would
result in an identical set of longhands as being set by the new returned
shorthand, aside from the (invisible) implicit flag. We now allow this
serialization to remove the case where styles can appear identical in
their longhands (shorthands technically are not in the styles) but still
serialize differently.
This patch removes the last usage of the implicit flag outside of
devtools. We may simply want to remove the usage there as the flag is
not actually set particularly consistently, and does not even make sense
for properties like background and animation.
BUG=471917
Committed: https://crrev.com/dc0de0608505a5bf92e0ee71f2efd4a7424f2969
Cr-Commit-Position: refs/heads/master@{#441331}
Patch Set 1 #
Messages
Total messages: 13 (8 generated)
|