[Webkit-unassigned] [Bug 53836] New: Webkit is ignoring fractional point values when using pixel
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Feb 4 19:39:58 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=53836
Summary: Webkit is ignoring fractional point values when using
pixel
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: Mac OS X 10.5
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: CSS
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: cabanier at gmail.com
The webkit parser casts units to integer instead of keeping them as double or float.
This causes imprecise placing of objects if they use webkit-transforms with transform(px, px) notation.
In order to fix this, I think we need to fix CSSStyleSelector.cpp line 3051-3052
from:
} else if (CSSPrimitiveValue::isUnitTypeLength(type))
l = Length(primitiveValue->computeLengthIntForLength(style, rootStyle, multiplier), Fixed);
to:
} else if (CSSPrimitiveValue::isUnitTypeLength(type))
l = Length(primitiveValue->computeLengthFloat(style, rootStyle, multiplier, false), Fixed);
Attached is a iip file that contains a page that uses transforms with px notation.
--
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