mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-14 20:51:07 +00:00
97b78cede0
Instead of using "-3d" to exclude Cairo rendering, use "-no$renderer" to allow excluding any renderer. And because we use contains() for the check, we can exclude multiple renderers by naming the test sth like "test-nogl-nocairo.node"
20 lines
405 B
Plaintext
20 lines
405 B
Plaintext
transform {
|
|
/* adding the perspective line here turns the matrix from a 2D
|
|
category into a 3D category. It does not have any visual effect. */
|
|
transform: perspective(200) scale(2);
|
|
child: container {
|
|
color {
|
|
bounds: 0 0 50 50;
|
|
color: transparent;
|
|
}
|
|
|
|
clip {
|
|
clip: 10 10 30 30;
|
|
child: color {
|
|
bounds: 0 0 50 50;
|
|
color: red;
|
|
}
|
|
}
|
|
}
|
|
}
|