| 1 |
====== |
| 2 |
Mask |
| 3 |
====== |
| 4 |
|
| 5 |
Luminance Masks |
| 6 |
=============== |
| 7 |
|
| 8 |
- ``masking-intro-01-f`` |
| 9 |
- ``masking-path-10-b`` |
| 10 |
- ``masking-path-11-b`` |
| 11 |
|
| 12 |
SVG relies on the luminance and the alpha channel to apply masks, whereas Cairo |
| 13 |
only handles alpha. The only way to fix this is to find a "luminance-to-alpha" |
| 14 |
filter. |
| 15 |
|
| 16 |
|
| 17 |
Even-Odd Rule |
| 18 |
============= |
| 19 |
|
| 20 |
- ``masking-path-05-f`` |
| 21 |
|
| 22 |
The even-odd rule must be handled by path according to the SVG |
| 23 |
specification. Unfortunately, Cairo clips all the paths with the same fill |
| 24 |
rule. |
| 25 |
|
| 26 |
|
| 27 |
Clip Path Intersections |
| 28 |
======================= |
| 29 |
|
| 30 |
- ``masking-path-07-b`` |
| 31 |
|
| 32 |
This test is a hard one, and a lot of things fail here including nested |
| 33 |
clip-path properties and use/clipPath inherited attributes. |