blob: c1768801c9e6d90bbefb4d9834219e2aec444804 [file] [log] [blame]
<!DOCTYPE html>
<script src="resources/responsive-test.js"></script>
<script>
assertCSSResponsive({
property: 'text-indent',
from: 'inherit',
to: '200px each-line',
configurations: [{
state: {inherited: '10px'},
expect: [
{at: 0.25, is: '10px'},
{at: 0.75, is: '200px each-line'},
],
}, {
state: {inherited: '100px each-line'},
expect: [
{at: 0.25, is: '125px each-line'},
{at: 0.75, is: '175px each-line'},
],
}],
});
assertCSSResponsive({
property: 'text-indent',
from: neutralKeyframe,
to: '200px hanging',
configurations: [{
state: {underlying: '10px each-line hanging'},
expect: [
{at: 0.25, is: '10px each-line hanging'},
{at: 0.75, is: '200px hanging'},
],
}, {
state: {underlying: '100px hanging'},
expect: [
{at: 0.25, is: '125px hanging'},
{at: 0.75, is: '175px hanging'},
],
}],
});
</script>