prettier/tests/html_comments/conditional.html

71 lines
1.6 KiB
HTML

<!DOCTYPE html>
<html>
<body>
<!--[if IE 5]>This is IE 5<br><![endif]-->
<!--[if IE 6]>This is IE 6<br><![endif]-->
<!--[if IE 7]>This is IE 7<br><![endif]-->
<!--[if IE 8]>This is IE 8<br><![endif]-->
<!--[if IE 9]>This is IE 9<br><![endif]-->
</body>
</html>
<!DOCTYPE html>
<!--[if lt IE 9]><html lang="zh-CN"><![endif]-->
<html lang="zh-CN">
<head></head>
<body></body>
</html>
<!DOCTYPE html>
<!--[if lt IE 9]><html lang="zh-CN"><div><![endif]-->
<html lang="zh-CN">
<head></head>
<body></body>
</html>
<!DOCTYPE html>
<!--[if lt IE 9]><html lang="zh-CN"><div></div><![endif]-->
<html lang="zh-CN">
<head></head>
<body></body>
</html>
<body width="100%" align="center">
<center >
<!--[if (gte mso 9)|(IE)]><table cellpadding="0" cellspacing="0" border="0" width="600" align="center"><tr><td><![endif]-->
<div> </div>
<!--[if (gte mso 9)|(IE)]></td></tr></table><![endif]-->
</center >
</body>
<!DOCTYPE html>
<!--[if lt IE 9]><html class="legacy-ie"><![endif]-->
<!--[if gte IE 9]><!--><html><!--<![endif]-->
<head></head>
<body></body>
</html>
<!DOCTYPE html>
<!--[if lt IE 9]><html class="legacy-ie"><![endif]-->
<!--[if gte IE 9]><!--><html hello><!--<![endif]-->
<head></head>
<body></body>
</html>
<!DOCTYPE html>
<!--[if lt IE 9]><html class="legacy-ie"><head><![endif]-->
<!--[if gte IE 9]><!--><html><head><!--<![endif]-->
</head>
<body></body>
</html>
<!DOCTYPE html>
<!--[if lt IE 9]><html class="legacy-ie"><![endif]-->
<!--[if gte IE 9
]><!--><html><!--<![endif]-->
<head></head>
<body></body>
</html>