[Webkit-unassigned] [Bug 62096] New: [Meta] Reduce the number of hand-built RenderObjects

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jun 4 13:44:55 PDT 2011


           Summary: [Meta] Reduce the number of hand-built RenderObjects
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: dglazkov at chromium.org
                CC: hyatt at apple.com, simon.fraser at apple.com,
                    rolandsteiner at chromium.org, tkent at chromium.org,
                    dominicc at chromium.org, morrita at google.com

Across the land, we've used subclassing RenderObject (most of the time RenderBlock) to customize appearance of form controls and other elements. It's a convenient hack, but longer term, it's pain. The hand-built classes often break layout assumptions (RenderFileUploadControl lays out while it paints) or don't follow CSS layout at all (RenderSlider layout is completely custom, so you can't animate its properties), and otherwise introduce a maintenance burden on the render tree code.

We should work to reduce the number of these custom render objects and replace their layout with standard CSS idioms, if possible. In cases where this is not possible, we should consider adding CSS features to provide missing layout capabilities.

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