Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / input-set-value-on-blur.html
blobedc9173ea2a829eaef2fe787998f7c81dc5ea67b
1 <html>
2 <head>
3 <script src="../../resources/js-test.js"></script>
4 </head>
5 <body>
6 <textarea id="text">text1</textarea>
7 <input id="input" value="text2" />
8 <script>
9 description("This test confirms that changing an input's value on blur event does not cause re-focus.");
11 input.select();
12 input.addEventListener('blur', function () {
13 input.value = "new value";
14 });
15 text.focus();
17 shouldBe('document.activeElement', 'text')
19 </script>
20 </body>
21 </html>
22 </body>