mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
This reverts commit 8e15389cae
.
This commit is contained in:
parent
8e15389cae
commit
d6ae8dc112
152 changed files with 4622 additions and 5862 deletions
|
@ -361,13 +361,7 @@ pub fn process_resolved_style_request_for_unstyled_node<'dom>(
|
|||
};
|
||||
|
||||
let element = node.as_element().unwrap();
|
||||
let styles = resolve_style(
|
||||
&mut context,
|
||||
element,
|
||||
RuleInclusion::All,
|
||||
pseudo.as_ref(),
|
||||
None,
|
||||
);
|
||||
let styles = resolve_style(&mut context, element, RuleInclusion::All, pseudo.as_ref());
|
||||
let style = styles.primary();
|
||||
let longhand_id = match *property {
|
||||
PropertyId::LonghandAlias(id, _) | PropertyId::Longhand(id) => id,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue