blob: 84d06bb778be44653831f5a79ddb1b4d46422174 [file] [log] [blame]
<!DOCTYPE html>
<meta charset="UTF-8">
<style>
.parent {
--token-stream: parent tokens;
}
.target {
--token-stream: underlying tokens;
}
</style>
<body>
<script src="../interpolation/resources/interpolation-test.js"></script>
<script>
CSS.registerProperty({
name: '--token-stream',
syntax: '*',
initialValue: 'initial tokens',
inherits: false,
});
assertNoInterpolation({
property: '--token-stream',
from: neutralKeyframe,
to: 'value tokens',
});
assertNoInterpolation({
property: '--token-stream',
from: 'initial',
to: 'value tokens',
});
assertNoInterpolation({
property: '--token-stream',
from: 'inherit',
to: 'value tokens',
});
assertNoInterpolation({
property: '--ident',
from: 'unset',
to: 'value tokens',
});
assertNoInterpolation({
property: '--token-stream',
from: 'a b c d',
to: 'e f g h',
});
</script>
</body>