[Webkit-unassigned] [Bug 76081] New: Add new CSS enum value to a switch() in CSSStyleSelector::applyProperty() to fix compile error

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 11 11:30:20 PST 2012


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

           Summary: Add new CSS enum value to a switch() in
                    CSSStyleSelector::applyProperty() to fix compile error
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: dimich at chromium.org
                CC: mitz at webkit.org, levin at chromium.org,
                    thakis at chromium.org


This is a follow-up on http://trac.webkit.org/r104678
It added a new CSS property, CSSPropertyWebkitFontKerning and this breaks compile if WebKit is built with SVG disabled.

The CSSStyleSelector::applyProperty() contains a big switch() with the following fragment at the end:

#if ENABLE(SVG)
    default:
       // Try the SVG properties
       applySVGProperty(id, value);
        return;
#endif

I'm adding the CSSPropertyWebkitFontKerning into this switch() in a non-specific manner, since I need to fix the compile error on some Chromium bots. 
Adding mitz@ to alert and perhaps do a better fix later.

-- 
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