mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Add a test for stylesheet links with an empty href.
This commit is contained in:
parent
ebbf9fd4d5
commit
c69ce9deef
5 changed files with 51 additions and 0 deletions
|
@ -0,0 +1,3 @@
|
|||
body {
|
||||
color: red;
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset=utf-8>
|
||||
<title>Test</title>
|
||||
<style>
|
||||
body {
|
||||
color: green;
|
||||
}
|
||||
</style>
|
||||
<p>This text should be green.
|
|
@ -0,0 +1,12 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset=utf-8>
|
||||
<title>Test</title>
|
||||
<link rel=match href=stylesheet-empty-href-ref.html>
|
||||
<style>
|
||||
body {
|
||||
color: green;
|
||||
}
|
||||
</style>
|
||||
<base href=resources/empty-href.css>
|
||||
<link rel=stylesheet href>
|
||||
<p>This text should be green.
|
Loading…
Add table
Add a link
Reference in a new issue