[Webkit-unassigned] [Bug 122881] Fix wrong width of Range in vertical text

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 23 05:11:33 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=122881

Ahmad Saleem <zlip.792 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zlip.792 at gmail.com

--- Comment #2 from Ahmad Saleem <zlip.792 at gmail.com> ---
I don't think, this is required because Safari 15.6.1 passes all test from the linked Chromium patch:

Link - https://jsfiddle.net/4dszr5fa/show

Changed it to JSFiddle.

*** Safari 15.6.1 ***

Test horizontal
PASS 1 is rects.length
PASS box.offsetWidth / 26 is >= rects[0].width
PASS box.offsetHeight / 2 is >= rects[0].height
Test vertical
PASS 1 is rects.length
PASS box.offsetWidth / 2 is >= rects[0].width
PASS box.offsetHeight / 26 is >= rects[0].height
ABCDEFGHIJKLMNOPQRSTUVWXYZ 

_______

Webkit GitHub Source - https://github.com/WebKit/WebKit/blob/main/Source/WebCore/rendering/RenderText.cpp#L475

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/20220823/596544fc/attachment.htm>


More information about the webkit-unassigned mailing list