NEW 126306
Results of getBoundingClientRect() is wrong for fragmented element
https://bugs.webkit.org/show_bug.cgi?id=126306
Summary Results of getBoundingClientRect() is wrong for fragmented element
Dirk Schulze
Reported 2013-12-30 14:49:15 PST
getBoundingClientRect() maybe should return the closest rectangle including the border-box of the element as well as the border-box of all ancestors. Right now, it returns the dimension of the element based on the first fragment. http://jsfiddle.net/6LkvZ/
Attachments
Safari 15.6.1 and STP 151 differ and all other browsers with each other (1.47 MB, image/png)
2022-08-20 06:34 PDT, Ahmad Saleem
no flags
Ahmad Saleem
Comment 1 2022-08-20 06:34:34 PDT
Created attachment 461759 [details] Safari 15.6.1 and STP 151 differ and all other browsers with each other Just wanted to share updated results and screenshot: *** Safari 15.6.1 / Safari Technology Preview *** width: 333.5625 height: 140 *** Firefox Nightly 105 *** width: 333.6000061035156 height: 139.11666870117188 *** Chrome Canary 106 *** width: 333.5859375 height: 147 ________ Please refer to above results. Thanks!
Radar WebKit Bug Importer
Comment 2 2022-08-20 18:17:10 PDT
Note You need to log in before you can comment on or make changes to this bug.