diff options
Diffstat (limited to 'testsuite/reftests/background-origin.css')
-rw-r--r-- | testsuite/reftests/background-origin.css | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/testsuite/reftests/background-origin.css b/testsuite/reftests/background-origin.css new file mode 100644 index 0000000000..aa8c4a9f19 --- /dev/null +++ b/testsuite/reftests/background-origin.css @@ -0,0 +1,58 @@ +@import "reset-to-defaults.css"; + +GtkWindow { + background-color: rgb(255,255,255); +} + +GtkButton { + border-width: 5px; + border-style: solid; + border-color: rgba(255,0,0,0.5); + padding: 10px; + background-color: rgb(0,0,255); + + background-image: url("green-20x20.png"); + background-repeat: no-repeat; +} + +#button1 { + background-origin: border-box; + background-clip: border-box; +} +#button2 { + background-origin: padding-box; + background-clip: border-box; +} +#button3 { + background-origin: content-box; + background-clip: border-box; +} +#button4 { + background-origin: border-box; + background-clip: padding-box; +} +#button5 { + background-origin: padding-box; + background-clip: padding-box; +} +#button6 { + background-origin: content-box; + background-clip: padding-box; +} +#button7 { + background-origin: border-box; + background-clip: content-box; +} +#button8 { + background-origin: padding-box; + background-clip: content-box; +} +#button9 { + background-origin: content-box; + background-clip: content-box; +} + +GtkButton#reference { + border-width: 0; + background-image: url("reference-background-origin.png"); +} |