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

Side by Side Diff: Source/core/html/HTMLTableElement.h

Issue 270213007: HTMLTableElement.insertRow()'s argument default value should be -1 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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
1 /* 1 /*
2 * Copyright (C) 1997 Martin Jones (mjones@kde.org) 2 * Copyright (C) 1997 Martin Jones (mjones@kde.org)
3 * (C) 1997 Torben Weis (weis@kde.org) 3 * (C) 1997 Torben Weis (weis@kde.org)
4 * (C) 1998 Waldo Bastian (bastian@kde.org) 4 * (C) 1998 Waldo Bastian (bastian@kde.org)
5 * (C) 1999 Lars Knoll (knoll@kde.org) 5 * (C) 1999 Lars Knoll (knoll@kde.org)
6 * (C) 1999 Antti Koivisto (koivisto@kde.org) 6 * (C) 1999 Antti Koivisto (koivisto@kde.org)
7 * Copyright (C) 2003, 2004, 2005, 2006, 2008 Apple Inc. All rights reserved. 7 * Copyright (C) 2003, 2004, 2005, 2006, 2008 Apple Inc. All rights reserved.
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 HTMLTableSectionElement* tFoot() const; 49 HTMLTableSectionElement* tFoot() const;
50 void setTFoot(PassRefPtr<HTMLTableSectionElement>, ExceptionState&); 50 void setTFoot(PassRefPtr<HTMLTableSectionElement>, ExceptionState&);
51 51
52 PassRefPtrWillBeRawPtr<HTMLElement> createTHead(); 52 PassRefPtrWillBeRawPtr<HTMLElement> createTHead();
53 void deleteTHead(); 53 void deleteTHead();
54 PassRefPtrWillBeRawPtr<HTMLElement> createTFoot(); 54 PassRefPtrWillBeRawPtr<HTMLElement> createTFoot();
55 void deleteTFoot(); 55 void deleteTFoot();
56 PassRefPtrWillBeRawPtr<HTMLElement> createTBody(); 56 PassRefPtrWillBeRawPtr<HTMLElement> createTBody();
57 PassRefPtrWillBeRawPtr<HTMLElement> createCaption(); 57 PassRefPtrWillBeRawPtr<HTMLElement> createCaption();
58 void deleteCaption(); 58 void deleteCaption();
59 PassRefPtrWillBeRawPtr<HTMLElement> insertRow(ExceptionState&);
59 PassRefPtrWillBeRawPtr<HTMLElement> insertRow(int index, ExceptionState&); 60 PassRefPtrWillBeRawPtr<HTMLElement> insertRow(int index, ExceptionState&);
60 void deleteRow(int index, ExceptionState&); 61 void deleteRow(int index, ExceptionState&);
61 62
62 PassRefPtr<HTMLCollection> rows(); 63 PassRefPtr<HTMLCollection> rows();
63 PassRefPtr<HTMLCollection> tBodies(); 64 PassRefPtr<HTMLCollection> tBodies();
64 65
65 const AtomicString& rules() const; 66 const AtomicString& rules() const;
66 const AtomicString& summary() const; 67 const AtomicString& summary() const;
67 68
68 const StylePropertySet* additionalCellStyle(); 69 const StylePropertySet* additionalCellStyle();
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 TableRules m_rulesAttr; // Implies a thin border width, a collapsing bor der model, and all borders on the table becoming set to hidden (if frame/border 101 TableRules m_rulesAttr; // Implies a thin border width, a collapsing bor der model, and all borders on the table becoming set to hidden (if frame/border
101 // are present, to none otherwise). 102 // are present, to none otherwise).
102 103
103 unsigned short m_padding; 104 unsigned short m_padding;
104 RefPtrWillBeMember<StylePropertySet> m_sharedCellStyle; 105 RefPtrWillBeMember<StylePropertySet> m_sharedCellStyle;
105 }; 106 };
106 107
107 } //namespace 108 } //namespace
108 109
109 #endif 110 #endif
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/HTMLTableElement/insertRow-default-argument-expected.txt ('k') | Source/core/html/HTMLTableElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698