[Webkit-unassigned] [Bug 103150] New: Range.getBoundingClientRect() does not handle max-height correctly
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Nov 23 09:00:40 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=103150
Summary: Range.getBoundingClientRect() does not handle
max-height correctly
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: HTML DOM
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: dtrebbien at gmail.com
CC: dtrebbien at gmail.com
Created an attachment (id=175814)
--> (https://bugs.webkit.org/attachment.cgi?id=175814&action=review)
Test case
Range.getBoundingClientRect() does not factor in the elements' max-heights when calculating the height of the bounding client rectangle. Elements' max-widths seem to be correctly handled, but not max-heights.
Attached is a reduced test case. The test case works as expected (the alert dialog shows "bcr.width = 202, bcr.height = 12") in Firefox 17.0 and Opera 12.11, but fails in Safari 6.0.2, Chrome 23.0.1271.64, and the latest WebKit nightly r135516 built on 22 November 2012.
--
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