Bug 62535
| Summary: | Reduce the number of hand-built RenderObjects in the slider implementation | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Kent Tamura <tkent> |
| Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | ntim, yosin |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | All | ||
| OS: | All | ||
| Bug Depends on: | 52920 | ||
| Bug Blocks: | 62096 | ||
Kent Tamura
After the patch in Bug 52920, we have the following hand-built RenderObjects for <input type=range>
* RenderSliderThumb in SliderThumbElement.cpp
horizontal/vertical switching and thumb positioning
* RenderSliderContainer in SliderThumbElement.cpp
horizontal/vertical switching and height adjustment
* RenderSlider
basePosition(), computePreferredLogicalWidths(), inDragMode(), etc.
We'd like to reduce them.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Tim Nguyen (:ntim)
Bug 240794 removed RenderSliderThumb