RESOLVED FIXED 205114
[LFC][Integration] Paint seemingly blank runs (0 width, result of negative letter-spacing)
https://bugs.webkit.org/show_bug.cgi?id=205114
Summary [LFC][Integration] Paint seemingly blank runs (0 width, result of negative le...
zalan
Reported 2019-12-11 07:42:19 PST
negative letter-spacing can produce 0 width runs.
Attachments
Patch (3.77 KB, patch)
2019-12-11 07:46 PST, zalan
no flags
Patch (2.25 KB, patch)
2019-12-12 13:22 PST, zalan
koivisto: review+
Radar WebKit Bug Importer
Comment 1 2019-12-11 07:42:50 PST
zalan
Comment 2 2019-12-11 07:46:49 PST
Antti Koivisto
Comment 3 2019-12-11 08:03:56 PST
Comment on attachment 385391 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=385391&action=review > Source/WebCore/layout/displaytree/DisplayInlineContent.cpp:40 > + if (runRect.intersects(rect) || (runRect.isEmpty() && rect.contains(runRect))) { Empty case can still have width or height. Is it correct to require the entire width or height be contained in rect? Maybe you could add FloatRect::intersectsEvenIfEmpty? There is already uniteEvenIfEmpty.
zalan
Comment 4 2019-12-12 13:22:06 PST
zalan
Comment 5 2019-12-12 13:32:07 PST
Note You need to log in before you can comment on or make changes to this bug.