WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
311479
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
Details
Formatted Diff
Diff
Patch
(6.63 KB, patch)
2026-04-04 06:56 PDT
,
alan
no flags
Details
Formatted Diff
Diff
Patch
(6.67 KB, patch)
2026-04-05 19:54 PDT
,
alan
no flags
Details
Formatted Diff
Diff
Patch
(6.71 KB, patch)
2026-04-11 12:56 PDT
,
alan
no flags
Details
Formatted Diff
Diff
Patch
(8.04 KB, patch)
2026-04-13 16:09 PDT
,
alan
ews-feeder
: commit-queue-
Details
Formatted Diff
Diff
[fast-cq]Patch
(6.71 KB, patch)
2026-04-15 08:27 PDT
,
alan
no flags
Details
Formatted Diff
Diff
Show Obsolete
(5)
View All
Add attachment
proposed patch, testcase, etc.
alan
Comment 1
2026-04-04 06:44:28 PDT
Created
attachment 478922
[details]
Patch
alan
Comment 2
2026-04-04 06:56:58 PDT
Created
attachment 478923
[details]
Patch
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
Created
attachment 478933
[details]
Patch
Radar WebKit Bug Importer
Comment 8
2026-04-11 06:24:12 PDT
<
rdar://problem/174558859
>
alan
Comment 9
2026-04-11 12:56:19 PDT
Created
attachment 479019
[details]
Patch
alan
Comment 10
2026-04-13 16:09:00 PDT
Created
attachment 479053
[details]
Patch
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.
Top of Page
Format For Printing
XML
Clone This Bug