[gtk/modern-testsuite: 3/5] reftests: Use 0.6 alpha, not 0.5




commit 9589059870b59b9b359e57f7b97169e209e028f4
Author: Benjamin Otte <otte redhat com>
Date:   Wed Sep 15 22:32:12 2021 +0200

    reftests: Use 0.6 alpha, not 0.5
    
    0.5 leads to some GL renderers computing 0.5 * 0xFF as 0x7F and
    others 0x80, while 0.6 * 0xFF (255 is divisible by 5) is always 0x99.

 testsuite/reftests/background-origin.css           |   2 +-
 testsuite/reftests/reference-background-origin.png | Bin 2024 -> 2064 bytes
 2 files changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/testsuite/reftests/background-origin.css b/testsuite/reftests/background-origin.css
index 53ad92b586..f4a3154848 100644
--- a/testsuite/reftests/background-origin.css
+++ b/testsuite/reftests/background-origin.css
@@ -7,7 +7,7 @@ window {
 button {
   border-width: 5px;
   border-style: solid;
-  border-color: rgba(255,0,0,0.5);
+  border-color: rgba(255,0,0,0.6);
   padding: 10px;
   background-color: rgb(0,0,255);
 
diff --git a/testsuite/reftests/reference-background-origin.png 
b/testsuite/reftests/reference-background-origin.png
index 3d02cb5b96..67e9c5816c 100644
Binary files a/testsuite/reftests/reference-background-origin.png and 
b/testsuite/reftests/reference-background-origin.png differ


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]