[Webkit-unassigned] [Bug 146896] New: `display: block; width: 100%` makes <input type="range">'s thumb get clipped

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jul 12 19:34:35 PDT 2015


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

            Bug ID: 146896
           Summary: `display: block; width: 100%` makes <input
                    type="range">'s thumb get clipped
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Macintosh Intel
                OS: Mac OS X 10.10
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: webkit at rebertia.com

Created attachment 256684
  --> https://bugs.webkit.org/attachment.cgi?id=256684&action=review
Screenshot of the rendering error

Original Bootstrap issue: https://github.com/twbs/bootstrap/issues/16809

Setting `display: block; width: 100%` on an <input type="range"> causes the left or right part of the "thumb" of the input to get clipped when the user moves the "thumb".

Test case: http://jsfiddle.net/cvrebert/0uzk6f4c/

Steps to reproduce:
1. Open http://jsfiddle.net/cvrebert/0uzk6f4c/ in OS X Safari
2. Click on the range input's "thumb" and keep the mouse button depressed
3. Move the mouse to the left or right sufficiently so that the "thumb" changes its position along the range input's "track"
4. With the mouse button still depressed, move the pointer downward so that you can see the entire "thumb" unobscured

Expected behavior:
The range input's "thumb" should be drawn normally.
(In Safari's current UI, it should be a white/gray circle.)

Actual behavior:
The range input's "thumb" has its left or right edge clipped off.
See attached screenshot.

--------
Contents of the testcase (in the event that JS Fiddle goes offline):

CSS:
input[type="range"] {
    display: block;
    width: 100%;
}

HTML:
<input type="range" />

-- 
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/20150713/abfb30fb/attachment.html>


More information about the webkit-unassigned mailing list