Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(162)

Side by Side Diff: LayoutTests/imported/web-platform-tests/html/semantics/tabular-data/the-table-element/insertRow-method-01.html

Issue 1144143009: W3C Test: Import web-platform-tests/html/semantics (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <title>insertRow(): INDEX_SIZE_ERR</title>
3 <link rel="author" title="Ms2ger" href="mailto:ms2ger@gmail.com">
4 <link rel="help" href="https://html.spec.whatwg.org/multipage/#dom-table-insertr ow">
5 <script src="../../../../../../resources/testharness.js"></script>
6 <script src="../../../../../../resources/testharnessreport.js"></script>
7 <div id="log"></div>
8 <div id="test">
9 <table>
10 <tr>
11 <td>
12 </table>
13 </div>
14 <script>
15 test(function() {
16 var table = document.getElementById("test").getElementsByTagName("table")[0];
17 assert_throws("INDEX_SIZE_ERR", function() {
18 table.insertRow(-2);
19 })
20 assert_throws("INDEX_SIZE_ERR", function() {
21 table.insertRow(2);
22 })
23 });
24 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698