| Summary: | Empty div does not have correct bounding rect | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Brad Andalman <bya> | ||||||||||
| Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> | ||||||||||
| Status: | RESOLVED DUPLICATE | ||||||||||||
| Severity: | Normal | CC: | bfulgham, simon.fraser, zalan | ||||||||||
| Priority: | P2 | ||||||||||||
| Version: | Safari Technology Preview | ||||||||||||
| Hardware: | Unspecified | ||||||||||||
| OS: | Unspecified | ||||||||||||
| Attachments: |
|
||||||||||||
Created attachment 437549 [details]
Correct rect in Safari 14.1.2
Created attachment 437550 [details]
Incorrect rect in Safari 15.0, WebKit 17612.2.2
Created attachment 437551 [details]
Rect in Chrome
*** This bug has been marked as a duplicate of bug 229747 *** |
Created attachment 437548 [details] A simple webpage that illustrates the incorrect bounding rect I use an empty div to indicate a column break. In the attached webpage, this div appears midway through the second column. And, yet, the most recent version of Safari Technology Preview (15.0, WebKit 17612.2.2) reports the bounding client rect as [0, 0, 0, 0]. This is not correct: while it doesn't have a height, it is clearly not positioned at [0,0]. The rect is correctly reported on Safari 14.1.2. I've also checked Chrome, just for fun, and that works as I'd expect too.