mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Make Stylist::quirks_mode hold a QuirksMode
This commit is contained in:
parent
8f1356de60
commit
f872fdac9a
4 changed files with 15 additions and 12 deletions
|
@ -542,7 +542,7 @@ impl Document {
|
|||
self.quirks_mode.set(mode);
|
||||
|
||||
if mode == QuirksMode::Quirks {
|
||||
self.window.layout_chan().send(Msg::SetQuirksMode).unwrap();
|
||||
self.window.layout_chan().send(Msg::SetQuirksMode(mode)).unwrap();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue