gtk/tests/reftests/border-style-none.css
Alexander Larsson 34e15566e3 Add reftest to test border-style: none
From the css docs at http://www.w3.org/TR/CSS2/box.html:

8.5.1 Border width: 'border-top-width', 'border-right-width', 'border-bottom-width',
'border-left-width', and 'border-width'

Computed value:  	absolute length; '0' if the border style is 'none' or 'hidden'

So, if i specify border-style none and a border-width > 0 that should give the
same result as border-width 0.
2011-11-25 16:14:10 +01:00

20 lines
260 B
CSS

* {
border-color: red;
border-image: none;
background-image: none;
}
GtkButton {
background-color: purple;
border-style: none;
border-width: 5;
border-radius: 15;
}
#reference {
border-style: solid;
border-width: 0;
border-radius: 15;
}