[Webkit-unassigned] [Bug 157569] New: Correctly handle prefixed and unprefixed variants in CSSStyleDeclaration

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 11 09:53:58 PDT 2016


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

            Bug ID: 157569
           Summary: Correctly handle prefixed and unprefixed variants in
                    CSSStyleDeclaration
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: graouts at webkit.org
                CC: webkit-bug-importer at group.apple.com

For a few years now, we would add the variant of a property specified with a prefix, or for which a prefixed variant exists, when specifying it. This means that simply specifying "transition-property: width" would also set the "-webkit-transition-property" property to "width". This was added with https://bugs.webkit.org/show_bug.cgi?id=110011. This would yield some undesirable behaviour, for instance the `cssText` would contain more properties than those that were specified, and it would also lead to incorrect handling of shorthand properties that would not correctly reset previously set longhand properties (see https://bugs.webkit.org/show_bug.cgi?id=156944).

We need to fix this and also ensure interoperability with other browsers when reading style rules. For instance, specifying "transition-property: width" will make both `style.transitionProperty` and `style.Mow|webkitTransitionProperty` return "width" in Firefox and Chrome, we should follow the same behaviour.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160511/4f6e7fef/attachment-0001.html>


More information about the webkit-unassigned mailing list