mirror of
https://github.com/servo/servo.git
synced 2025-08-13 17:35:36 +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
|
@ -6682,6 +6682,13 @@ pub mod root {
|
|||
#[repr(i32)]
|
||||
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
|
||||
pub enum LengthParsingMode { Default = 0, SVG = 1, }
|
||||
#[repr(i32)]
|
||||
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
|
||||
pub enum InheritTarget {
|
||||
Text = 0,
|
||||
FirstLetterContinuation = 1,
|
||||
PlaceholderFrame = 2,
|
||||
}
|
||||
pub type CSSPseudoElementTypeBase = u8;
|
||||
pub const CSSPseudoElementType_InheritingAnonBox:
|
||||
root::mozilla::CSSPseudoElementType =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue