[Webkit-unassigned] [Bug 78223] New: Alignment issue with positioned IMG tag

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 9 04:32:53 PST 2012


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

           Summary: Alignment issue with positioned IMG tag
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: sriram.neelakandan at gmail.com


Created an attachment (id=126278)
 --> (https://bugs.webkit.org/attachment.cgi?id=126278&action=review)
bug reduction for render bug

Attached is a bug reduction html
Load this page You will notice the DRT will actually output this




</body></html>" 
layer at (0,0) size 793x536
  RenderView at (0,0) size 793x536
layer at (0,0) size 793x8
  RenderBlock {HTML} at (0,0) size 793x8
    RenderBody {BODY} at (8,8) size 777x0
layer at (0,0) size 104x104
  RenderBlock (positioned) {DIV} at (0,0) size 104x104 [border: (2px solid #FF0000)]
layer at (52,2) size 104x104
  RenderImage {IMG} at (52,2) size 104x104 [border: (2px solid #FFFF00)]


But now resize the window (QtTestBrowser) then the render will look like this

layer at (0,0) size 764x536
  RenderView at (0,0) size 764x536
layer at (0,0) size 764x8
  RenderBlock {HTML} at (0,0) size 764x8
    RenderBody {BODY} at (8,8) size 748x0
layer at (0,0) size 104x104
  RenderBlock (positioned) {DIV} at (0,0) size 104x104 [border: (2px solid #FF0000)]
layer at (2,2) size 104x104
  RenderImage {IMG} at (2,2) size 104x104 [border: (2px solid #FFFF00)]

Notice the position of IMG from (52,2) to (2,2)

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