Bug 59644 - MediaControls hittesting on slider element fails
Summary: MediaControls hittesting on slider element fails
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
Depends on: 61132
  Show dependency treegraph
Reported: 2011-04-27 15:45 PDT by Steve Lacey
Modified: 2011-05-24 11:32 PDT (History)
4 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Steve Lacey 2011-04-27 15:45:37 PDT
I've been knee deep trying to debug this chromium issue http://crbug.com/74826 that I believe is not port specific and may be related to https://bugs.webkit.org/show_bug.cgi?id=49023.

Basically, the timeline slider control is being painted fine and the correct rect is hitting the theme, but mouse down events never reach the control, but instead are fired on it's parent element.

It is as though the RenderSlider always has it's default desired width as far as hittesting is concerned.

For background, the slider and it's parent are flexible boxes. If I remove "-webkit-appearance: media-slide" (changed to none) and the height (changed to auto), the correct behaviour occurs, but if either (or both) of them are changed back, the problem occurs.
Comment 1 Tony Chang 2011-05-19 10:52:21 PDT
Found the bug in RenderSlider.
Comment 2 Steve Lacey 2011-05-24 11:32:02 PDT
Closing this bug as it's now been fixed in https://bugs.webkit.org/show_bug.cgi?id=61132