servo/tests/wpt/css-tests/css-gcpm-3_dev/html/leader-002.htm

35 lines
No EOL
1 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html><head>
<meta charset="utf-8">
<title>CSS Test: GCPM String Leader</title>
<link href="mailto:dauwhe@gmail.com" rel="author" title="Dave Cramer">
<link href="http://www.w3.org/TR/css-gcpm-3/#string-leader" rel="help">
<meta content="paged" name="flags">
<meta content="Test checks that a custom character leader is implemented" name="assert">
<style>
p.run-in { display: run-in; }
p.source-rw::before {
content: leader('~ ');
}
</style>
</head>
<body>
<p>Test passes if there are ~ characters between the end of the text and Ahabs name</p>
<blockquote>
<p class="run-in">“Towards thee I roll, thou all-destroying but unconquering whale; to the last I grapple with thee; from hells heart I stab at thee; for hates sake I spit my last breath at thee. Sink all coffins and all hearses to one common pool! and since neither can be mine, let me then tow to pieces, while still chasing thee, though tied to thee, thou damned whale! THUS, I give up the spear!”</p>
<p class="source-rw">Ahab</p>
</blockquote>
</body></html>