mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 21:21:21 +00:00
testsuite: Add clipped overly large paths
... to make sure that renderers clip any masks they generate for paths.
This commit is contained in:
parent
fff8198393
commit
4fac0f713a
10
testsuite/gsk/compare/fill-clipped-nogl.node
Normal file
10
testsuite/gsk/compare/fill-clipped-nogl.node
Normal file
@ -0,0 +1,10 @@
|
||||
clip {
|
||||
clip: 0 0 50 50;
|
||||
child: fill {
|
||||
path: "M 0 0 h 32768 v 32768 h -32768 z";
|
||||
child: color {
|
||||
color: blue;
|
||||
bounds: 0 0 32768 32768;
|
||||
}
|
||||
}
|
||||
}
|
BIN
testsuite/gsk/compare/fill-clipped-nogl.png
Normal file
BIN
testsuite/gsk/compare/fill-clipped-nogl.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 85 B |
11
testsuite/gsk/compare/stroke-clipped-nogl.node
Normal file
11
testsuite/gsk/compare/stroke-clipped-nogl.node
Normal file
@ -0,0 +1,11 @@
|
||||
clip {
|
||||
clip: 0 0 50 50;
|
||||
child: stroke {
|
||||
path: "M 25 25 h 32718 v 32718 h -32718 z";
|
||||
child: color {
|
||||
color: blue;
|
||||
bounds: 0 0 32768 32768;
|
||||
}
|
||||
line-width: 50;
|
||||
}
|
||||
}
|
BIN
testsuite/gsk/compare/stroke-clipped-nogl.png
Normal file
BIN
testsuite/gsk/compare/stroke-clipped-nogl.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 85 B |
@ -67,6 +67,7 @@ compare_render_tests = [
|
||||
'empty-texture',
|
||||
'empty-transform',
|
||||
'fill',
|
||||
'fill-clipped-nogl',
|
||||
'fill-opacity',
|
||||
'fill-with-3d-contents-nogl-nocairo',
|
||||
'huge-height',
|
||||
@ -120,6 +121,7 @@ compare_render_tests = [
|
||||
'shadow-opacity',
|
||||
'shrink-rounded-border',
|
||||
'stroke',
|
||||
'stroke-clipped-nogl',
|
||||
'stroke-opacity',
|
||||
'stroke-with-3d-contents-nogl-nocairo',
|
||||
'texture-coords',
|
||||
|
Loading…
Reference in New Issue
Block a user