Commit e70ec422 authored by commit-queue@webkit.org's avatar commit-queue@webkit.org
Browse files

chrome.dll!WebCore::ApplyStyleCommand::applyBlockStyle ReadAV@NULL...

chrome.dll!WebCore::ApplyStyleCommand::applyBlockStyle ReadAV@NULL (64db547804532a84be2e53721e499e9e)
https://bugs.webkit.org/show_bug.cgi?id=51639

Patch by Jay Soffian <jaysoffian@gmail.com> on 2011-09-23
Reviewed by Tony Chang.

Add repro for a crash inside WebCore::ApplyStyleCommand::applyBlockStyle. Fixed by r94840.

* editing/style/justify-without-enclosing-block-expected.txt: Added.
* editing/style/justify-without-enclosing-block.xhtml: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95885 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 6af13a03
2011-09-23 Jay Soffian <jaysoffian@gmail.com>
chrome.dll!WebCore::ApplyStyleCommand::applyBlockStyle ReadAV@NULL (64db547804532a84be2e53721e499e9e)
https://bugs.webkit.org/show_bug.cgi?id=51639
Reviewed by Tony Chang.
Add repro for a crash inside WebCore::ApplyStyleCommand::applyBlockStyle. Fixed by r94840.
* editing/style/justify-without-enclosing-block-expected.txt: Added.
* editing/style/justify-without-enclosing-block.xhtml: Added.
2011-09-23 Adam Barth <abarth@webkit.org> 2011-09-23 Adam Barth <abarth@webkit.org>
   
Note flaky test. Note flaky test.
execCommand("JustifyNone") was crashing inside WebCore::ApplyStyleCommand::applyBlockStyle.
See https://bugs.webkit.org/show_bug.cgi?id=51639
The test has passed if it does not crash.
PASS
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<style>
*{
/* Note: applying a text-decoration to the body is necessary to
* cause the crash, as is having the document parsed as xhtml.
*/
text-decoration:underline;
}
</style>
<script>
function go() {
document.execCommand("SelectAll");
document.execCommand("JustifyRight");
document.execCommand("JustifyNone");
}
</script>
</head>
<body onload="go()" contenteditable="true">
execCommand("JustifyNone") was crashing inside WebCore::ApplyStyleCommand::applyBlockStyle.<br/>
See https://bugs.webkit.org/show_bug.cgi?id=51639<br/>
The test has passed if it does not crash.<br/><br/>
PASS
</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