Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / text / text-select-disabled.html
blobe83a713ae50ecc3dedf0e95ff59220265896e909
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../../../resources/js-test.js"></script>
5 </head>
6 <body>
7 <input id="visible" value="text0">
8 <input id="disabled" value="text1" disabled>
9 <script>
10 description("This test confirms that select an disabled input element does not cause focus change.");
11 visible.select();
12 shouldBe('getSelection().anchorNode', 'document.body');
13 shouldBe('getSelection().anchorOffset', '3');
14 disabled.select();
15 shouldBe('getSelection().anchorNode', 'document.body');
16 shouldBe('getSelection().anchorOffset', '3');
17 </script>
18 </body>
19 </html>