[Webkit-unassigned] [Bug 103150] Range.getBoundingClientRect() does not handle max-height correctly
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Sep 21 15:47:51 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=103150
Ahmad Saleem <ahmad.saleem792 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ahmad.saleem792 at gmail.com
--- Comment #5 from Ahmad Saleem <ahmad.saleem792 at gmail.com> ---
Testcase:
*** Safari 16 & STP 154 ***
bcr.width = 202, bcr.height = 433
bcr.width = 202, bcr.height = 433 <--- STP 154
*** Chrome Canary 108 ***
bcr.width = 202, bcr.height = 445
*** Firefox Nightly 107 ***
bcr.width = 202, bcr.height = 12
___________-
Testcase # 02:
*** Safari 16 ***
range.getClientRects()[0] = 8,8,202,12
range.getClientRects()[1] = 9,9,181.75,18
range.getClientRects()[2] = 9,27,171.0546875,18
range.getClientRects()[3] = 9,45,157.3046875,18
range.getClientRects()[4] = 9,63,199.90625,18
range.getClientRects()[5] = 9,81,181.34375,18
range.getClientRects()[6] = 9,99,148.390625,18
range.getClientRects()[7] = 9,117,181.7109375,18
range.getClientRects()[8] = 9,135,185.265625,18
range.getClientRects()[9] = 9,153,198.6484375,18
range.getClientRects()[10] = 9,171,198.6328125,18
range.getClientRects()[11] = 9,189,180.859375,18
range.getClientRects()[12] = 9,207,160.8515625,18
range.getClientRects()[13] = 9,225,196.40625,18
range.getClientRects()[14] = 9,243,193.734375,18
range.getClientRects()[15] = 9,261,175.9921875,18
range.getClientRects()[16] = 9,279,191.046875,18
range.getClientRects()[17] = 9,297,148.3984375,18
range.getClientRects()[18] = 9,315,190.6015625,18
range.getClientRects()[19] = 9,333,177.7265625,18
range.getClientRects()[20] = 9,351,167.0625,18
range.getClientRects()[21] = 9,369,179.4921875,18
range.getClientRects()[22] = 9,387,175.9453125,18
range.getClientRects()[23] = 9,405,156.8515625,18
range.getClientRects()[24] = 9,423,151.046875,18
range.getBoundingClientRect() = 8,8,202,433
*** STP 154 ***
range.getClientRects()[0] = 8,8,202,12
range.getClientRects()[1] = 9,9,181.75,18
range.getClientRects()[2] = 9,27,171.0546875,18
range.getClientRects()[3] = 9,45,157.3046875,18
range.getClientRects()[4] = 9,63,199.90625,18
range.getClientRects()[5] = 9,81,181.34375,18
range.getClientRects()[6] = 9,99,148.390625,18
range.getClientRects()[7] = 9,117,181.7109375,18
range.getClientRects()[8] = 9,135,185.265625,18
range.getClientRects()[9] = 9,153,198.6484375,18
range.getClientRects()[10] = 9,171,198.6328125,18
range.getClientRects()[11] = 9,189,180.859375,18
range.getClientRects()[12] = 9,207,160.8515625,18
range.getClientRects()[13] = 9,225,196.40625,18
range.getClientRects()[14] = 9,243,193.734375,18
range.getClientRects()[15] = 9,261,175.9921875,18
range.getClientRects()[16] = 9,279,191.046875,18
range.getClientRects()[17] = 9,297,148.3984375,18
range.getClientRects()[18] = 9,315,190.6015625,18
range.getClientRects()[19] = 9,333,177.7265625,18
range.getClientRects()[20] = 9,351,167.0625,18
range.getClientRects()[21] = 9,369,179.4921875,18
range.getClientRects()[22] = 9,387,175.9453125,18
range.getClientRects()[23] = 9,405,156.8515625,18
range.getClientRects()[24] = 9,423,151.046875,18
range.getBoundingClientRect() = 8,8,202,433
*** Chrome Canary 108 ***
range.getClientRects()[0] = 8,8,202,12
range.getClientRects()[1] = 9,9,181.75,18.5
range.getClientRects()[2] = 9,27.5,171.0546875,18.5
range.getClientRects()[3] = 9,46,157.3046875,18.5
range.getClientRects()[4] = 9,64.5,199.90625,18.5
range.getClientRects()[5] = 9,83,181.34375,18.5
range.getClientRects()[6] = 9,101.5,148.390625,18.5
range.getClientRects()[7] = 9,120,181.7109375,18.5
range.getClientRects()[8] = 9,138.5,185.265625,18.5
range.getClientRects()[9] = 9,157,198.6484375,18.5
range.getClientRects()[10] = 9,175.5,198.6328125,18.5
range.getClientRects()[11] = 9,194,180.859375,18.5
range.getClientRects()[12] = 9,212.5,160.8515625,18.5
range.getClientRects()[13] = 9,231,196.40625,18.5
range.getClientRects()[14] = 9,249.5,193.734375,18.5
range.getClientRects()[15] = 9,268,175.9921875,18.5
range.getClientRects()[16] = 9,286.5,191.046875,18.5
range.getClientRects()[17] = 9,305,148.3984375,18.5
range.getClientRects()[18] = 9,323.5,190.6015625,18.5
range.getClientRects()[19] = 9,342,177.7265625,18.5
range.getClientRects()[20] = 9,360.5,167.0625,18.5
range.getClientRects()[21] = 9,379,178.6171875,18.5
range.getClientRects()[22] = 9,397.5,175.9453125,18.5
range.getClientRects()[23] = 9,416,156.8515625,18.5
range.getClientRects()[24] = 9,434.5,151.046875,18.5
range.getBoundingClientRect() = 8,8,202,445
*** Firefox Nightly 107 ***
range.getClientRects()[0] = 8,8,202,12
range.getBoundingClientRect() = 8,8,202,12
_______
Comment 04 refers to Mozilla bug but appreciate if someone can confirm whether it need something to be done in Webkit or not? Thanks!
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220921/df1f4b27/attachment-0001.htm>
More information about the webkit-unassigned
mailing list