It defaults to 0, meaning that only a fill is performed. Text-stroke-width – This property allows you to specify the width of the stroke. If it is not set, then the color property will be used to do the stroke. Text-stroke-color – This property allows you to specify a stroke color for text. If it is not set, then the color property will be used to do the fill. Text-fill-color – This property allows you to specify a fill color for text.
I have introduced four new properties to CSS to support the stroking of text: By stroking text and not filling the interior at all, you can achieve an outline effect (this option exists in TextEdit for example and in OS X text field context menus). Sometimes authors may want to stroke the edges of the glyphs with one color, and fill with a different color. In existing Web pages today, the glyphs that are drawn for text are always filled with a single color, specified by the color CSS property. WebKit now supports stroking of text via CSS.