blob: 8a685974b12f3386cc3034f10bc01604bb3778ad [file] [log] [blame]
dauwhe22bca462014-01-27 02:29:251<!DOCTYPE html>
2<html>
3<head>
Ms2gera3abee12015-11-19 16:32:114<meta charset="utf-8">
dauwhe22bca462014-01-27 02:29:255<title>CSS Test: GCPM string-set with multiple assignments</title>
Dave Cramerd11a5ad2014-08-05 14:52:286<link rel="author" title="Dave Cramer" href="mailto:dauwhe@gmail.com">
Rebecca Hauck3c91bbd2014-08-06 23:49:507<link rel="help" href="http://www.w3.org/TR/css-gcpm-3/#setting-named-strings-the-string-set-pro">
dauwhe22bca462014-01-27 02:29:258<meta name="flags" content="paged">
9<meta name="assert" content="Test checks that several named string can be set on a single element">
10<style>
11 @page {
12 @top-center {
Geoffrey Sneddon55a44122015-12-07 15:39:5113 content: string(center);
dauwhe22bca462014-01-27 02:29:2514 }
15 @top-left {
Geoffrey Sneddon55a44122015-12-07 15:39:5116 content: string(left);
dauwhe22bca462014-01-27 02:29:2517 }
Geoffrey Sneddon55a44122015-12-07 15:39:5118 @top-right {content:
19 string(right);
dauwhe22bca462014-01-27 02:29:2520 }
21 }
Geoffrey Sneddon55a44122015-12-07 15:39:5122
dauwhe22bca462014-01-27 02:29:2523 h1 {
Geoffrey Sneddon55a44122015-12-07 15:39:5124 string-set: left content(), right content(), center content(first-letter);
dauwhe22bca462014-01-27 02:29:2525 }
Geoffrey Sneddon55a44122015-12-07 15:39:5126
dauwhe22bca462014-01-27 02:29:2527</style>
28</head>
29<body>
30<h1>Chapter Title</h1>
31<p>Test passes if “Chapter Title” appears in both the left and right running heads, and “C” appears in the center running head.</p>
32</body>
Ms2gera3abee12015-11-19 16:32:1133</html>