mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +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
|
@ -1,3 +1,4 @@
|
|||
|
||||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
@ -11,6 +12,7 @@ use layout_interface::{ContentBoxQuery, ContentBoxResponse};
|
|||
use servo_net::image_cache_task;
|
||||
use servo_net::image_cache_task::ImageCacheTask;
|
||||
use servo_util::url::make_url;
|
||||
use servo_util::tree::ElementLike;
|
||||
|
||||
pub struct HTMLImageElement {
|
||||
htmlelement: HTMLElement,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue