[Webkit-unassigned] [Bug 55311] New: Incorrect layout when an element has a border, line-height and column-count on the mac

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Feb 26 16:44:30 PST 2011


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

           Summary: Incorrect layout when an element has a border,
                    line-height and column-count on the mac
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.6
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: priyajeet.hora at gmail.com


Created an attachment (id=83956)
 --> (https://bugs.webkit.org/attachment.cgi?id=83956&action=review)
testcase

In the test case the anchor ends up in column 2.
It should be in column 1 like in firefox or safari.

Increasing the font size OR removing the line-height OR removing the border-bottom will fix the layout.
If the page is manipulated via web inspector (uncheck and then check the line-height css property for example, the page will end up rendering correctly till its refreshed)

Downstream bug http://code.google.com/p/chromium/issues/detail?id=73727
Doesn't happen in Safari, happens in webkit nightly and chrome.
Seems to happen only on the mac. Windows seems fine.

Test case attached and below

<!DOCTYPE html>
<html>
  <head>
    <style>
      body {
          font: 12px Arial;
        line-height: 20px;
        -webkit-column-count: 2;
        -moz-column-count: 2;
      }
      a {
        border-bottom: 1px solid;
      }
    </style>
  </head>
  <body>
    <a href="http://blah.com">Lorem Ipsum</a>
  </body>
</html>

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