blob: 6a521bae0772ae5c3d8c4f44daaa266d2921828d [file] [log] [blame]
Tests that computed styles expand and allow tracing to style rules.
==== All styles (should be no computed) ====
[expanded]
element.style { ()
[expanded]
#inspected { (<style>)
background: gray;
background-image: initial;
background-position-x: initial;
background-position-y: initial;
background-size: initial;
background-repeat-x: initial;
background-repeat-y: initial;
background-attachment: initial;
background-origin: initial;
background-clip: initial;
background-color: gray;
[expanded]
#inspected { (<style>)
/-- overloaded --/ background-color: black;
font-family: Courier;
[expanded]
#inspected { (<style>)
/-- overloaded --/ background-color: green;
/-- overloaded --/ font-family: Times;
[expanded]
div { (user agent stylesheet)
display: block;
==== All styles (computed should be there) ====
background-attachment: scroll;
initial - #inspected <style>
background-clip: border-box;
initial - #inspected <style>
background-color: rgb(128, 128, 128);
gray - #inspected <style>
OVERLOADED black - #inspected <style>
OVERLOADED green - #inspected <style>
background-image: none;
initial - #inspected <style>
background-origin: padding-box;
initial - #inspected <style>
background-position-x: 0%;
initial - #inspected <style>
background-position-y: 0%;
initial - #inspected <style>
background-repeat-x: ;
initial - #inspected <style>
background-repeat-y: ;
initial - #inspected <style>
background-size: auto;
initial - #inspected <style>
display: block;
block - div user agent stylesheet
font-family: Courier;
Courier - #inspected <style>
OVERLOADED Times - #inspected <style>
[expanded]
element.style { ()
[expanded]
#inspected { (<style>)
background: gray;
background-image: initial;
background-position-x: initial;
background-position-y: initial;
background-size: initial;
background-repeat-x: initial;
background-repeat-y: initial;
background-attachment: initial;
background-origin: initial;
background-clip: initial;
background-color: gray;
[expanded]
#inspected { (<style>)
/-- overloaded --/ background-color: black;
font-family: Courier;
[expanded]
#inspected { (<style>)
/-- overloaded --/ background-color: green;
/-- overloaded --/ font-family: Times;
[expanded]
div { (user agent stylesheet)
display: block;