gtk/testsuite/gsk/compare/mask-empty-source.node
Benjamin Otte b80e33b209 testsuite: Add tests for empty mask children
The compare tests use an empty container node, but running them with
--replay ends up with empty nodes in snapshots due to how containers are
replayed.

Related: !7396
Related: #6761
2024-07-02 02:04:06 +02:00

42 lines
572 B
Plaintext

/* guarantee bounds */
color {
color: transparent;
bounds: 0 0 90 90;
}
mask {
source: container {
}
mask: color {
bounds: 0 0 40 40;
color: rgb(255,0,204);
}
}
mask {
mode: inverted-alpha;
source: container {
}
mask: color {
bounds: 0 50 40 40;
color: rgb(255,0,204);
}
}
mask {
mode: luminance;
source: container {
}
mask: color {
bounds: 50 0 40 40;
color: rgb(255,0,204);
}
}
mask {
mode: inverted-luminance;
source: container {
}
mask: color {
bounds: 50 50 40 40;
color: rgb(255,0,204);
}
}