mirror of
https://github.com/servo/servo.git
synced 2025-06-19 14:48:59 +01:00
Rename the element field of the DOM Node hierarchy
Renamed htmlelement, and element Fixes #924
This commit is contained in:
parent
0ca4c19b57
commit
2dbd065d91
77 changed files with 347 additions and 312 deletions
|
@ -570,7 +570,7 @@ impl Node<ScriptView> {
|
|||
for node in abstract_self.traverse_preorder() {
|
||||
if node.is_text() {
|
||||
do node.with_imm_text() |text| {
|
||||
let s = text.parent.Data();
|
||||
let s = text.element.Data();
|
||||
content = content + null_str_as_empty(&s);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue