mirror of
https://github.com/servo/servo.git
synced 2025-09-04 03:58:23 +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
|
@ -54,6 +54,13 @@ pub struct Stylesheet {
|
|||
}
|
||||
|
||||
|
||||
/// This structure holds the user-agent and user stylesheets.
|
||||
pub struct UserAgentStylesheets {
|
||||
pub user_or_user_agent_stylesheets: Vec<Stylesheet>,
|
||||
pub quirks_mode_stylesheet: Stylesheet,
|
||||
}
|
||||
|
||||
|
||||
#[derive(Debug, PartialEq)]
|
||||
#[cfg_attr(feature = "servo", derive(HeapSizeOf))]
|
||||
pub enum CSSRule {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue