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

Unified Diff: third_party/WebKit/LayoutTests/editing/execCommand/apply-inline-style-to-element-with-no-renderer-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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/editing/execCommand/outdent-selection.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/editing/execCommand/apply-inline-style-to-element-with-no-renderer-crash.html
diff --git a/third_party/WebKit/LayoutTests/editing/execCommand/apply-inline-style-to-element-with-no-renderer-crash.html b/third_party/WebKit/LayoutTests/editing/execCommand/apply-inline-style-to-element-with-no-renderer-crash.html
index 1f0f5f22ae882946298164bb496ad131405dc49c..f6d9385db4be29b52e296b3a84d6fcc9bb263c7c 100644
--- a/third_party/WebKit/LayoutTests/editing/execCommand/apply-inline-style-to-element-with-no-renderer-crash.html
+++ b/third_party/WebKit/LayoutTests/editing/execCommand/apply-inline-style-to-element-with-no-renderer-crash.html
@@ -25,7 +25,7 @@ test(function() {
input=document.createElement('input');
textPath.parentNode.insertBefore(input, textPath);
- window.getSelection().setBaseAndExtent(input, 4, null, 0);
+ window.getSelection().setBaseAndExtent(input, 0, null, 0);
document.designMode='on';
document.execCommand('Transpose');
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/editing/execCommand/outdent-selection.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698