mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Fix up script and layout.
This commit is contained in:
parent
d78ca4c4f9
commit
7b0679848b
49 changed files with 99 additions and 85 deletions
|
@ -25,7 +25,7 @@ use style::stylesheets::Stylesheet;
|
|||
/// Asynchronous messages that script can send to layout.
|
||||
pub enum Msg {
|
||||
/// Adds the given stylesheet to the document.
|
||||
AddStylesheet(Arc<Stylesheet>),
|
||||
AddStylesheet(::style::stylearc::Arc<Stylesheet>),
|
||||
|
||||
/// Change the quirks mode.
|
||||
SetQuirksMode(QuirksMode),
|
||||
|
@ -116,7 +116,7 @@ pub struct ScriptReflow {
|
|||
/// The document node.
|
||||
pub document: TrustedNodeAddress,
|
||||
/// The document's list of stylesheets.
|
||||
pub document_stylesheets: Vec<Arc<Stylesheet>>,
|
||||
pub document_stylesheets: Vec<::style::stylearc::Arc<Stylesheet>>,
|
||||
/// Whether the document's stylesheets have changed since the last script reflow.
|
||||
pub stylesheets_changed: bool,
|
||||
/// The current window size.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue