summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/semantics/document-metadata/the-link-element/link-type-attribute.html
blob: 80acb9f3dcc2d312fd8a8051b92e6e70ca343bb3 (plain)
1
2
3
4
5
6
7
8
9
<!DOCTYPE html>
<link rel=match href=link-type-attribute-ref.html>
<link rel="stylesheet" type="application/javascript" href="data:text/css,div { background-color: red !important; }">
<link rel="stylesheet" type="ABCtext/css" href="data:text/css,div { background-color: red !important; }">
<link rel="stylesheet" type="text/cssDEF" href="data:text/css,div { background-color: red !important; }">
<link rel="stylesheet" type="text/invalid" href="data:text/css,div { background-color: red !important; }">
<link rel="stylesheet" type="invalid" href="data:text/css,div { background-color: red !important; }">
<p>You should see a green rectangle below</p>
<div style="width:100px;height:100px;background-color:green"></div>