Implement HTMLTableDataCellElement & HTMLTableHeaderCellElement.

This commit is contained in:
Tetsuharu OHZEKI 2013-10-15 22:37:06 +09:00
parent 74d84ba099
commit 0de35fdc2f
12 changed files with 100 additions and 4 deletions

View file

@ -3,12 +3,22 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
use dom::bindings::utils::{DOMString, ErrorResult};
use dom::document::AbstractDocument;
use dom::element::ElementTypeId;
use dom::htmlelement::HTMLElement;
pub struct HTMLTableCellElement {
htmlelement: HTMLElement,
}
impl HTMLTableCellElement {
pub fn new(type_id: ElementTypeId, tag_name: ~str, document: AbstractDocument) -> HTMLTableCellElement {
HTMLTableCellElement {
htmlelement: HTMLElement::new(type_id, tag_name, document)
}
}
}
impl HTMLTableCellElement {
pub fn ColSpan(&self) -> u32 {
0