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

Unified Diff: Source/core/html/HTMLTableCellElement.idl

Issue 1031473002: Sync HTML element interfaces S-V with the spec (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: link to col element too Created 5 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/html/HTMLTableCaptionElement.idl ('k') | Source/core/html/HTMLTableColElement.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLTableCellElement.idl
diff --git a/Source/core/html/HTMLTableCellElement.idl b/Source/core/html/HTMLTableCellElement.idl
index b201938b86ad9efd27cafb25549e08246278e5a8..ef01b8c92bfdca3502392e4ec9e2270f2ba9d544 100644
--- a/Source/core/html/HTMLTableCellElement.idl
+++ b/Source/core/html/HTMLTableCellElement.idl
@@ -18,20 +18,35 @@
* Boston, MA 02110-1301, USA.
*/
+// https://html.spec.whatwg.org/#attributes-common-to-td-and-th-elements
+
interface HTMLTableCellElement : HTMLElement {
+ // TODO(philipj): All long types should be unsigned long.
+ attribute long colSpan;
+ attribute long rowSpan;
+ // TODO(philipj): headers should be a [PutForwards=value] readonly attribute
+ // DOMSettableTokenList.
+ [Reflect, TreatNullAs=NullString] attribute DOMString headers;
readonly attribute long cellIndex;
- [Reflect] attribute DOMString abbr;
+
+ // obsolete members
+ // https://html.spec.whatwg.org/#HTMLTableCellElement-partial
[Reflect] attribute DOMString align;
[Reflect] attribute DOMString axis;
- [Reflect, TreatNullAs=EmptyString] attribute DOMString bgColor;
+ [Reflect] attribute DOMString height;
+ [Reflect] attribute DOMString width;
+
[Reflect=char] attribute DOMString ch;
[Reflect=charoff] attribute DOMString chOff;
- attribute long colSpan;
- [Reflect, TreatNullAs=NullString] attribute DOMString headers;
- [Reflect] attribute DOMString height;
[Reflect] attribute boolean noWrap;
- attribute long rowSpan;
- [Reflect] attribute DOMString scope;
[Reflect] attribute DOMString vAlign;
- [Reflect] attribute DOMString width;
+
+ [Reflect, TreatNullAs=EmptyString] attribute DOMString bgColor;
+
+ // TODO(philipj): The spec has HTMLTableHeaderCellElement and
+ // HTMLTableDataCellElement interfaces for the th and td elements
+ // respectively. HTMLTableHeaderCellElement has the abbr and scope
+ // attributes, while HTMLTableDataCellElement has only abbr.
+ [Reflect] attribute DOMString abbr;
+ [Reflect] attribute DOMString scope;
};
« no previous file with comments | « Source/core/html/HTMLTableCaptionElement.idl ('k') | Source/core/html/HTMLTableColElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698