[Webkit-unassigned] [Bug 52937] New: input[type=range] should render vertically or horizontally in response to specified dimensions, not appearance switch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 21 16:27:42 PST 2011


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

           Summary: input[type=range] should render vertically or
                    horizontally in response to specified dimensions, not
                    appearance switch
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: dglazkov at chromium.org
                CC: hyatt at apple.com
        Depends on: 44907


Today, we use -webkit-appearance: slider-horizonal to render a horizontal slider and -webkit-appearance: slider-vertical to render a vertical slider. HTML spec suggests we should just automatically pick the appropriate orientation based on specified dimensions: http://www.whatwg.org/specs/web-apps/current-work/multipage/number-state.html#range-state

This would also allow us to get rid of hard-coding the appearance cascade and an extra custom renderer we have in SliderThumbElement:

http://google.com/codesearch/p#OAMlx_jo-ck/src/third_party/WebKit/Source/WebCore/html/shadow/SliderThumbElement.cpp&l=61

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