haikuwebkit/LayoutTests/fast/html/link-rel-stylesheet.html

17 lines
876 B
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Test for importing styles via incorrect link element</title>
<link type="text/css" href="data:text/css;charset=utf-8,p%23one%20%7Bbackground-color%3A%20red%3B%7D%0D%0A"/>
<link rel="stylesheet" href="data:text/css;charset=utf-8,p%23two%20%7Bbackground-color%3A%20lime%3B%7D%0D%0A"/>
<link href="data:text/css;charset=utf-8,p%23three%20%7Bbackground-color%3A%20red%3B%7D%0D%0A"/>
<link type="text/css" rel="stylesheet" href="data:text/css;charset=utf-8,p%23four%20%7Bbackground-color%3A%20lime%3B%7D%0D%0A"/>
</head>
<body>
<p id="one">This line should not have red background</p>
<p id="two">This line should have lime background</p>
<p id="three">This line should not have red background</p>
<p id="four">This line should have lime background</p>
</body>
</html>