mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Fix style computation for first-letter pseudo-elements with inline ancestors.
We should inherit from the inline, not its parent block. Gecko bug 1324618 part 10 servo bits: https://bugzilla.mozilla.org/show_bug.cgi?id=1324618
This commit is contained in:
parent
d40e27d6e5
commit
746f245f32
3 changed files with 63 additions and 7 deletions
|
@ -2654,6 +2654,8 @@ extern "C" {
|
|||
pub fn Servo_ResolvePseudoStyle(element: RawGeckoElementBorrowed,
|
||||
pseudo_type: CSSPseudoElementType,
|
||||
is_probe: bool,
|
||||
inherited_style:
|
||||
ServoComputedValuesBorrowedOrNull,
|
||||
set: RawServoStyleSetBorrowed)
|
||||
-> ServoComputedValuesStrong;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue