Commit b4ce2e27 authored by mjs's avatar mjs
Browse files

Added test case I forgot to commit earlier.

        - test case for crash if a node is removed from the DOM before being reparented due to residual style
        http://bugzilla.opendarwin.org/show_bug.cgi?id=6778
        
        * fast/parser/remove-block-in-residual-style.html: Added.
        * fast/parser/remove-block-in-residual-style-expected.checksum: Added.
        * fast/parser/remove-block-in-residual-style-expected.png: Added.
        * fast/parser/remove-block-in-residual-style-expected.txt: Added.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12491 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent c3aa7a54
2006-01-31 Maciej Stachowiak <mjs@apple.com>
Added test case I forgot to commit earlier.
- test case for crash if a node is removed from the DOM before being reparented due to residual style
http://bugzilla.opendarwin.org/show_bug.cgi?id=6778
* fast/parser/remove-block-in-residual-style.html: Added.
* fast/parser/remove-block-in-residual-style-expected.checksum: Added.
* fast/parser/remove-block-in-residual-style-expected.png: Added.
* fast/parser/remove-block-in-residual-style-expected.txt: Added.
2006-01-30 Anders Carlsson <andersca@mac.com>
Reviewed by Darin.
......
e2f7795e76ea7d42facdf1e768792b50
\ No newline at end of file
layer at (0,0) size 800x600
RenderCanvas at (0,0) size 800x600
layer at (0,0) size 800x52
RenderBlock {HTML} at (0,0) size 800x52
RenderBody {BODY} at (8,8) size 784x36
RenderBlock (anonymous) at (0,0) size 784x0
RenderInline {FONT} at (0,0) size 0x0
RenderText {TEXT} at (0,0) size 0x0
RenderBlock (anonymous) at (0,0) size 784x0
RenderBlock (anonymous) at (0,0) size 784x36
RenderInline {FONT} at (0,0) size 0x0
RenderText {TEXT} at (0,0) size 726x36
text run at (0,0) width 726: "PASS - this test checks that removing a block element while it's in an imporperly closed inline doesn't crash. This is"
text run at (0,18) width 199: "checking for regression against "
RenderInline {A} at (0,0) size 60x18 [color=#0000EE]
RenderText {TEXT} at (199,18) size 60x18
text run at (199,18) width 60: "bug 6778"
RenderText {TEXT} at (259,18) size 4x18
text run at (259,18) width 4: "."
RenderText {TEXT} at (0,0) size 0x0
<!DOCTYPE HTML>
<html>
<head>
<title>Reparenting in the presence of malformed content</title>
</head>
<body>
<font>
<p>
<script>
var p = document.getElementsByTagName('p')[0];
p.parentNode.removeChild(p);
</script>
</font>
</p>
PASS - this test checks that removing a block element while it's in an imporperly closed inline doesn't crash. This is checking for regression against <a href="http://bugzilla.opendarwin.org/show_bug.cgi?id=6778">bug 6778</a>.
</body>
</html>
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment