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 22149 - [WebVTT] text-outline no longer mentioned in CSS3 draft
Summary: [WebVTT] text-outline no longer mentioned in CSS3 draft
Alias: None
Product: TextTracks CG
Classification: Unclassified
Component: WebVTT (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Philip Jägenstedt
QA Contact: This bug has no owner yet - up for the taking
Whiteboard: v1
Depends on:
Reported: 2013-05-23 09:27 UTC by Caitlin Potter (:caitp)
Modified: 2014-01-28 07:46 UTC (History)
4 users (show)

See Also:


Description Caitlin Potter (:caitp) 2013-05-23 09:27:48 UTC
According to John Dagget ( ), the `text-outline` property is no longer found in the CSS3 draft, and it's not clear whether or not it continues to be an intended property.

I admit I'm not terribly familiar with the CSS3 draft, but it seems like something worth bringing up here.
Comment 1 Silvia Pfeiffer 2013-05-24 01:03:55 UTC
Thanks, yes, it should be removed and the CSS property list updated.
Comment 2 Glenn Maynard 2013-05-29 00:56:32 UTC
I brought this up before at  If CSS won't have it then WebVTT needs to define it for its own use.  Text strokes are a widely-used text styling for captions, since it's the best available way of ensuring captions are visible on all backgrounds without making them unacceptably ugly and intrusive, as WebVTT's current default does.

I don't know why it was removed from the CSS spec.

(In reply to comment #1)
> Thanks, yes, it should be removed and the CSS property list updated.

It should definitely not be removed, though perhaps renamed to something namespaced to WebVTT, like webvtt-text-outline, to avoid conflicts later if it's added back to CSS.
Comment 3 Philip Jägenstedt 2014-01-28 05:49:37 UTC
Given that the property isn't in a spec and not implemented anywhere, I see nothing to do but remove it from WebVTT:

I agree with Glenn that this feature is important for WebVTT, but we're going to have to actually do the hard work of getting it into a CSS spec first.
Comment 4 Silvia Pfeiffer 2014-01-28 06:54:11 UTC
You can use text-shadow for now. An example outline is shown here that needs 4 shadows: .
It's clunky, but that's all CSS can offer for now.

text-stroke is another options, but it's apparently not standardised yet: .
Comment 5 Philip Jägenstedt 2014-01-28 07:16:13 UTC
This bug is now resolved as fixed. If someone wants some other (new?) property added to the whitelist, please file a new bug.
Comment 6 Philip Jägenstedt 2014-01-28 07:20:23 UTC
Here's a link I got from Tab Atkins for anyone who wants to jump in on the standardization of this feature on the CSS side: