This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 22706 - [WebVTT] Support text-decoration-{text,color,style} on CSS ::cue pseudo-element
Summary: [WebVTT] Support text-decoration-{text,color,style} on CSS ::cue pseudo-element
Status: RESOLVED FIXED
Alias: None
Product: TextTracks CG
Classification: Unclassified
Component: WebVTT (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Silvia Pfeiffer
QA Contact: This bug has no owner yet - up for the taking
URL:
Whiteboard: v2
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-17 03:11 UTC by Bruno de Oliveira Abinader
Modified: 2015-10-24 14:15 UTC (History)
3 users (show)

See Also:


Attachments

Description Bruno de Oliveira Abinader 2013-07-17 03:11:38 UTC
hange description:
The CSS ::cue pseudo-element is defined on WebVTT [1] specification as part of the HTML5 <track> element specification. It has been implemented on  issue 168206  and currently provides support for "text-decoration" property as valid appliance. This issue intends to incrementally add support for the following properties:

- text-decoration-line
- text-decoration-style
- text-decoration-color

These properties are specified on the CSS3 Text Decoration [2] specification and are currently implemented behind a runtime flag (see issue 239225 for details).

Links:
[1] http://dev.w3.org/html5/webvtt/#the-cue-pseudo-element
[2] http://dev.w3.org/csswg/css-text-decor-3
Comment 1 Bruno de Oliveira Abinader 2013-07-17 03:12:50 UTC
(text copied from Chromium issue 260993):
https://code.google.com/p/chromium/issues/detail?id=260993
Comment 2 Silvia Pfeiffer 2013-07-18 11:20:20 UTC
I suppose given Mozilla and WebKit and blink have partial support for these, it is fairly likely that these are here to stay.

I don't really see a reason not to add them, since they provide more features for formatting caption/subtitle text.
Comment 3 Bruno de Oliveira Abinader 2013-07-19 17:01:51 UTC
That's good to know, Silvia! So can I expect these to be added to the specification soon? Also worth mentioning about the 'text-decoration' as a shorthand property, as proposed by CSS Level 3 Text Decoration specification, which changes the behavior of current 'text-decoration' implementation.

Saying this, a patch has been proposed for Blink [1], and I'm currently working on backporting it for WebKit.

Links:
[1] https://src.chromium.org/viewvc/blink?revision=154500&view=revision