mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
It was removed from the spec and it's disabled everywhere.
This also removes the meta viewport support (which was implemented on top), but that also had a single test and is disabled everywhere, so I'm not too concerned, it can be implemented again if / when needed.
This commit is contained in:
parent
7412e28349
commit
349edff768
34 changed files with 35 additions and 1139 deletions
|
@ -9,7 +9,6 @@ use crate::dom::bindings::num::Finite;
|
|||
use crate::dom::bindings::root::{Dom, DomRoot};
|
||||
use crate::dom::element::Element;
|
||||
use crate::dom::htmlelement::HTMLElement;
|
||||
use crate::dom::htmlmetaelement::HTMLMetaElement;
|
||||
use crate::dom::node::{self, Node, VecPreOrderInsertionHelper};
|
||||
use crate::dom::window::Window;
|
||||
use crate::stylesheet_set::StylesheetSetRef;
|
||||
|
@ -226,13 +225,7 @@ impl DocumentOrShadowRoot {
|
|||
insertion_point: Option<StyleSheetInDocument>,
|
||||
style_shared_lock: &StyleSharedRwLock,
|
||||
) {
|
||||
// FIXME(emilio): It'd be nice to unify more code between the elements
|
||||
// that own stylesheets, but StylesheetOwner is more about loading
|
||||
// them...
|
||||
debug_assert!(
|
||||
owner.as_stylesheet_owner().is_some() || owner.is::<HTMLMetaElement>(),
|
||||
"Wat"
|
||||
);
|
||||
debug_assert!(owner.as_stylesheet_owner().is_some(), "Wat");
|
||||
|
||||
let sheet = StyleSheetInDocument {
|
||||
sheet,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue