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

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

Issue 2043503002: Add [CEReactions] IDL attributes for Custom Elements V1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: yukishiino review Created 4 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
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(foolip): The caption, tHead and tFoot setters should never throw. 24 // TODO(foolip): The caption, tHead and tFoot setters should never throw.
25 [RaisesException=Setter] attribute HTMLTableCaptionElement? caption; 25 [CEReactions, RaisesException=Setter] attribute HTMLTableCaptionElement? cap tion;
26 HTMLTableCaptionElement createCaption(); 26 [CEReactions] HTMLTableCaptionElement createCaption();
27 void deleteCaption(); 27 [CEReactions] void deleteCaption();
28 [RaisesException=Setter] attribute HTMLTableSectionElement? tHead; 28 [CEReactions, RaisesException=Setter] attribute HTMLTableSectionElement? tHe ad;
29 HTMLTableSectionElement createTHead(); 29 [CEReactions] HTMLTableSectionElement createTHead();
30 void deleteTHead(); 30 [CEReactions] void deleteTHead();
31 [RaisesException=Setter] attribute HTMLTableSectionElement? tFoot; 31 [CEReactions, RaisesException=Setter] attribute HTMLTableSectionElement? tFo ot;
32 HTMLTableSectionElement createTFoot(); 32 [CEReactions] HTMLTableSectionElement createTFoot();
33 void deleteTFoot(); 33 [CEReactions] void deleteTFoot();
34 readonly attribute HTMLCollection tBodies; 34 readonly attribute HTMLCollection tBodies;
35 HTMLTableSectionElement createTBody(); 35 [CEReactions] HTMLTableSectionElement createTBody();
36 readonly attribute HTMLCollection rows; 36 readonly attribute HTMLCollection rows;
37 [RaisesException] HTMLTableRowElement insertRow(optional long index = -1); 37 [CEReactions, RaisesException] HTMLTableRowElement insertRow(optional long i ndex = -1);
38 [RaisesException] void deleteRow(long index); 38 [CEReactions, 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 [CEReactions, Reflect] attribute DOMString align;
45 [Reflect] attribute DOMString border; 45 [CEReactions, Reflect] attribute DOMString border;
46 [Reflect] attribute DOMString frame; 46 [CEReactions, Reflect] attribute DOMString frame;
47 [Reflect] attribute DOMString rules; 47 [CEReactions, Reflect] attribute DOMString rules;
48 [Reflect] attribute DOMString summary; 48 [CEReactions, Reflect] attribute DOMString summary;
49 [Reflect] attribute DOMString width; 49 [CEReactions, Reflect] attribute DOMString width;
50 50
51 [Reflect, TreatNullAs=EmptyString] attribute DOMString bgColor; 51 [CEReactions, Reflect, TreatNullAs=EmptyString] attribute DOMString bgColor;
52 [Reflect, TreatNullAs=EmptyString] attribute DOMString cellPadding; 52 [CEReactions, Reflect, TreatNullAs=EmptyString] attribute DOMString cellPadd ing;
53 [Reflect, TreatNullAs=EmptyString] attribute DOMString cellSpacing; 53 [CEReactions, Reflect, TreatNullAs=EmptyString] attribute DOMString cellSpac ing;
54 }; 54 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698