strings-000

Newlines in strings

WeasyPrint

This browser

Source

 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
 2 <html>
 3  <head>
 4   <title>CSS Test: Newlines in strings</title>
 5   <link rel="author" title="Boris Zbarsky" href="mailto:bzbarsky@mit.edu">
 6   <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#strings">
 7   <style type="text/css">
 8     p { color: red }
 9     p[title="this is\
10  a test"] { color: green }
11   </style>
12  </head>
13  <body>
14   <p title="this is a test">This should be green</p>
15  </body>
16 </html>