Files
tubestation/servo/components/script/dom/webidls/HTMLTableCellElement.webidl
Corey Farwell 5996c2a440 servo: Merge #9054 - Implement non-zero dimension attribute parsing (from frewsxcv:parse-non-zero-dimension); r=eefriedman
Fixes #8445

The only attributes I found that we have implemented that uses non-zero
dimenion attributes:

* `width` for `<td>` and `<th>` (table cells)
* `width` for `<table>`

I updated these implementations to use the new non-zero dimension
attribute parsing and added associated regression tests.

Source-Repo: https://github.com/servo/servo
Source-Revision: 0d52170f351e46718c5ea1a811a7d4461eaa3751
2015-12-30 04:56:56 +05:00

31 lines
1.1 KiB
Plaintext

/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmltablecellelement
[Abstract]
interface HTMLTableCellElement : HTMLElement {
attribute unsigned long colSpan;
// attribute unsigned long rowSpan;
//[PutForwards=value] readonly attribute DOMSettableTokenList headers;
readonly attribute long cellIndex;
// also has obsolete members
};
// https://html.spec.whatwg.org/multipage/#HTMLTableCellElement-partial
partial interface HTMLTableCellElement {
// attribute DOMString align;
// attribute DOMString axis;
// attribute DOMString height;
attribute DOMString width;
// attribute DOMString ch;
// attribute DOMString chOff;
// attribute boolean noWrap;
// attribute DOMString vAlign;
[TreatNullAs=EmptyString] attribute DOMString bgColor;
};