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

Side by Side Diff: third_party/WebKit/LayoutTests/shadow-dom/delegatesFocus-highlight-sibling.html

Issue 1774113002: Move Shadow DOM V1 tests from fast/dom/shadow to shadow-dom (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 9 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 unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script src="../../../resources/js-test.js"></script> 2 <script src="../resources/js-test.js"></script>
3 <script src="resources/shadow-dom.js"></script> 3 <script src="../fast/dom/shadow/resources/shadow-dom.js"></script>
4 <!-- Adapted from http://jsbin.com/dexinu/6/edit for layout test --> 4 <!-- Adapted from http://jsbin.com/dexinu/6/edit for layout test -->
5 5
6 <template id="XMenuTemplate"> 6 <template id="XMenuTemplate">
7 <style> 7 <style>
8 :host { 8 :host {
9 display: inline-block; 9 display: inline-block;
10 position: relative; 10 position: relative;
11 background-color: #aaa; 11 background-color: #aaa;
12 } 12 }
13 :host(:focus) { 13 :host(:focus) {
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 shouldBeEqualToString('document.activeElement.id', 'XMenu1'); 120 shouldBeEqualToString('document.activeElement.id', 'XMenu1');
121 backgroundColorShouldBe('XMenu1', 'rgb(170, 170, 170)'); 121 backgroundColorShouldBe('XMenu1', 'rgb(170, 170, 170)');
122 backgroundColorShouldBe('XMenu2', 'rgb(170, 170, 170)'); 122 backgroundColorShouldBe('XMenu2', 'rgb(170, 170, 170)');
123 backgroundColorShouldBe('XMenu3', 'rgb(170, 170, 170)'); 123 backgroundColorShouldBe('XMenu3', 'rgb(170, 170, 170)');
124 backgroundColorShouldBe('XMenu4', 'rgb(170, 170, 170)'); 124 backgroundColorShouldBe('XMenu4', 'rgb(170, 170, 170)');
125 } 125 }
126 126
127 RegisterXMenu(); 127 RegisterXMenu();
128 test(); 128 test();
129 </script> 129 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698