testsuite: Add a test for repeating gradients
Make sure scaling the image also scales the color stop lookup.
This commit is contained in:
9
testsuite/gsk/compare/repeating-gradient-scaled.node
Normal file
9
testsuite/gsk/compare/repeating-gradient-scaled.node
Normal file
@@ -0,0 +1,9 @@
|
||||
transform {
|
||||
transform: scale(10);
|
||||
child: repeating-linear-gradient {
|
||||
bounds: 0 0 5 5;
|
||||
start: 0 0;
|
||||
end: 0 1;
|
||||
stops: 0 white, 0.5 white, 0.5 black, 1 black;
|
||||
}
|
||||
}
|
||||
BIN
testsuite/gsk/compare/repeating-gradient-scaled.png
Normal file
BIN
testsuite/gsk/compare/repeating-gradient-scaled.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 166 B |
@@ -80,6 +80,7 @@ compare_render_tests = [
|
||||
'repeat-empty-child-bounds',
|
||||
'repeat-negative-coords',
|
||||
'repeat-texture',
|
||||
'repeating-gradient-scaled',
|
||||
'scale-textures-negative-ngl',
|
||||
'scale-up-down',
|
||||
'scaled-cairo',
|
||||
|
||||
Reference in New Issue
Block a user