Files

44 lines
1.1 KiB
HTML

<!doctype html>
<html>
<head>
<!-- This page has the string "style" wherever it seemed valid -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
div {
margin: 0;
padding: 0;
}
.foo {
color: #f00;
}
#myDiv {
display: block;
}</style>
<title>embedded-styles test page</title>
<style type="text/css">
pre { display: block; padding: 8.5px; margin: 0 0 9px; font-size: 12px; line-height: 18px; background-color: #f5f5f5; border: 1px solid #ccc; border: 1px solid rgba(0, 0, 0, 0.15); -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; white-space: pre; white-space: pre-wrap; word-break: break-all; }
</style>
<link href="bootstrap.css" rel="stylesheet" type="text/css" />
<style>
footer .message #text { color: #369; }
.style:hover { color: #963; }
div[data-style='style'] {
background-color: tan;
content: "style";
}
</style><style>
body {
color: red;
}
</style>
</head>
<body>
<!-- should not find <style> tags in comments -->
<p>Should not find encoded &lt;style&gt; tag</p>
</body>
</html>