mirror of
https://github.com/servo/servo.git
synced 2025-06-21 15:49:04 +01:00
Move Element::get_attr to a trait defined in util::tree
… and add a get_local_name() method to that trait.
This commit is contained in:
parent
f38b4ab9bb
commit
62f1f03c16
10 changed files with 32 additions and 13 deletions
|
@ -24,7 +24,7 @@ use html::hubbub_html_parser::build_element_from_tag;
|
|||
use js::jsapi::{JSObject, JSContext, JSVal};
|
||||
use js::jsapi::{JSTRACE_OBJECT, JSTracer, JS_CallTracer};
|
||||
use js::glue::RUST_OBJECT_TO_JSVAL;
|
||||
use servo_util::tree::TreeNodeRef;
|
||||
use servo_util::tree::{TreeNodeRef, ElementLike};
|
||||
|
||||
use std::hashmap::HashMap;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue