Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / HTMLTableRowElement / exceptions.html
blobf56ddae93619e36bb030685dce8edb1761334c50
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../../../resources/js-test.js"></script>
5 </head>
6 <body>
7 <script>
8 description("This test should trigger exceptions on HTMLTableRowElement, and verify that the messages are reasonably helpful.");
10 var tr = document.createElement('tr');
12 shouldThrow("tr.insertCell(-2)");
13 shouldThrow("tr.insertCell(1)");
15 tr.insertCell();
17 shouldThrow("tr.deleteCell(-2)");
18 shouldThrow("tr.deleteCell(2)");
19 shouldThrow("tr.deleteCell()");
20 </script>
21 </body>
22 </html>