[Webkit-unassigned] [Bug 93210] New: CSSParser: Move enumeration to a common place (StylePropertyShorthand)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Aug 5 16:49:16 PDT 2012


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

           Summary: CSSParser: Move enumeration to a common place
                    (StylePropertyShorthand)
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P3
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: savagobr at yahoo.com


Current code in CSSParser::parseAnimationShorthand() has an enumeration declared with the same elements as another enumeration declared in StylePropertyShorthand.

The issue is that this code depends on a different ordering of enum values (i.e. animationName) to avoid matching with other keywords like fill-mode/timing function, etc.

I considered copying the original values and reordering in a static variable, but it may cause performance regressions. For while, it seems to make sense to at least have both enums in the same place.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list