summaryrefslogtreecommitdiff
path: root/testsuite/reftests/textview-border-windows.css
diff options
context:
space:
mode:
authorPaolo Borelli <pborelli@gnome.org>2014-06-15 18:11:15 +0200
committerPaolo Borelli <pborelli@gnome.org>2014-06-15 18:56:30 +0200
commit2eeff1eed6bd0bebcf8f1ade535317147a0e9ca9 (patch)
tree6956dfc0d20965e677e49ab6bdb0c47864358da4 /testsuite/reftests/textview-border-windows.css
parent2c5be3b2316d848e178c6add6e3e67717e147ea0 (diff)
downloadgtk+-2eeff1eed6bd0bebcf8f1ade535317147a0e9ca9.tar.gz
Add a TextView reftests checking border-windows
TextView border windows are internal windows used to draw on the gutter of the textview (e.g. line numbers). The test uses the gmodule hook to programmatically draw on the border-windows at each side of the textview and compares the result with 3x3 grid of labels.
Diffstat (limited to 'testsuite/reftests/textview-border-windows.css')
-rw-r--r--testsuite/reftests/textview-border-windows.css21
1 files changed, 21 insertions, 0 deletions
diff --git a/testsuite/reftests/textview-border-windows.css b/testsuite/reftests/textview-border-windows.css
new file mode 100644
index 0000000000..79eb97103e
--- /dev/null
+++ b/testsuite/reftests/textview-border-windows.css
@@ -0,0 +1,21 @@
+@import "reset-to-defaults.css";
+
+.top,
+#label_n {
+ background-color: blue;
+}
+
+.left,
+#label_w {
+ background-color: green;
+}
+
+.right,
+#label_e {
+ background-color: yellow;
+}
+
+.bottom,
+#label_s {
+ background-color: red;
+}