Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(244)

Unified Diff: third_party/WebKit/LayoutTests/fast/block/float/float-list-changed-before-layout-crash.html

Issue 2693813002: Selection API: Some functions should throw InvalidNodeTypeError and IndexSizeError. (Closed)
Patch Set: adjust 2 more tests Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/block/float/float-list-changed-before-layout-crash.html
diff --git a/third_party/WebKit/LayoutTests/fast/block/float/float-list-changed-before-layout-crash.html b/third_party/WebKit/LayoutTests/fast/block/float/float-list-changed-before-layout-crash.html
index 70bc0a61a0e7758f563ba76b4d1750123db9d45d..ee2f26e2c4718f2a4a664d9b3fe98e7e5e96b355 100644
--- a/third_party/WebKit/LayoutTests/fast/block/float/float-list-changed-before-layout-crash.html
+++ b/third_party/WebKit/LayoutTests/fast/block/float/float-list-changed-before-layout-crash.html
@@ -64,7 +64,7 @@
el7.setAttribute('id','el7')
document.body.appendChild(el7)
document.designMode='on'
- window.getSelection().setBaseAndExtent(el3, 1, null, 0)
+ window.getSelection().setBaseAndExtent(el3, 0, null, 0)
document.execCommand('InsertLineBreak')
document.execCommand('selectall')
document.execCommand('strikethrough')

Powered by Google App Engine
This is Rietveld 408576698