-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #2786 (links in HTML files in sub directories)
- Loading branch information
Philip Lonsing
committed
Mar 14, 2019
1 parent
2edae26
commit f73912d
Showing
6 changed files
with
179 additions
and
1 deletion.
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
6 changes: 6 additions & 0 deletions
6
packages/core/integration-tests/test/integration/html-js-in-subdir/index.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,6 @@ | ||
<!DOCTYPE html> | ||
<body> | ||
<h1>Root</h1> | ||
<a href="./subdir/page1-in-subdir.html">./subdir/page1-in-subdir.html</a> | ||
</body> | ||
</html> |
3 changes: 3 additions & 0 deletions
3
packages/core/integration-tests/test/integration/html-js-in-subdir/subdir/in-subdir.js
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 @@ | ||
var elem = document.createElement("div"); | ||
elem.innerText = "Hello World!"; | ||
document.body.appendChild(elem); |
7 changes: 7 additions & 0 deletions
7
...ges/core/integration-tests/test/integration/html-js-in-subdir/subdir/page1-in-subdir.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,7 @@ | ||
<!DOCTYPE html> | ||
<body> | ||
<h1>page 1 in sub directory</h1> | ||
<a href="./page2-in-subdir.html">./page2-in-subdir.html</a> | ||
<script src="./in-subdir.js"></script> | ||
</body> | ||
</html> |
7 changes: 7 additions & 0 deletions
7
...ges/core/integration-tests/test/integration/html-js-in-subdir/subdir/page2-in-subdir.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,7 @@ | ||
<!DOCTYPE html> | ||
<body> | ||
<h1>page 1 in sub directory</h1> | ||
<a href="./page1-in-subdir.html">./page1-in-subdir.html</a> | ||
<script src="./in-subdir.js"></script> | ||
</body> | ||
</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