Open Bug 875213 Opened 11 years ago Updated 2 years ago

implement text-outline

Categories

(Core :: CSS Parsing and Computation, defect)

defect

Tracking

()

REOPENED

People

(Reporter: rillian, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: dev-doc-needed)

There's been little interest in outline font rendering, but text-outline is one of the supported CSS properties in the WebVTT spec, and US a11y regulations require an outline font style be available.

This bug is about implementing text-outline or something equivalent for WebVTT purposes.
I don't think we should implement a 'text-outline' property, the types of effects you need would be better covered by 'text-stroke' and 'text-fill' properties.  That's a  better, more general model I think.

The 'text-outline' property was in CSS3 Text but it's no longer there, I'm not sure if it's been dropped completely or lives on the in the mind of the spec editors.  I think in this case it should be dropped from the WebVTT spec since it's not an existing CSS property.

What does "US a11y regulations require an outline font style be available" mean?  Just that there needs to be a way of having text that contrasts with the background?
Component: Graphics: Text → CSS Parsing and Computation
OS: Mac OS X → All
Hardware: x86 → All
Text-stroke would probably work fine. As Cameron pointed out, you really want the stroke to happen after the fill, if you can't otherwise control it.

The general requirement is that some sort of outline font rendering be selectable. I don't care what css property we end up using for that, text-outline is just what the webvtt spec currently specifies.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
Status: RESOLVED → REOPENED
Resolution: WONTFIX → ---

Is this still relevant? We have -webkit-text-stroke (see bug 1248708 and dependencies), and also paint-order (bug 1435684), which AFAICS should provide the functionality that's requested here.

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.