Bug 243939

Summary: REGRESSION(252876@main): Trailing hanging glyphs should not contribute to scrollable overflow (unless editable)
Product: WebKit Reporter: Sam Sneddon [:gsnedders] <gsnedders>
Component: Layout and RenderingAssignee: zalan <zalan>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
URL: http://wpt.live/css/css-text/white-space/white-space-pre-wrap-trailing-spaces-021.html
See Also: https://bugs.webkit.org/show_bug.cgi?id=243222
https://bugs.webkit.org/show_bug.cgi?id=243937
Attachments:
Description Flags
[fast-cq]Patch
none
[fast-cq]Patch none

Comment 1 Radar WebKit Bug Importer 2022-08-15 09:30:50 PDT
<rdar://problem/98673361>
Comment 2 zalan 2022-08-15 11:06:25 PDT
"An overflowing hanging glyph should typically be considered ink overflow so as to avoid creating unnecessary scrollbars, but the UA may treat it as scrollable overflow when the content is editable or in other circumstances where treating it as scrollable overflow would be useful to the user"
the <span>      </span> produces overhanging glyphs. They should not be considered when computing scrollable overflow.
Comment 3 zalan 2022-08-15 14:33:24 PDT
Created attachment 461640 [details]
[fast-cq]Patch
Comment 4 EWS 2022-08-16 05:59:17 PDT
No reviewer information in commit message, blocking PR #None
Comment 5 zalan 2022-08-16 06:12:13 PDT
Created attachment 461669 [details]
[fast-cq]Patch
Comment 6 EWS 2022-08-16 06:14:21 PDT
Committed 253465@main (a1cd009fd592): <https://commits.webkit.org/253465@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 461669 [details].