Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / placeholder-dom-property.html
blob3cb3124fadc92f1f0e13f03abc94a9b66a63c766
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=21903'>https://bugs.webkit.org/show_bug.cgi?id=21903</a>");
12 var input = document.createElement("input");
14 shouldBeEqualToString("input.placeholder", '');
16 input.setAttribute("placeholder", "p1")
17 shouldBeEqualToString("input.placeholder", 'p1');
19 input.placeholder = 'p2';
20 shouldBeEqualToString("input.getAttribute('placeholder')", 'p2');
21 shouldBeEqualToString("input.placeholder", 'p2');
22 </script>
23 </body>
24 </html>