Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / web-animations-api / animations-responsive-textIndent.html
blobeca4d1dd298c80fa7ebb6d8f99adc2cf60bbc785
1 <!DOCTYPE html>
2 <script src="../resources/testharness.js"></script>
3 <script src="../resources/testharnessreport.js"></script>
4 <div id='container'>
5 <div id='element'></div>
6 </div>
7 <script>
9 var container = document.getElementById('container');
10 var element = document.getElementById('element');
12 test(function() {
13 container.style.fontSize = '10px';
15 var keyframes = [
16 {textIndent: '10em hanging'},
17 {textIndent: '10em hanging'}
19 var player = element.animate(keyframes, 10);
20 player.pause();
21 player.currentTime = 5;
23 var textIndent = getComputedStyle(element).textIndent;
24 container.style.fontSize = '20px';
25 assert_not_equals(getComputedStyle(element).textIndent, textIndent);
26 }, 'textIndent responsive to style changes');
28 </script>