Bug 94850

Summary: Inserting node before a text node that has first-letter rule doesn't work
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: dbates, esprehn, inferno, kenrb, rakuco, shinyak
Priority: P2 Keywords: HasReduction
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Demonstrates the bug none

Ryosuke Niwa
Reported 2012-08-23 14:16:31 PDT
Created attachment 160240 [details] Demonstrates the bug Open the attached document. Expected result: You see "hello world" repeated twice Actual result: "hello world whello orld" The first line works because we're modifying the node before its renderer is created. The second line doesn't work because we're doing it in setTimeout(~, 0) and hence the text node has its renderer. http://crbug.com/125199
Attachments
Demonstrates the bug (435 bytes, text/html)
2012-08-23 14:16 PDT, Ryosuke Niwa
no flags
Abhishek Arya
Comment 1 2012-08-23 14:36:09 PDT
Daniel, this is same bug i was just discussing over chat. We are not destroying old-first-text renderer. let me put all of my views in the other main first-letter bug.
Raphael Kubo da Costa (:rakuco)
Comment 2 2013-05-16 07:47:02 PDT
*** This bug has been marked as a duplicate of bug 15602 ***
Note You need to log in before you can comment on or make changes to this bug.