mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Expose two new helpers and start using them as much as possible. - `NodeTraits::owner_global`: which gets the `GlobalScope` that currenty owns a `Node`. This may be different than `.global()` in the case that the `Node` was adopted by a different `Document`. - `Window::as_global_scope`: A helper to avoid having to cast so much when treating a `Window` like a `GlobalScope`. Signed-off-by: Martin Robinson <mrobinson@igalia.com> |
||
---|---|---|
.. | ||
async_html.rs | ||
html.rs | ||
mod.rs | ||
prefetch.rs | ||
xml.rs |