Closed
Bug 918185
Opened 11 years ago
Closed 11 years ago
Range.getClientRects/getBoundingClientRect fails on text nodes whose textframes were optimized away
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
FIXED
mozilla27
People
(Reporter: roc, Assigned: roc)
References
Details
Attachments
(1 file)
10.50 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
nsCSSFrameConstructor optimizes away text frames for text nodes containing only trimmable whitespace adjacent to a block boundary. Range.getClientRects/getBoundingClientRect can return incorrect results for those nodes.
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #807047 -
Flags: review?(bzbarsky)
Comment 2•11 years ago
|
||
Comment on attachment 807047 [details] [diff] [review] fix r=me
Attachment #807047 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Comment 3•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/5294bf1a2140
Comment 4•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/5294bf1a2140
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla27
You need to log in
before you can comment on or make changes to this bug.
Description
•