mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Move the user agent and user stylesheets to layout_thread.
This commit is contained in:
parent
f84e01ecaf
commit
992391d6ad
9 changed files with 78 additions and 95 deletions
|
@ -9,7 +9,6 @@ use selector_impl::{attr_exists_selector_is_shareable, attr_equals_selector_is_s
|
|||
use selectors::parser::{ParserContext, SelectorImpl, AttrSelector};
|
||||
use std::fmt;
|
||||
use string_cache::{Atom, WeakAtom, Namespace, WeakNamespace};
|
||||
use stylesheets::Stylesheet;
|
||||
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
pub struct GeckoSelectorImpl;
|
||||
|
@ -252,14 +251,4 @@ impl GeckoSelectorImpl {
|
|||
pub fn pseudo_class_state_flag(pc: &NonTSPseudoClass) -> ElementState {
|
||||
pc.state_flag()
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub fn get_user_or_user_agent_stylesheets() -> &'static [Stylesheet] {
|
||||
&[]
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub fn get_quirks_mode_stylesheet() -> Option<&'static Stylesheet> {
|
||||
None
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue