[Webkit-unassigned] [Bug 185953] cssText serialization doesn't contain properties with "initial" values

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 13 10:13:19 PDT 2018


https://bugs.webkit.org/show_bug.cgi?id=185953

Oriol Brufau <obrufau at igalia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |Regression
                 CC|                            |obrufau at igalia.com
             Blocks|                            |81737

--- Comment #1 from Oriol Brufau <obrufau at igalia.com> ---
The cause seems that StyleProperties::asText() in Source/WebCore/css/StyleProperties.cpp has this code:

        if (propertyID != CSSPropertyCustom && value == "initial" && !CSSProperty::isInheritedProperty(propertyID))
            continue;

This was added in https://bugs.webkit.org/show_bug.cgi?id=81737

But it can't simply be removed, the logic to handle serialization of shorthands and longhands needs to be refactored.


Referenced Bugs:

https://bugs.webkit.org/show_bug.cgi?id=81737
[Bug 81737] cssText should use shorthand notations
-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180913/dcc9a217/attachment.html>


More information about the webkit-unassigned mailing list