[Webkit-unassigned] [Bug 57890] New: Hierarchy of renderers for elements with a document needs to be unified

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 5 15:11:55 PDT 2011


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

           Summary: Hierarchy of renderers for elements with a document
                    needs to be unified
           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: cmarrin at apple.com


Today, we have 3 elements which can contain an HTML document: HTMLIFrameElement, HTMLFrameElement and HTMLObjectElement. Their renderers are: RenderIFrame, RenderFrame and RenderEmbeddedObject, respectively. Their hierarchy is:

    ...
        RenderPart
            RenderEmbeddedObject
            RenderFrameBase
                RenderIFrame
                RenderFrame

So common functionality has to go into RenderPart, which is really too broad. It would be better with an added class:

    ...
        RenderPart
            RenderFrameOwner
                RenderEmbeddedObject
                RenderFrameBase
                    RenderIFrame
                    RenderFrame

This more closely mimics the corresponding Element hierarchy and RenderFrameOwner would give us a place to put the common code.

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