Closed
Bug 1332500
Opened 8 years ago
Closed 4 years ago
Can get offsetHeight for fixed elements in WebKit
Categories
(Developer Documentation Graveyard :: API: DOM, defect, P5)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: ray.diciaccio, Unassigned)
References
()
Details
:: Developer Documentation Request
Request Type: Correction
Gecko Version: unspecified
Technical Contact:
:: Details
Under the Browser Compatibility section for offsetWidth, it says
In compliance with the specification, this property will return null on Webkit if the element is hidden (the style.display of this element or any ancestor is "none") or if the style.position of the element itself is set to "fixed".
I don't think the "or if the style.position of the element itself is set to 'fixed'" part is correct. I'm able to get offsetHeight (and offsetWidth) for element's with 'postion: fixed'. Maybe I'm misunderstanding that comment.
Comment 1•4 years ago
|
||
MDN Web Docs' bug reporting has now moved to GitHub. From now on, please file content bugs at https://github.com/mdn/sprints/issues/ and platform bugs at https://github.com/mdn/kuma/issues/.
Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•