Bug 17096
Summary: | CSS: Stroking and filling of text | ||
---|---|---|---|
Product: | WebKit | Reporter: | Nicholas Shanks <nickshanks> |
Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED INVALID | ||
Severity: | Enhancement | CC: | bfulgham |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Mac | ||
OS: | OS X 10.5 |
Nicholas Shanks
When stroking and filling text, it would be nice if we could choose which operation occurs first, the stroke or the fill. How about a css rule to decide that:
-webkit-text-stroke-order: (stroke-fill | fill-stroke);
stroke-fill: would cause the stroke to be performed first, so that the stroke only lay outside of the glyph bounds.
fill-stroke: would cause the fill to be first, and the stroke would then appear to eat into the glyph shape.
alternative values, in case the above get confusing or might be hard to read: fill-first and stroke-first
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Brent Fulgham
This should be discussed with the relevant CSS working groups.