styling-inherit-01-b

raster image of styling-inherit-01-b.png raster image of styling-inherit-01-b.png

Verify property inheritance as required by 6.15 "Property inheritance". Since all implementations are required to do this, only presentation attributes are used.

At the center right, there is an ellipse. The fill color is not specified on that element but on its parent. The ellipse should be filled a solid yellow

At the top left, an oval shape is formed from a rectangle with a radial gradient. The color of the middle stop uses the keyword 'inherit' and thus takes its parent's value of green, giving a yellow, green, white gradient.

At the bottom left, an oval shape is formed from a rectangle with a radial gradient. The color of the middle stop uses the value 'currentColor' and thus takes the value its parent's color property, a dark red, giving a yellow, dark red, white gradient.