[Webkit-unassigned] [Bug 95236] New: Chrome not calculating height correctly when padding is in ems.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Aug 28 12:53:32 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=95236
Summary: Chrome not calculating height correctly when padding
is in ems.
Product: WebKit
Version: 528+ (Nightly build)
Platform: Macintosh
OS/Version: Mac OS X 10.8
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: CSS
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: philip at philipwalton.com
My understanding is that Google Chrome recently introduced subpixel rendering. Since then I've noticed a few errors in the tabs of my site when using em values.
Here's an example:
http://jsfiddle.net/uU4q3/
The padding of the <a> elements uses ems, and even though the values are set to 5 decimal places, they still don't seem to be the same as their pixel equivalents. If you uncomment the line where padding is declared in pixels, you'll see the difference.
The error here is that the <a> elements are overflowing the <ul> element, which shouldn't be the case since the <ul> should be getting its height from the <a> element's height.
I'm seeing this issue in the current version of Google Chrome and also in Chrome Canary. I'm NOT seeing this in Safari 6. I haven't tested in WebKit nightly since it's not available on OS X 10.8.
--
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