A position fixed node's offsetParent should return null 
    Categories
(Core :: DOM: CSS Object Model, defect)
Tracking
()
People
(Reporter: bugzilla, Unassigned)
References
(Blocks 1 open bug, )
Details
(Keywords: testcase, webcompat:platform-bug)
User Story
user-impact-score:200
Attachments
(1 file)
| 314 bytes,
          text/html         | Details | 
| Reporter | ||
| Comment 1•17 years ago
           | ||
| Reporter | ||
| Comment 2•17 years ago
           | ||
|   | ||
| Comment 3•16 years ago
           | ||
| Reporter | ||
| Comment 4•12 years ago
           | ||
| Reporter | ||
| Comment 5•11 years ago
          • | ||
| Reporter | ||
| Comment 6•9 years ago
           | ||
| Comment 7•3 years ago
           | ||
I would like to link https://bugs.webkit.org/show_bug.cgi?id=212372
This is the opposite bug in webkit.
| Updated•3 years ago
           | 
| Updated•4 months ago
           | 
| Comment 8•4 months ago
           | ||
We've got a testcase linked in the URL field with steps in comment 0 -- but for convenience/archival, here's a smaller completely automated testcase that simply reports PASS/FAIL via an alert() when loaded.
This happens to be the cause of bug 1970576, which is how I ran across this.
| Reporter | ||
| Comment 9•4 months ago
           | ||
Chromium version 137.0.7151.103 passes both tests: Daniel Holbert's reduced test and mine.
It must be stated that Firefox 128.11.0 ESR and Chromium 137.0.7151.103 both fail the map test: the offsetParent of nodeA when nodeA is an <area> element within a <map>
If nodeA is an area HTML element which has a map HTML element somewhere in the ancestor chain, then nodeA.offsetParent returns null because the map element does not have an associated CSS layout box.
Someone could create a bug report on this.
| Updated•1 month ago
           | 
Description
•