[Webkit-unassigned] [Bug 49210] New: Text fields can have an unnecessary RenderLayer

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 8 14:28:50 PST 2010


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

           Summary: Text fields can have an unnecessary RenderLayer
           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: mitz at webkit.org


<input style="overflow: hidden;"> needlessly creates a layer for the RenderTextControl. This happens because during RenderBoxModelObject::styleDidChange, requiresLayer() returns true, even though later, RenderTextControl::styleDidChange() calls setHasOverflowClip(false). This can be fixed by adding a virtual method to RenderObject with overrides in RenderBlock, RenderTableRow, RenderTableSection, and all objects that currently call setHasOverflowClip(false) (including RenderTextControl), and consulting that method when deciding whether to call setHasOverflowClip() in RenderBox::styleDidChange().

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