mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
style: Tweak the quirks mode while collecting invalidations in XBL stuff.
This commit is contained in:
parent
bb6ff9575d
commit
5723cf7d13
1 changed files with 4 additions and 0 deletions
|
@ -282,6 +282,10 @@ impl<'a, 'b: 'a, E> TreeStyleInvalidator<'a, 'b, E>
|
|||
// just at that map.
|
||||
let _cut_off_inheritance =
|
||||
self.element.each_xbl_stylist(|stylist| {
|
||||
// FIXME(emilio): Replace with assert / remove when we
|
||||
// figure out what to do with the quirks mode mismatches
|
||||
// (that is, when bug 1406875 is properly fixed).
|
||||
collector.quirks_mode = stylist.quirks_mode();
|
||||
stylist.each_invalidation_map(|invalidation_map| {
|
||||
collector.collect_dependencies_in_invalidation_map(invalidation_map);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue