mirror of
https://github.com/servo/servo.git
synced 2025-08-11 00:15:32 +01:00
Format style component.
This commit is contained in:
parent
31fc6cd565
commit
8dab4d659a
120 changed files with 2207 additions and 1417 deletions
|
@ -60,7 +60,8 @@ where
|
|||
E: TElement,
|
||||
S: ToMediaListKey,
|
||||
{
|
||||
let flusher = self.stylesheets
|
||||
let flusher = self
|
||||
.stylesheets
|
||||
.flush::<E>(/* host = */ None, /* snapshot_map = */ None);
|
||||
|
||||
if flusher.sheets.dirty() {
|
||||
|
@ -68,7 +69,8 @@ where
|
|||
}
|
||||
|
||||
// Ignore OOM.
|
||||
let _ = self.data
|
||||
let _ = self
|
||||
.data
|
||||
.rebuild(device, quirks_mode, flusher.sheets, guard);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue