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

Side by Side Diff: third_party/WebKit/Source/core/html/HTMLTableElement.idl

Issue 1466563003: Make [TypeChecking=Interface] the default (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2010 Apple Inc. All rights reserved.
3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> 3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Library General Public License for more details. 13 * Library General Public License for more details.
14 * 14 *
15 * You should have received a copy of the GNU Library General Public License 15 * You should have received a copy of the GNU Library General Public License
16 * along with this library; see the file COPYING.LIB. If not, write to 16 * along with this library; see the file COPYING.LIB. If not, write to
17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 * Boston, MA 02110-1301, USA. 18 * Boston, MA 02110-1301, USA.
19 */ 19 */
20 20
21 // https://html.spec.whatwg.org/#the-table-element 21 // https://html.spec.whatwg.org/#the-table-element
22 22
23 interface HTMLTableElement : HTMLElement { 23 interface HTMLTableElement : HTMLElement {
24 // TODO(philipj): The caption, tHead and tFoot setters should never throw. 24 // TODO(philipj): The caption, tHead and tFoot setters should never throw.
25 [RaisesException=Setter] attribute HTMLTableCaptionElement? caption; 25 [RaisesException=Setter, LegacyInterfaceTypeChecking] attribute HTMLTableCap tionElement? caption;
26 HTMLElement createCaption(); 26 HTMLElement createCaption();
27 void deleteCaption(); 27 void deleteCaption();
28 [RaisesException=Setter] attribute HTMLTableSectionElement? tHead; 28 [RaisesException=Setter, LegacyInterfaceTypeChecking] attribute HTMLTableSec tionElement? tHead;
29 HTMLElement createTHead(); 29 HTMLElement createTHead();
30 void deleteTHead(); 30 void deleteTHead();
31 [RaisesException=Setter] attribute HTMLTableSectionElement? tFoot; 31 [RaisesException=Setter, LegacyInterfaceTypeChecking] attribute HTMLTableSec tionElement? tFoot;
32 HTMLElement createTFoot(); 32 HTMLElement createTFoot();
33 void deleteTFoot(); 33 void deleteTFoot();
34 readonly attribute HTMLCollection tBodies; 34 readonly attribute HTMLCollection tBodies;
35 HTMLElement createTBody(); 35 HTMLElement createTBody();
36 readonly attribute HTMLCollection rows; 36 readonly attribute HTMLCollection rows;
37 [RaisesException] HTMLElement insertRow(optional long index = -1); 37 [RaisesException] HTMLElement insertRow(optional long index = -1);
38 [RaisesException] void deleteRow(long index); 38 [RaisesException] void deleteRow(long index);
39 // attribute boolean sortable; 39 // attribute boolean sortable;
40 // void stopSorting(); 40 // void stopSorting();
41 41
42 // obsolete members 42 // obsolete members
43 // https://html.spec.whatwg.org/#HTMLTableElement-partial 43 // https://html.spec.whatwg.org/#HTMLTableElement-partial
44 [Reflect] attribute DOMString align; 44 [Reflect] attribute DOMString align;
45 [Reflect] attribute DOMString border; 45 [Reflect] attribute DOMString border;
46 [Reflect] attribute DOMString frame; 46 [Reflect] attribute DOMString frame;
47 [Reflect] attribute DOMString rules; 47 [Reflect] attribute DOMString rules;
48 [Reflect] attribute DOMString summary; 48 [Reflect] attribute DOMString summary;
49 [Reflect] attribute DOMString width; 49 [Reflect] attribute DOMString width;
50 50
51 [Reflect, TreatNullAs=EmptyString] attribute DOMString bgColor; 51 [Reflect, TreatNullAs=EmptyString] attribute DOMString bgColor;
52 [Reflect, TreatNullAs=EmptyString] attribute DOMString cellPadding; 52 [Reflect, TreatNullAs=EmptyString] attribute DOMString cellPadding;
53 [Reflect, TreatNullAs=EmptyString] attribute DOMString cellSpacing; 53 [Reflect, TreatNullAs=EmptyString] attribute DOMString cellSpacing;
54 }; 54 };
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLSelectElement.idl ('k') | third_party/WebKit/Source/core/html/ImageData.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698