[Webkit-unassigned] [Bug 102027] New: Some CSS properties are not handled on StyleResolver::applyProperty

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 12 18:01:17 PST 2012


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

           Summary: Some CSS properties are not handled on
                    StyleResolver::applyProperty
           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: ktf.kim at samsung.com


The CSSPropertyMaxZoom, CSSPropertyMinZoom, CSSPropertyOrientation, CSSPropertyUserZoom  properties,
that are used when CSS_DEVICE_ADAPTATION enabled,
are not properly handled on StyleResolver::applyProperty.

When SVG enabled, they are go to applySVGProperty, and when SVG disabled, the below build warning occurs:
(In the below case, that was error because -Werror=switch was on)
Source/WebCore/css/StyleResolver.cpp: In member function ‘void WebCore::StyleResolver::applyProperty(WebCore::CSSPropertyID, WebCore::CSSValue*)’:
Source/WebCore/css/StyleResolver.cpp:2860:12: error: enumeration value ‘CSSPropertyMaxZoom’ not handled in switch [-Werror=switch]
Source/WebCore/css/StyleResolver.cpp:2860:12: error: enumeration value ‘CSSPropertyMinZoom’ not handled in switch [-Werror=switch]
Source/WebCore/css/StyleResolver.cpp:2860:12: error: enumeration value ‘CSSPropertyOrientation’ not handled in switch [-Werror=switch]
Source/WebCore/css/StyleResolver.cpp:2860:12: error: enumeration value ‘CSSPropertyUserZoom’ not handled in switch [-Werror=switch]

So, they need to be listed on the StyleResolver::applyProperty.

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