mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Format script component
This commit is contained in:
parent
2ca7a13473
commit
c37a345dc9
357 changed files with 25485 additions and 18076 deletions
|
@ -16,24 +16,28 @@ pub struct HTMLTableDataCellElement {
|
|||
}
|
||||
|
||||
impl HTMLTableDataCellElement {
|
||||
fn new_inherited(local_name: LocalName,
|
||||
prefix: Option<Prefix>,
|
||||
document: &Document) -> HTMLTableDataCellElement {
|
||||
fn new_inherited(
|
||||
local_name: LocalName,
|
||||
prefix: Option<Prefix>,
|
||||
document: &Document,
|
||||
) -> HTMLTableDataCellElement {
|
||||
HTMLTableDataCellElement {
|
||||
htmltablecellelement:
|
||||
HTMLTableCellElement::new_inherited(local_name, prefix, document)
|
||||
htmltablecellelement: HTMLTableCellElement::new_inherited(local_name, prefix, document),
|
||||
}
|
||||
}
|
||||
|
||||
#[allow(unrooted_must_root)]
|
||||
pub fn new(local_name: LocalName, prefix: Option<Prefix>, document: &Document)
|
||||
-> DomRoot<HTMLTableDataCellElement> {
|
||||
pub fn new(
|
||||
local_name: LocalName,
|
||||
prefix: Option<Prefix>,
|
||||
document: &Document,
|
||||
) -> DomRoot<HTMLTableDataCellElement> {
|
||||
Node::reflect_node(
|
||||
Box::new(HTMLTableDataCellElement::new_inherited(
|
||||
local_name, prefix, document
|
||||
local_name, prefix, document,
|
||||
)),
|
||||
document,
|
||||
HTMLTableDataCellElementBinding::Wrap
|
||||
HTMLTableDataCellElementBinding::Wrap,
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue