mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
style: Allow styles to be computed ignoring existing element data.
This commit is contained in:
parent
4f525f6fa0
commit
bb44c0a6bc
6 changed files with 17 additions and 12 deletions
|
@ -702,7 +702,7 @@ pub fn process_resolved_style_request<'a, N>(context: &LayoutContext,
|
|||
thread_local: &mut tlc,
|
||||
};
|
||||
|
||||
let styles = resolve_style(&mut context, element, RuleInclusion::All);
|
||||
let styles = resolve_style(&mut context, element, RuleInclusion::All, false);
|
||||
let style = styles.primary();
|
||||
let longhand_id = match *property {
|
||||
PropertyId::Longhand(id) => id,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue