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

Unified Diff: LayoutTests/imported/web-platform-tests/shadow-dom/testcommon.js

Issue 1292863003: update-w3c-deps import using blink e60a8575c2fa4bc64b804926b956b695a3ac158e: (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: tkent review Created 5 years, 4 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 | « LayoutTests/imported/web-platform-tests/shadow-dom/events/event-retargeting/test-004.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/imported/web-platform-tests/shadow-dom/testcommon.js
diff --git a/LayoutTests/imported/web-platform-tests/shadow-dom/testcommon.js b/LayoutTests/imported/web-platform-tests/shadow-dom/testcommon.js
index 397160e4d13f4f3228271fe7cbd1e73945db848e..cce78e9c2d86ef6977a8d47f7dd4082cab6487bc 100644
--- a/LayoutTests/imported/web-platform-tests/shadow-dom/testcommon.js
+++ b/LayoutTests/imported/web-platform-tests/shadow-dom/testcommon.js
@@ -228,30 +228,30 @@ function createTestMediaPlayer(d) {
d.body.innerHTML = '' +
'<div id="player">' +
'<input type="checkbox" id="outside-control">' +
- '<div id="player-shadow-root">' +
+ '<div id="player-shadow-host">' +
'</div>' +
'</div>';
- var playerShadowRoot = d.querySelector('#player-shadow-root').createShadowRoot();
+ var playerShadowRoot = d.querySelector('#player-shadow-host').createShadowRoot();
playerShadowRoot.innerHTML = '' +
'<div id="controls">' +
'<button class="play-button">PLAY</button>' +
- '<input type="range" id="timeline">' +
- '<div id="timeline-shadow-root">' +
+ '<div tabindex="0" id="timeline">' +
+ '<div id="timeline-shadow-host">' +
'</div>' +
- '</input>' +
+ '</div>' +
'<div class="volume-slider-container" id="volume-slider-container">' +
- '<input type="range" class="volume-slider" id="volume-slider">' +
- '<div id="volume-shadow-root">' +
+ '<div tabindex="0" class="volume-slider" id="volume-slider">' +
+ '<div id="volume-shadow-host">' +
'</div>' +
- '</input>' +
+ '</div>' +
'</div>' +
'</div>';
- var timeLineShadowRoot = playerShadowRoot.querySelector('#timeline-shadow-root').createShadowRoot();
+ var timeLineShadowRoot = playerShadowRoot.querySelector('#timeline-shadow-host').createShadowRoot();
timeLineShadowRoot.innerHTML = '<div class="slider-thumb" id="timeline-slider-thumb"></div>';
- var volumeShadowRoot = playerShadowRoot.querySelector('#volume-shadow-root').createShadowRoot();
+ var volumeShadowRoot = playerShadowRoot.querySelector('#volume-shadow-host').createShadowRoot();
volumeShadowRoot.innerHTML = '<div class="slider-thumb" id="volume-slider-thumb"></div>';
return {
« no previous file with comments | « LayoutTests/imported/web-platform-tests/shadow-dom/events/event-retargeting/test-004.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698