[Webkit-unassigned] [Bug 99919] New: BasicShapePolygon::path takes width instead of height for boundary calculation
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Oct 20 19:34:43 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=99919
Summary: BasicShapePolygon::path takes width instead of height
for boundary calculation
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: CSS
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: krit at webkit.org
Blocks: 95389
BasicShapePolygon::path takes width instead of height for calculation.
path.moveTo(FloatPoint(floatValueForLength(m_values.at(0), boundingBox.width()) + boundingBox.x(),
floatValueForLength(m_values.at(1), boundingBox.width()) + boundingBox.y()));
for (size_t i = 2; i < length; i = i + 2) {
path.addLineTo(FloatPoint(floatValueForLength(m_values.at(i), boundingBox.width()) + boundingBox.x(),
floatValueForLength(m_values.at(i + 1), boundingBox.width()) + boundingBox.y()));
Realized it on writing further tests. Will come up with a patch soon.
--
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