Summary: | REGRESSION (r280017): Calling getBoundingClientRect() on an empty element with "break-before: column" in columns returns a rect with all zeros | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Simon Fraser (smfr) <simon.fraser> | ||||||||
Component: | DOM | Assignee: | Simon Fraser (smfr) <simon.fraser> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | bya, changseok, esprehn+autocc, ews-watchlist, glenn, kondapallykalyan, pdr, simon.fraser, tom.hamming, zalan | ||||||||
Priority: | P2 | Keywords: | InRadar | ||||||||
Version: | Safari Technology Preview | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Attachments: |
|
Description
Simon Fraser (smfr)
2021-08-31 17:30:44 PDT
Created attachment 436973 [details]
Test case
Conceptually we are trying to answer the question "for this 0x0 rect at y=100, in columns with height 100, is it at the bottom of column 1 or the top of column 2". Created attachment 436974 [details]
Test case
Ironically Chrome and FF have exactly opposite behaviors.
Created attachment 437230 [details]
Patch
Committed r282063 (241363@main): <https://commits.webkit.org/241363@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 437230 [details]. *** Bug 230020 has been marked as a duplicate of this bug. *** |