mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Add a test for the base URL of external stylesheets.
This commit is contained in:
parent
946e9f82da
commit
330bab371b
5 changed files with 15 additions and 1 deletions
10
src/test/ref/background_external_stylesheet.html
Normal file
10
src/test/ref/background_external_stylesheet.html
Normal file
|
@ -0,0 +1,10 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title></title>
|
||||
<link rel="stylesheet" href="subdirectory/background_image.css">
|
||||
</head>
|
||||
<body>
|
||||
<div class="test" style="width:200px; height:200px;"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -29,4 +29,5 @@
|
|||
== position_relative_a.html position_relative_b.html
|
||||
== attr_exists_selector.html attr_exists_selector_ref.html
|
||||
== data_img_a.html data_img_b.html
|
||||
== background_a.html background_b.html
|
||||
== background_style_attr.html background_ref.html
|
||||
== background_external_stylesheet.html background_ref.html
|
||||
|
|
3
src/test/ref/subdirectory/background_image.css
Normal file
3
src/test/ref/subdirectory/background_image.css
Normal file
|
@ -0,0 +1,3 @@
|
|||
.test {
|
||||
background: url(../rust-0.png)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue