diff options
author | Benjamin Otte <otte@redhat.com> | 2014-08-21 00:02:29 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2014-08-21 00:54:07 +0200 |
commit | 1126a34353877a5d0bcf06067e6bf129b48632e8 (patch) | |
tree | b7f00d730e404bd464bad4ae48986c12bb6dd712 /testsuite | |
parent | b5a8b7ef3b15c2bc264118294895202a16641168 (diff) | |
download | gtk+-1126a34353877a5d0bcf06067e6bf129b48632e8.tar.gz |
label: Respect box-shadow when computing clip
Testclase included.
Also reorder headers to be alphabetic.
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/reftests/Makefile.am | 3 | ||||
-rw-r--r-- | testsuite/reftests/label-box-shadow-clip.css | 9 | ||||
-rw-r--r-- | testsuite/reftests/label-box-shadow-clip.ref.ui | 23 | ||||
-rw-r--r-- | testsuite/reftests/label-box-shadow-clip.ui | 23 |
4 files changed, 58 insertions, 0 deletions
diff --git a/testsuite/reftests/Makefile.am b/testsuite/reftests/Makefile.am index 336a507c48..0b39b41dfd 100644 --- a/testsuite/reftests/Makefile.am +++ b/testsuite/reftests/Makefile.am @@ -252,6 +252,9 @@ testdata = \ label-background.css \ label-background.ref.ui \ label-background.ui \ + label-box-shadow-clip.css \ + label-box-shadow-clip.ref.ui \ + label-box-shadow-clip.ui \ label-clipping.css \ label-clipping.ref.ui \ label-clipping.ui \ diff --git a/testsuite/reftests/label-box-shadow-clip.css b/testsuite/reftests/label-box-shadow-clip.css new file mode 100644 index 0000000000..1aa8006031 --- /dev/null +++ b/testsuite/reftests/label-box-shadow-clip.css @@ -0,0 +1,9 @@ +@import "reset-to-defaults.css"; + +.test { + box-shadow: 0 0 0 1px red; +} + +.reference { + border: 1px solid red; +} diff --git a/testsuite/reftests/label-box-shadow-clip.ref.ui b/testsuite/reftests/label-box-shadow-clip.ref.ui new file mode 100644 index 0000000000..31f744d3a9 --- /dev/null +++ b/testsuite/reftests/label-box-shadow-clip.ref.ui @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- Generated with glade 3.18.1 --> +<interface> + <requires lib="gtk+" version="3.12"/> + <object class="GtkWindow" id="window1"> + <property name="width_request">100</property> + <property name="height_request">100</property> + <property name="can_focus">False</property> + <property name="type">popup</property> + <child> + <object class="GtkLabel" id="label1"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">center</property> + <property name="valign">center</property> + <property name="label" translatable="yes">X</property> + <style> + <class name="reference"/> + </style> + </object> + </child> + </object> +</interface> diff --git a/testsuite/reftests/label-box-shadow-clip.ui b/testsuite/reftests/label-box-shadow-clip.ui new file mode 100644 index 0000000000..03741621b7 --- /dev/null +++ b/testsuite/reftests/label-box-shadow-clip.ui @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- Generated with glade 3.18.1 --> +<interface> + <requires lib="gtk+" version="3.12"/> + <object class="GtkWindow" id="window1"> + <property name="width_request">100</property> + <property name="height_request">100</property> + <property name="can_focus">False</property> + <property name="type">popup</property> + <child> + <object class="GtkLabel" id="label1"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">center</property> + <property name="valign">center</property> + <property name="label" translatable="yes">X</property> + <style> + <class name="test"/> + </style> + </object> + </child> + </object> +</interface> |