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

Side by Side Diff: LayoutTests/inspector/elements/styles-4/styles-properties-overload.html

Issue 1320543002: DevTools: simplify & fix property overload logic (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <html>
2 <head>
3 <script src="../../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../../http/tests/inspector/elements-test.js"></script>
5 <style>
6 div {
7 margin: 1px;
8 border: 1px solid black;
9 }
10
11 #inspect {
12 margin-top: 1px;
13 margin-left: 1px;
14 margin-right: 1px;
15 margin-bottom: 1px;
16 font: 10px Arial;
17 }
18
19 .container {
20 font-size: 10px;
21 border: 0;
22 }
23
24 </style>
25
26 <script>
27
28 function test()
29 {
30 InspectorTest.selectNodeAndWaitForStyles("inspect", step2);
31
32 function step2()
33 {
34 InspectorTest.dumpSelectedElementStyles(true, false, false);
35 InspectorTest.completeTest();
36 }
37 }
38
39 </script>
40 </head>
41
42 <body onload="runTest()">
43 <p>Verifies that inspector figures out overloaded properties correctly.</p>
44 <div class="container">
45 <div id="inspect">Text.</div>
46 </div>
47 </body>
48 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698