Skip to content
  • commit-queue@webkit.org's avatar
    2011-01-13 Emil Eklund <eae@chromium.org> · 129fb5fc
    commit-queue@webkit.org authored
            Reviewed by Dimitri Glazkov.
    
            Setting outerText should convert CR/LF to <br>
            https://bugs.webkit.org/show_bug.cgi?id=52268
    
            Add test for setting Element.outerText.
    
            * fast/dom/set-outer-text-expected.txt: Added.
            * fast/dom/set-outer-text.html: Added.
            * fast/dom/text-node-append-data-remove-crash-expected.txt: Changed
                expectation to "didn't crash" from "threw dom exception" as test
                assumed the DOMCharacterDataModified event would fire before the node
                would be replaced.
            * fast/dom/text-node-append-data-remove-crash.html:
    2011-01-13  Emil Eklund  <eae@chromium.org>
    
            Reviewed by Dimitri Glazkov.
    
            Setting outerText should convert CR/LF to <br>
            https://bugs.webkit.org/show_bug.cgi?id=52268
    
            Make set outerText support line breaks (sharing the text to fragment code
            with setInnerText) and handle empty text nodes the same way IE does....
    129fb5fc