blob: 088785fc880a5e4dc3dbbc1a9cb668b2e24bd89b [file] [log] [blame]
<!DOCTYPE html>
<script src="resources/responsive-test.js"></script>
<script>
assertCSSResponsive({
property: 'fill',
from: 'inherit',
to: 'green',
configurations: [{
state: {inherited: 'blue'},
expect: [
{at: 0.25, is: 'rgb(0, 32, 191)'},
{at: 0.75, is: 'rgb(0, 96, 64)'},
],
}, {
state: {inherited: 'yellow'},
expect: [
{at: 0.25, is: 'rgb(191, 223, 0)'},
{at: 0.75, is: 'rgb(64, 160, 0)'},
],
}, {
state: {inherited: 'url(a)'},
expect: [
{at: 0.25, is: 'url("a")'},
{at: 0.75, is: 'rgb(0, 128, 0)'},
],
}],
});
</script>