This repository has been archived by the owner on Oct 17, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from ericmorand/issue_17
- Loading branch information
Showing
11 changed files
with
311 additions
and
44 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>Title</title> | ||
<!-- this is a head comment --> | ||
<script type="text/javascript"> | ||
const foo = () => { | ||
return "foo"; | ||
}; | ||
</script> | ||
<style> | ||
body { | ||
background-image: url("test/fixtures/assets/foo.png"); | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<!-- this is a body comment --> | ||
<img src="test/fixtures/assets/foo.png" alt="foo"> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>Title</title> | ||
<!-- this is a head comment --> | ||
<script type="text/javascript"> | ||
const foo = () => { | ||
return "foo"; | ||
}; | ||
</script> | ||
<style> | ||
body { | ||
background-image: url("../assets/foo.png"); | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<!-- this is a body comment --> | ||
<img src="../assets/foo.png" alt="foo"> | ||
</body> | ||
</html> |
6 changes: 6 additions & 0 deletions
6
test/fixtures/inline-style/expectation-with-rebase-option.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 @@ | ||
<style> | ||
@font-face { | ||
src: url("foo"); | ||
} | ||
</style> | ||
<img src="foo"> |
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 @@ | ||
<style> | ||
@font-face { | ||
src: url("test/fixtures/assets/foo.png"); | ||
} | ||
</style> | ||
<img src="test/fixtures/assets/foo.png"> |
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 @@ | ||
<style> | ||
@font-face { | ||
src: url("../assets/foo.png"); | ||
} | ||
</style> | ||
<img src="../assets/foo.png"> |
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,10 @@ | ||
import {TwingEnvironment, TwingLoaderFilesystem} from "twing"; | ||
import {resolve} from "path"; | ||
|
||
export const warmUp = function () { | ||
let loader = new TwingLoaderFilesystem(resolve('test/fixtures')); | ||
|
||
return new TwingEnvironment(loader, { | ||
source_map: true | ||
}); | ||
}; |
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
Oops, something went wrong.