This would be easily doable with a custom TextTransform::ApplyValue (chromium): void TextTransform::ApplyValue(StyleResolverState& state, const CSSValue& value) const { auto text_transform = To<CSSIdentifierValue>(value).ConvertTo<blink::ETextTransform>(); if (text_transform == ETextTransform::kMathAuto && state.ParentStyle()->TextTransform() != ETextTransform::kNone) { ApplyInherit(state); return; } state.Style()->SetTextTransform(text_transform); state.Style()->SetTextTransformIsInherited(false); } -- GitHub Notification of comment by rwlbuis Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5386#issuecomment-678994879 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-configReceived on Monday, 24 August 2020 08:45:27 UTC
This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:13 UTC