Closed
Bug 419483
Opened 17 years ago
Closed 17 years ago
getBoxObject for is deprecated - use getBoundingClientRect
Categories
(Toolkit Graveyard :: Microformats, defect)
Toolkit Graveyard
Microformats
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mkaply, Assigned: mkaply)
Details
Attachments
(1 file, 2 obsolete files)
|
1.28 KB,
patch
|
sayrer
:
review+
mtschrep
:
approval1.9+
|
Details | Diff | Splinter Review |
I need to switch to using getBoundingClientRect
I'm keeping the old way around so Microformats.js in FF3 resembles the one in Operator that works on FF2
Attachment #305556 -
Flags: review?(sayrer)
| Assignee | ||
Comment 1•17 years ago
|
||
There are cases where we come in here and ownerDocument is null. In those cases, we shouldn't be getting the bounding box because it is not valid for the entire document.
This case only happens with a particular microformat that is not in Firefox by default so I can't create a specific test for it, because that test would require that the entire page be the microformat (which only happens with hAtom/hFeed).
Note, however, that the hidden/not hiddenness of microformats is tested in the testcases that are already present.
Attachment #305556 -
Attachment is obsolete: true
Attachment #306660 -
Flags: review?(sayrer)
Attachment #305556 -
Flags: review?(sayrer)
| Assignee | ||
Comment 2•17 years ago
|
||
This is wrong. getBoundingClientRect returns a box with bottom/top/right/left
| Assignee | ||
Comment 3•17 years ago
|
||
getBoundingClientRect doesn't return a box, so I need to compute width and height.
Attachment #308645 -
Flags: review?(sayrer)
| Assignee | ||
Updated•17 years ago
|
Attachment #306660 -
Attachment is obsolete: true
Attachment #306660 -
Flags: review?(sayrer)
Comment 4•17 years ago
|
||
Comment on attachment 308645 [details] [diff] [review]
Let's try again
r+ assuming this has test coverage
Attachment #308645 -
Flags: review?(sayrer) → review+
| Assignee | ||
Comment 5•17 years ago
|
||
Comment on attachment 308645 [details] [diff] [review]
Let's try again
Yes, this has test coverage.
Attachment #308645 -
Flags: approval1.9?
Updated•17 years ago
|
Attachment #308645 -
Flags: approval1.9? → approval1.9+
| Assignee | ||
Comment 6•17 years ago
|
||
Checked in.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Product: Toolkit → Toolkit Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•