[gnome-shell] tests: show off translucent gradients
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] tests: show off translucent gradients
- Date: Thu, 10 Feb 2011 23:24:50 +0000 (UTC)
commit 7d77802ba18040c24c5c7745427169ac8a8907ab
Author: Ray Strode <rstrode redhat com>
Date: Mon Jan 24 16:11:40 2011 -0500
tests: show off translucent gradients
Right now border color is leaking through.
Demonstrate that.
https://bugzilla.gnome.org/show_bug.cgi?id=640465
tests/interactive/borders.js | 2 +-
tests/testcommon/test.css | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/tests/interactive/borders.js b/tests/interactive/borders.js
index ba8d1e0..8419ffb 100644
--- a/tests/interactive/borders.js
+++ b/tests/interactive/borders.js
@@ -84,7 +84,7 @@ box.add(framedGradients);
function addGradientCase(direction, borderWidth, borderRadius, extra) {
let gradientBox = new St.BoxLayout({ style_class: 'background-gradient',
- style: 'border: ' + borderWidth + 'px solid #8b8b8b;'
+ style: 'border: ' + borderWidth + 'px solid #8b0000;'
+ 'border-radius: ' + borderRadius + 'px;'
+ 'background-gradient-direction: ' + direction + ';'
+ 'width: 32px;'
diff --git a/tests/testcommon/test.css b/tests/testcommon/test.css
index 3461111..af56617 100644
--- a/tests/testcommon/test.css
+++ b/tests/testcommon/test.css
@@ -38,8 +38,8 @@ stage {
}
.background-gradient {
- background-gradient-start: #88ff88;
- background-gradient-end: #8888ff;
+ background-gradient-start: rgba(127, 255, 127, .6);
+ background-gradient-end: rgba(127, 127, 255, .6);
}
.border-image-with-background-gradient {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]