blob: ed482d95bff3edd8149e5d30e872935ebb0d2586 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<!DOCTYPE html>
<html>
<meta charset="utf-8">
<title>webkit-text-stroke: 2px green</title>
<link rel="author" title="Jeremy Chen" href="jeremychen@mozilla.com">
<link rel="author" title="Mozilla" href="https://www.mozilla.org">
<link rel="help" href="https://compat.spec.whatwg.org/#the-webkit-text-stroke">
<meta name="assert" content="The webkit-text-stroke of texts should take effect">
<link rel="match" href="webkit-text-stroke-property-001-ref.html">
<body>
<div style="width: 500px; height: 200px;">
<text style="padding-left: 0px; color: transparent; font-size: 64px; -webkit-text-stroke: 2px green;">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;"/>
</div>
<body>
<html>
|