mirror of
https://github.com/servo/servo.git
synced 2025-08-04 21:20:23 +01:00
Implement HTMLTableDataCellElement & HTMLTableHeaderCellElement.
This commit is contained in:
parent
74d84ba099
commit
0de35fdc2f
12 changed files with 100 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue