RESOLVED FIXED311479
Deleting the first letter character when ::first-letter is present leaves the old letter visible
https://bugs.webkit.org/show_bug.cgi?id=311479
Summary Deleting the first letter character when ::first-letter is present leaves the...
alan
Reported 2026-04-04 06:23:26 PDT
ssia
Attachments
Patch (6.02 KB, patch)
2026-04-04 06:44 PDT, alan
no flags
Patch (6.63 KB, patch)
2026-04-04 06:56 PDT, alan
no flags
Patch (6.67 KB, patch)
2026-04-05 19:54 PDT, alan
no flags
Patch (6.71 KB, patch)
2026-04-11 12:56 PDT, alan
no flags
Patch (8.04 KB, patch)
2026-04-13 16:09 PDT, alan
ews-feeder: commit-queue-
[fast-cq]Patch (6.71 KB, patch)
2026-04-15 08:27 PDT, alan
no flags
alan
Comment 1 2026-04-04 06:44:28 PDT
alan
Comment 2 2026-04-04 06:56:58 PDT
Tim Nguyen (:ntim)
Comment 3 2026-04-04 14:15:15 PDT
Does this have any relation to bug 15602
alan
Comment 4 2026-04-04 14:23:57 PDT
(In reply to Tim Nguyen (:ntim) from comment #3) > Does this have any relation to bug 15602 Seems related, will check. This is mostly relevant in the context of bug 311437 (<- fixes first-letter related editing/selection)
alan
Comment 5 2026-04-04 14:44:12 PDT
No, it is still broken even after this fix. let me take a look. <style> div:first-letter { color: red; } </style> <div id="test">BC</div> <pre>should read ABC</pre> <script> document.body.offsetHeight; test.insertBefore(document.createTextNode("A"), test.firstChild); </script>
alan
Comment 6 2026-04-04 19:05:59 PDT
ok bug 15602 is taken care of. will ask Antti to review it.
alan
Comment 7 2026-04-05 19:54:25 PDT
Radar WebKit Bug Importer
Comment 8 2026-04-11 06:24:12 PDT
alan
Comment 9 2026-04-11 12:56:19 PDT
alan
Comment 10 2026-04-13 16:09:00 PDT
alan
Comment 11 2026-04-15 08:27:08 PDT
Created attachment 479092 [details] [fast-cq]Patch
EWS
Comment 12 2026-04-15 10:10:14 PDT
Committed 311298@main (d1a44d038a3e): <https://commits.webkit.org/311298@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 479092 [details].
Note You need to log in before you can comment on or make changes to this bug.