summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2014-05-11 03:08:40 +0200
committerBenjamin Otte <otte@redhat.com>2014-05-11 03:23:55 +0200
commit3a72e2fb2483d4dd26eb74319613ffb505d89128 (patch)
treeb02474d3cce58fe8ce72207405eb5d5b3810cb76 /testsuite
parentf2258cb05cfaf96ba146d1244f4a4e2d8bafc1e8 (diff)
downloadgtk+-3a72e2fb2483d4dd26eb74319613ffb505d89128.tar.gz
css: Implement "unset"
Quoting the spec: If the cascaded value of a property is the unset keyword, then if it is an inherited property, this is treated as inherit, and if it is not, this is treated as initial. Spec in question: http://dev.w3.org/csswg/css-cascade/ Also use unset in the reset-to-defaults.css we use to reset css in reftests.
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/reftests/reset-to-defaults.css108
1 files changed, 54 insertions, 54 deletions
diff --git a/testsuite/reftests/reset-to-defaults.css b/testsuite/reftests/reset-to-defaults.css
index 1c27a8e72b..8654a5bf0f 100644
--- a/testsuite/reftests/reset-to-defaults.css
+++ b/testsuite/reftests/reset-to-defaults.css
@@ -7,60 +7,60 @@
*/
* {
- color: inherit;
- font-size: inherit;
- background-color: initial;
- font-family: inherit;
- font-style: inherit;
- font-variant: inherit;
- font-weight: inherit;
- text-shadow: inherit;
- icon-shadow: inherit;
- box-shadow: initial;
- margin-top: initial;
- margin-left: initial;
- margin-bottom: initial;
- margin-right: initial;
- padding-top: initial;
- padding-left: initial;
- padding-bottom: initial;
- padding-right: initial;
- border-top-style: initial;
- border-top-width: initial;
- border-left-style: initial;
- border-left-width: initial;
- border-bottom-style: initial;
- border-bottom-width: initial;
- border-right-style: initial;
- border-right-width: initial;
- border-top-left-radius: initial;
- border-top-right-radius: initial;
- border-bottom-right-radius: initial;
- border-bottom-left-radius: initial;
- outline-style: initial;
- outline-width: initial;
- outline-offset: initial;
- background-clip: initial;
- background-origin: initial;
- background-size: initial;
- background-position: initial;
- border-top-color: initial;
- border-right-color: initial;
- border-bottom-color: initial;
- border-left-color: initial;
- outline-color: initial;
- background-repeat: initial;
- background-image: initial;
- border-image-source: initial;
- border-image-repeat: initial;
- border-image-slice: initial;
- border-image-width: initial;
- transition-property: initial;
- transition-duration: initial;
- transition-timing-function: initial;
- transition-delay: initial;
- engine: initial;
- gtk-key-bindings: initial;
+ color: unset;
+ font-size: unset;
+ background-color: unset;
+ font-family: unset;
+ font-style: unset;
+ font-variant: unset;
+ font-weight: unset;
+ text-shadow: unset;
+ icon-shadow: unset;
+ box-shadow: unset;
+ margin-top: unset;
+ margin-left: unset;
+ margin-bottom: unset;
+ margin-right: unset;
+ padding-top: unset;
+ padding-left: unset;
+ padding-bottom: unset;
+ padding-right: unset;
+ border-top-style: unset;
+ border-top-width: unset;
+ border-left-style: unset;
+ border-left-width: unset;
+ border-bottom-style: unset;
+ border-bottom-width: unset;
+ border-right-style: unset;
+ border-right-width: unset;
+ border-top-left-radius: unset;
+ border-top-right-radius: unset;
+ border-bottom-right-radius: unset;
+ border-bottom-left-radius: unset;
+ outline-style: unset;
+ outline-width: unset;
+ outline-offset: unset;
+ background-clip: unset;
+ background-origin: unset;
+ background-size: unset;
+ background-position: unset;
+ border-top-color: unset;
+ border-right-color: unset;
+ border-bottom-color: unset;
+ border-left-color: unset;
+ outline-color: unset;
+ background-repeat: unset;
+ background-image: unset;
+ border-image-source: unset;
+ border-image-repeat: unset;
+ border-image-slice: unset;
+ border-image-width: unset;
+ transition-property: unset;
+ transition-duration: unset;
+ transition-timing-function: unset;
+ transition-delay: unset;
+ engine: unset;
+ gtk-key-bindings: unset;
-GtkWidget-focus-line-width: 0;
-GtkWidget-focus-padding: 0;