[Webkit-unassigned] [Bug 8435] New: REGRESSION (13889): setInnerText and setInnerHTML do not change the :first-letter pseudo-element

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Mon Apr 17 04:46:34 PDT 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=8435

           Summary: REGRESSION (13889): setInnerText and setInnerHTML do not
                    change the :first-letter pseudo-element
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: NEW
          Keywords: Regression
          Severity: normal
          Priority: P1
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: opendarwin.org at mitzpettel.com
                CC: darin at apple.com


fast/css/first-letter-detach.html is failing due to this regression: calling
setInnerHTML on the <p> element replaces the black text with the new text
("PASS"), leaving the first-letter text fragment (the blue "d") unchanged.

This is actually a problem in CharacterData::setData() that the optimized code
path in setInnerHTML and setInnerText has exposed: it does not account for text
nodes that have a separate RenderTextFragment for their first letter.


-- 
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list