mirror of
https://github.com/servo/servo.git
synced 2025-06-28 11:03:39 +01:00
style: Remove invalid assertion.
We can look at stale styles while trying to figure out if we need any invalidation, and that's ok. Bug: 1449243 MozReview-Commit-ID: 4mBIFNm9qJv
This commit is contained in:
parent
ea5417b29c
commit
35a1a30f6b
1 changed files with 0 additions and 1 deletions
|
@ -181,7 +181,6 @@ impl<'lr> TShadowRoot for GeckoShadowRoot<'lr> {
|
||||||
|
|
||||||
let author_styles = AuthorStyles::<GeckoStyleSheet>::from_ffi(author_styles);
|
let author_styles = AuthorStyles::<GeckoStyleSheet>::from_ffi(author_styles);
|
||||||
|
|
||||||
debug_assert!(!author_styles.stylesheets.dirty());
|
|
||||||
debug_assert!(
|
debug_assert!(
|
||||||
author_styles.quirks_mode == self.as_node().owner_doc().quirks_mode() ||
|
author_styles.quirks_mode == self.as_node().owner_doc().quirks_mode() ||
|
||||||
author_styles.stylesheets.is_empty()
|
author_styles.stylesheets.is_empty()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue