Reacting to environment changes

This commit is contained in:
paavininanda 2018-07-22 15:48:43 +05:30
parent 73459d5b36
commit 2de300d49c
13 changed files with 308 additions and 1935 deletions

View file

@ -1853,6 +1853,7 @@ impl Window {
mql.Matches());
event.upcast::<Event>().fire(mql.upcast::<EventTarget>());
}
self.Document().react_to_environment_changes();
}
/// Slow down/speed up timers based on visibility.