Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use the document base url when resolving stylesheets
- Loading branch information
Showing
6 changed files
with
61 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
...platform-tests/html/semantics/document-metadata/the-link-element/resources/stylesheet.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
body { | ||
background-color: green; | ||
} |
11 changes: 11 additions & 0 deletions
11
...orm-tests/html/semantics/document-metadata/the-link-element/stylesheet-with-base-ref.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>Stylesheet Without Base Tag</title> | ||
<style> | ||
body { background-color: green; } | ||
</style> | ||
</head> | ||
<body> | ||
</body> | ||
</html> |
11 changes: 11 additions & 0 deletions
11
...latform-tests/html/semantics/document-metadata/the-link-element/stylesheet-with-base.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>Stylesheet With Base Tag</title> | ||
<link rel="match" href="stylesheet-with-base-ref.html"> | ||
<base href="resources/"> | ||
<link rel="stylesheet" href="stylesheet.css"> | ||
</head> | ||
<body> | ||
</body> | ||
</html> |
3 changes: 3 additions & 0 deletions
3
...s/wpt/web-platform-tests/html/semantics/document-metadata/the-link-element/stylesheet.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
body { | ||
background-color: red; | ||
} |