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:
Boris Zbarsky 2017-06-26 23:29:18 -07:00
parent d40e27d6e5
commit 746f245f32
3 changed files with 63 additions and 7 deletions

View file

@ -2654,6 +2654,8 @@ extern "C" {
pub fn Servo_ResolvePseudoStyle(element: RawGeckoElementBorrowed,
pseudo_type: CSSPseudoElementType,
is_probe: bool,
inherited_style:
ServoComputedValuesBorrowedOrNull,
set: RawServoStyleSetBorrowed)
-> ServoComputedValuesStrong;
}