2009-03-10 Darin Adler <darin@apple.com>
Reviewed by Dan Bernstein.
Bug 23564: REGRESSION (r39230-39286): crash loading page that changes <input> display type and then calls innerHTML
https://bugs.webkit.org/show_bug.cgi?id=23564
rdar://problem/6537238
Test: fast/dom/HTMLElement/innerHTML-selection-crash.html
* editing/markup.cpp: (WebCore::createMarkup): Added updateLayoutIgnorePendingStylesheets
call to the one of the two overloads of this function that wasn't calling it. This fixes
this crash and other possible crashes inside innerHTML.
LayoutTests:
2009-03-10 Darin Adler <darin@apple.com>
Reviewed by Dan Bernstein.
Bug 23564: REGRESSION (r39230-39286): crash loading page that changes <input> display type and then calls innerHTML
https://bugs.webkit.org/show_bug.cgi?id=23564
rdar://problem/6537238
* fast/dom/HTMLElement/innerHTML-selection-crash-expected.txt: Added.
* fast/dom/HTMLElement/innerHTML-selection-crash.html: Added.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@41552
268f45cc-cd09-0410-ab3c-
d52691b4dbfc