[Webkit-unassigned] [Bug 90104] Off by one error in float handling when zoomed out
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jun 28 12:04:29 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=90104
--- Comment #2 from Emil A Eklund <eae at chromium.org> 2012-06-28 12:04:29 PST ---
(In reply to comment #1)
> The problem seems to be that the margin never shrinks below 1 causing the width including the margin to extend past the container for zoom levels below 100%.
...and that logic is in CSSPrimitiveValue::computeLengthDouble:
// Any original result that was >= 1 should not be allowed to fall below 1. This keeps border lines from
// vanishing.
double zoomedResult = result * multiplier;
if (zoomedResult < 1.0 && result >= 1.0)
return 1.0;
This should probably only kick in for borders (which are represented as integers).
--
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