Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / textarea-placeholder-dom-property.html
blob70a85aa5ef9250d21bbc1246237fd947111eaf6c
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html>
3 <head>
4 <script src="../../resources/js-test.js"></script>
5 </head>
6 <body>
7 <p id="description"></p>
8 <div id="console"></div>
9 <script>
10 description('Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=21248">https://bugs.webkit.org/show_bug.cgi?id=21248</a>');
12 var textarea = document.createElement('textarea');
14 shouldBeEqualToString('textarea.placeholder', '');
16 textarea.setAttribute('placeholder', 'p1')
17 shouldBeEqualToString('textarea.placeholder', 'p1');
18 shouldBeEqualToString('textarea.value', '');
20 textarea.placeholder = 'p2';
21 shouldBeEqualToString('textarea.getAttribute("placeholder")', 'p2');
22 shouldBeEqualToString('textarea.placeholder', 'p2');
23 </script>
24 </body>
25 </html>