4 <meta http-equiv=
"Content-Type" content=
"text/html; charset=utf-8">
5 <title>Testing transitions of text-indent
</title>
6 <style type=
"text/css" media=
"screen">
11 border:
1px solid blue;
12 -webkit-transition-property: text-indent;
13 -webkit-transition-duration:
1s;
14 -webkit-transition-timing-function: linear;
21 #container.final .indent {
26 <script src=
"transition-test-helpers.js" type=
"text/javascript" charset=
"utf-8"></script>
27 <script type=
"text/javascript" charset=
"utf-8">
29 const expectedValues = [
30 // [time, element-id, property, expected-value, tolerance]
31 [
0.5, 'box1', 'text-indent',
50,
2],
36 document.getElementById('container').className = 'final';
39 runTransitionTest(expectedValues, setupTest, true);
45 <div id=
"box1" class='indent box'
>Text is affected by transition of text-indent.
</div>
48 <div id=
"result"></div>