mirror of
https://github.com/servo/servo.git
synced 2025-08-25 07:08:21 +01:00
Bug 1360508: Adjust text-combine properly. r=jryans
Text style is always resolved via ServoStyleSet::ResolveStyleForText, either from the frame constructor initially, or from ServoRestyleManager::ProcessPostTraversalForText. So text-only adjustments should go there instead. Since that doesn't call into cascade(), all the code that passes `pseudo` there is dead code we can remove. MozReview-Commit-ID: jpbBYpLlUL Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
This commit is contained in:
parent
ad87d36a69
commit
5cbc6a9b16
11 changed files with 95 additions and 63 deletions
|
@ -461,7 +461,6 @@ fn compute_style_for_animation_step(context: &SharedStyleContext,
|
|||
let computed =
|
||||
properties::apply_declarations(&context.stylist.device,
|
||||
/* is_root = */ false,
|
||||
/* pseudo = */ None,
|
||||
iter,
|
||||
previous_style,
|
||||
previous_style,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue