[Webkit-unassigned] [Bug 24467] New: [chromium] default border for IMG is drawn outset instead of inset

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 9 13:22:42 PDT 2009


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

           Summary: [chromium] default border for IMG is drawn outset
                    instead of inset
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Platform
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: darin at chromium.org
                CC: brettw at chromium.org


[chromium] default border for IMG is drawn outset instead of inset

GraphicsContext::drawRect is passed the right rectangle, but instead of drawing
a rect within those coordinates, we draw it outside of those coordinates.

this causes some layout tests to fail, and it also causes some rendering
glitches related to selection.  if a selection runs up to the edge of an IMG,
then the selection obscures part of the IMG border, and when the selection is
removed, the border is not redrawn properly (presumably because webcore didn't
think the IMG was part of the selection).

this layout test is impacted:
LayoutTests/fast/block/float/nested-clearance.html


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list