When the color property is inherited, don't resolve the inherited value to find the used value, just inherit the used value of the parent style. This is what browsers do, even though the spec says something else. Update the currentcolor4 style test to reflect these changes. Fixes: #6833
12 lines
141 B
CSS
12 lines
141 B
CSS
window {
|
|
color: color(srgb 1 0 0);
|
|
}
|
|
|
|
entry {
|
|
color: color-mix(in srgb, currentcolor, color(srgb 0 0 1));
|
|
}
|
|
|
|
text {
|
|
color: inherit;
|
|
}
|