mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
cangc fixes in node.rs (#33984)
Signed-off-by: L Ashwin B <lashwinib@gmail.com>
This commit is contained in:
parent
3ed778150f
commit
bb4932026c
97 changed files with 1038 additions and 534 deletions
|
@ -22,6 +22,7 @@ use crate::dom::htmltablerowelement::HTMLTableRowElement;
|
|||
use crate::dom::htmltablesectionelement::HTMLTableSectionElement;
|
||||
use crate::dom::node::{LayoutNodeHelpers, Node};
|
||||
use crate::dom::virtualmethods::VirtualMethods;
|
||||
use crate::script_runtime::CanGc;
|
||||
|
||||
const DEFAULT_COLSPAN: u32 = 1;
|
||||
const DEFAULT_ROWSPAN: u32 = 1;
|
||||
|
@ -48,6 +49,7 @@ impl HTMLTableCellElement {
|
|||
prefix: Option<Prefix>,
|
||||
document: &Document,
|
||||
proto: Option<HandleObject>,
|
||||
can_gc: CanGc,
|
||||
) -> DomRoot<HTMLTableCellElement> {
|
||||
let n = Node::reflect_node_with_proto(
|
||||
Box::new(HTMLTableCellElement::new_inherited(
|
||||
|
@ -55,6 +57,7 @@ impl HTMLTableCellElement {
|
|||
)),
|
||||
document,
|
||||
proto,
|
||||
can_gc,
|
||||
);
|
||||
|
||||
n.upcast::<Node>().set_weird_parser_insertion_mode();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue