Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 659a9e578eb17fa5e758a10bccdfce411d9ddfc8
      
https://github.com/WebKit/WebKit/commit/659a9e578eb17fa5e758a10bccdfce411d9ddfc8
  Author: Ahmad Saleem <[email protected]>
  Date:   2026-03-17 (Tue, 17 Mar 2026)

  Changed paths:
    A LayoutTests/media/track/track-cue-text-decoration-expected.txt
    A LayoutTests/media/track/track-cue-text-decoration.html
    M Source/WebCore/style/PropertyAllowlist.cpp

  Log Message:
  -----------
  [WebVTT] Support text-decoration-{text,color,style} on CSS ::cue 
pseudo-element
https://bugs.webkit.org/show_bug.cgi?id=118915
rdar://172728187

Reviewed by Eric Carlson.

The ::cue pseudo-element spec [1] defines that the properties
corresponding to the text-decoration shorthand apply to ::cue.
Previously only text-decoration-line was allowed. Add the missing
text-decoration-color, text-decoration-style and
text-decoration-thickness properties to the ::cue and ::cue()
allowlists.

[1] https://w3c.github.io/webvtt/#the-cue-pseudo-element

* LayoutTests/media/track/track-cue-text-decoration-expected.txt: Added.
* LayoutTests/media/track/track-cue-text-decoration.html: Added.
* Source/WebCore/style/PropertyAllowlist.cpp:
(WebCore::Style::isValidCueStyleProperty):
(WebCore::Style::isValidCueSelectorStyleProperty):

Canonical link: https://commits.webkit.org/309425@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to