Upstream version 5.34.98.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / inspector / elements / styles / force-pseudo-state-expected.txt
1 Tests that forced element state is reflected in the DOM tree and Styles pane.
2
3 Test text
4
5 DIV with :hover and :active
6 [expanded] 
7 element.style  { ()
8
9 [expanded] 
10 div:active, a:active  { (force-pseudo-state.html:12 -> force-pseudo-state.html:12:1)
11 font-weight: bold;
12
13 [expanded] 
14 div:hover, a:hover  { (force-pseudo-state.html:4 -> force-pseudo-state.html:4:1)
15 color: red;
16
17 [expanded] 
18 div  { (user agent stylesheet)
19 display: block;
20
21 ======== Inherited from body#mainBody.main1.main2.mainpage ========
22 [expanded] 
23 Style Attribute  { ()
24 /-- overloaded --/ font-weight: normal;
25
26
27 - <html> [descendantUserAttributeCounters:[pseudoState=1]]
28     + <head>…</head>
29     - <body id="mainBody" class="main1 main2 mainpage" onload="runTest()" style="font-weight: normal; width: 85%; background-image: url(bar.png)"> [descendantUserAttributeCounters:[pseudoState=1]]
30           <p>\nTests that forced element state is reflected in the DOM tree and Styles pane.\n</p>
31           <div id="div">Test text</div> [userProperties:[pseudoState=hover,active]]
32       </body>
33   </html>
34
35 DIV with :active and :focus
36 [expanded] 
37 element.style  { ()
38
39 [expanded] 
40 div:active, a:active  { (force-pseudo-state.html:12 -> force-pseudo-state.html:12:1)
41 font-weight: bold;
42
43 [expanded] 
44 div:focus, a:focus  { (force-pseudo-state.html:8 -> force-pseudo-state.html:8:1)
45 border: 1px solid green;
46     border-top-color: green;
47     border-top-style: solid;
48     border-top-width: 1px;
49     border-right-color: green;
50     border-right-style: solid;
51     border-right-width: 1px;
52     border-bottom-color: green;
53     border-bottom-style: solid;
54     border-bottom-width: 1px;
55     border-left-color: green;
56     border-left-style: solid;
57     border-left-width: 1px;
58
59 [expanded] 
60 :focus  { (user agent stylesheet)
61 outline: -webkit-focus-ring-color auto 5px;
62     outline-color: -webkit-focus-ring-color;
63     outline-style: auto;
64     outline-width: 5px;
65
66 [expanded] 
67 div  { (user agent stylesheet)
68 display: block;
69
70 ======== Inherited from body#mainBody.main1.main2.mainpage ========
71 [expanded] 
72 Style Attribute  { ()
73 /-- overloaded --/ font-weight: normal;
74
75
76 - <html> [descendantUserAttributeCounters:[pseudoState=1]]
77     + <head>…</head>
78     - <body id="mainBody" class="main1 main2 mainpage" onload="runTest()" style="font-weight: normal; width: 85%; background-image: url(bar.png)"> [descendantUserAttributeCounters:[pseudoState=1]]
79           <p>\nTests that forced element state is reflected in the DOM tree and Styles pane.\n</p>
80           <div id="div">Test text</div> [userProperties:[pseudoState=active,focus]]
81         + <div>…</div>
82       </body>
83   </html>
84
85 DIV with no forced state
86 [expanded] 
87 element.style  { ()
88
89 [expanded] 
90 div  { (user agent stylesheet)
91 display: block;
92
93 ======== Inherited from body#mainBody.main1.main2.mainpage ========
94 [expanded] 
95 Style Attribute  { ()
96 font-weight: normal;
97
98
99 - <html>
100     + <head>…</head>
101     - <body id="mainBody" class="main1 main2 mainpage" onload="runTest()" style="font-weight: normal; width: 85%; background-image: url(bar.png)">
102           <p>\nTests that forced element state is reflected in the DOM tree and Styles pane.\n</p>
103           <div id="div">Test text</div>
104         + <div>…</div>
105       </body>
106   </html>
107