mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Pass the document instead of the documentElement to reflow.
This commit is contained in:
parent
85596b5510
commit
441c84d75d
5 changed files with 51 additions and 26 deletions
|
@ -174,7 +174,7 @@ pub struct ScriptReflow {
|
|||
/// General reflow data.
|
||||
pub reflow_info: Reflow,
|
||||
/// The document node.
|
||||
pub document_root: TrustedNodeAddress,
|
||||
pub document: TrustedNodeAddress,
|
||||
/// The channel through which messages can be sent back to the script task.
|
||||
pub script_chan: Sender<ConstellationControlMsg>,
|
||||
/// The current window size.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue