Bug 98424

Summary: Prepending to an element with :first-letter can result in multiple first-letters
Product: WebKit Reporter: Elliott Sprehn <esprehn>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: ahmad.saleem792, ap, bfulgham, cmarcelo, dbates, eric, inferno, mmaxfield, simon.fraser, vitor.roriz, webkit.review.bot, zalan
Priority: P2 Keywords: HasReduction
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Reduction
none
Patch
none
Patch none

Elliott Sprehn
Reported 2012-10-04 10:34:05 PDT
Created attachment 167123 [details] Reduction If the :first-letter style matches a nested block and then you append before that block you can end up with multiple first letters, one for the original block and one for the newly inserted content.
Attachments
Reduction (555 bytes, text/html)
2012-10-04 10:34 PDT, Elliott Sprehn
no flags
Patch (10.45 KB, patch)
2012-10-10 19:57 PDT, Takashi Sakamoto
no flags
Patch (10.46 KB, patch)
2012-10-11 00:48 PDT, Takashi Sakamoto
no flags
Takashi Sakamoto
Comment 1 2012-10-10 19:57:45 PDT
Takashi Sakamoto
Comment 2 2012-10-11 00:48:56 PDT
Andreas Kling
Comment 3 2014-02-05 11:01:20 PST
Comment on attachment 168154 [details] Patch Clearing review flag on patches from before 2014. If this patch is still relevant, please reset the r? flag.
Ahmad Saleem
Comment 4 2022-09-01 16:47:48 PDT
I am able to reproduce this bug in Safari Technology Preview 152 where from the reduction both containers does not look same. In first container, the "T" in second line is similar to "S" in red and capital while in all other browser (Chrome Canary 107 and Firefox Nightly 106), it is normal test similar to second container.
Note You need to log in before you can comment on or make changes to this bug.