RESOLVED FIXED Bug 230217
offsetLeft on display:inline element in vertical-rl parent can return a negative number
https://bugs.webkit.org/show_bug.cgi?id=230217
Summary offsetLeft on display:inline element in vertical-rl parent can return a negat...
Martin Robinson
Reported 2021-09-13 07:16:20 PDT
Created attachment 438036 [details] Reduced testcase When an element has display:inline in a parent with writing-mode:vertical-rl, the offsetLeft property of the element is calculated incorrectly. In some cases, a negative number may be returned. This behavior can be observed in the attached test case, which prints the value of offsetLeft to the console.
Attachments
Reduced testcase (369 bytes, text/html)
2021-09-13 07:16 PDT, Martin Robinson
no flags
Patch (5.75 KB, patch)
2021-09-14 07:35 PDT, Martin Robinson
no flags
Patch (8.26 KB, patch)
2021-09-15 02:38 PDT, Martin Robinson
no flags
Martin Robinson
Comment 1 2021-09-14 07:35:00 PDT
Martin Robinson
Comment 2 2021-09-15 02:38:20 PDT
EWS
Comment 3 2021-09-15 05:09:47 PDT
Committed r282447 (241700@main): <https://commits.webkit.org/241700@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 438230 [details].
Radar WebKit Bug Importer
Comment 4 2021-09-15 05:10:21 PDT
Note You need to log in before you can comment on or make changes to this bug.