mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-29 15:01:23 +00:00
bb3174c913
The reftest is testing "transparent" works as expected by drawing a purple background once with purple and once with transparent and expecting the same result. This works fine unless anti-aliasing happens at rounded corners. The overdraw of the 2nd background changes the antialiased pixels. Fix this by explicitly setting the border radius to 0. Also reindent the file to make it more readable.
16 lines
214 B
CSS
16 lines
214 B
CSS
* {
|
|
background-image: none;
|
|
border-radius: 0;
|
|
background-color: purple;
|
|
}
|
|
|
|
GtkButton {
|
|
background-color: blue;
|
|
}
|
|
.transparent {
|
|
background-color: transparent;
|
|
}
|
|
.reference {
|
|
background-color: purple;
|
|
}
|