Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<meta charset="utf-8">
<title>webkit-text-stroke: 2px green</title>
<link rel="author" title="Jeremy Chen" href="">
<link rel="author" title="Mozilla" href="">
<meta name="assert" content="webkit-text-stroke-color should take effect">
<link rel="match" href="webkit-text-stroke-property-005-ref.html">
text {
padding-left: 0px;
color: red;
font-size: 64px;
-webkit-text-fill-color: transparent;
-webkit-text-stroke: 2px green;
<div style="width: 500px; height: 200px;">
<text>TEXT stroke</text>
<!-- need this inline-block to make sure text is rendered at the same position as the SVG reference -->
<div style="display:inline-block; width:0px; height:100px;"/>