| dauwhe | 22bca46 | 2014-01-27 02:29:25 | [diff] [blame] | 1 | <!DOCTYPE html> |
| 2 | <html> | ||||
| 3 | <head> | ||||
| Ms2ger | a3abee1 | 2015-11-19 16:32:11 | [diff] [blame] | 4 | <meta charset="utf-8"> |
| dauwhe | 22bca46 | 2014-01-27 02:29:25 | [diff] [blame] | 5 | <title>CSS Test: GCPM string-set with multiple assignments</title> |
| Dave Cramer | d11a5ad | 2014-08-05 14:52:28 | [diff] [blame] | 6 | <link rel="author" title="Dave Cramer" href="mailto:dauwhe@gmail.com"> |
| Rebecca Hauck | 3c91bbd | 2014-08-06 23:49:50 | [diff] [blame] | 7 | <link rel="help" href="http://www.w3.org/TR/css-gcpm-3/#setting-named-strings-the-string-set-pro"> |
| dauwhe | 22bca46 | 2014-01-27 02:29:25 | [diff] [blame] | 8 | <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 Sneddon | 55a4412 | 2015-12-07 15:39:51 | [diff] [blame^] | 13 | content: string(center); |
| dauwhe | 22bca46 | 2014-01-27 02:29:25 | [diff] [blame] | 14 | } |
| 15 | @top-left { | ||||
| Geoffrey Sneddon | 55a4412 | 2015-12-07 15:39:51 | [diff] [blame^] | 16 | content: string(left); |
| dauwhe | 22bca46 | 2014-01-27 02:29:25 | [diff] [blame] | 17 | } |
| Geoffrey Sneddon | 55a4412 | 2015-12-07 15:39:51 | [diff] [blame^] | 18 | @top-right {content: |
| 19 | string(right); | ||||
| dauwhe | 22bca46 | 2014-01-27 02:29:25 | [diff] [blame] | 20 | } |
| 21 | } | ||||
| Geoffrey Sneddon | 55a4412 | 2015-12-07 15:39:51 | [diff] [blame^] | 22 | |
| dauwhe | 22bca46 | 2014-01-27 02:29:25 | [diff] [blame] | 23 | h1 { |
| Geoffrey Sneddon | 55a4412 | 2015-12-07 15:39:51 | [diff] [blame^] | 24 | string-set: left content(), right content(), center content(first-letter); |
| dauwhe | 22bca46 | 2014-01-27 02:29:25 | [diff] [blame] | 25 | } |
| Geoffrey Sneddon | 55a4412 | 2015-12-07 15:39:51 | [diff] [blame^] | 26 | |
| dauwhe | 22bca46 | 2014-01-27 02:29:25 | [diff] [blame] | 27 | </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> | ||||
| Ms2ger | a3abee1 | 2015-11-19 16:32:11 | [diff] [blame] | 33 | </html> |