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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector-protocol/css/pseudo-element-matching-selectors.html

Issue 2942573003: [DevTools] New harness for inspector-protocol layout tests (Closed)
Patch Set: Protocol -> dp Created 3 years, 6 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 <html> 1 <html>
2 <head> 2 <head>
3 <script type="text/javascript" src="../../http/tests/inspector-protocol/inspecto r-protocol-test.js"></script> 3 <script type="text/javascript" src="../../http/tests/inspector-protocol/resource s/inspector-protocol-test.js"></script>
4 <script> 4 <script>
5 5
6 function addBeforeElement() 6 function addBeforeElement()
7 { 7 {
8 document.getElementById("style").textContent = "#for-pseudo:before { content : \"BEFORE\" }"; 8 document.getElementById("style").textContent = "#for-pseudo:before { content : \"BEFORE\" }";
9 } 9 }
10 10
11 async function test() 11 async function test()
12 { 12 {
13 var nodeInfo = {}; 13 var nodeInfo = {};
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 #for-pseudo:before { 81 #for-pseudo:before {
82 color: red; 82 color: red;
83 content: "BEFORE"; 83 content: "BEFORE";
84 } 84 }
85 </style> 85 </style>
86 </head> 86 </head>
87 <body onload="runTest()"> 87 <body onload="runTest()">
88 <div id="for-pseudo">Test</div> 88 <div id="for-pseudo">Test</div>
89 </body> 89 </body>
90 </html> 90 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698