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

Unified Diff: third_party/WebKit/LayoutTests/fast/selectors/shadow-host-div-with-span.html

Issue 2967903002: Select exact nodes in fast/selectors/shadow-host-div-with-*.html (Closed)
Patch Set: update Created 3 years, 5 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/fast/selectors/shadow-host-div-with-text.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/selectors/shadow-host-div-with-span.html
diff --git a/third_party/WebKit/LayoutTests/fast/selectors/shadow-host-div-with-span.html b/third_party/WebKit/LayoutTests/fast/selectors/shadow-host-div-with-span.html
index 72b7931d092672a948bb0224ba0ba01d75db8abf..d33d3ce26de8fed9dc96bfb46f339039f7f62486 100644
--- a/third_party/WebKit/LayoutTests/fast/selectors/shadow-host-div-with-span.html
+++ b/third_party/WebKit/LayoutTests/fast/selectors/shadow-host-div-with-span.html
@@ -22,6 +22,6 @@
function SelectText() {
var ele = document.getElementById('container');
var selection = window.getSelection();
- selection.selectAllChildren(ele);
+ selection.setBaseAndExtent(ele.childNodes[1], 0, ele.childNodes[5], 1);
}
</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/selectors/shadow-host-div-with-text.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698