-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resolve relative urls for blob stylesheets
- Loading branch information
1 parent
9b56353
commit f451d57
Showing
7 changed files
with
79 additions
and
7 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,13 @@ | ||
<!DOCTYPE html> | ||
<script src="../../dist/scroll-timeline.js"></script> | ||
|
||
<link rel="stylesheet" href="styles.css"> | ||
<body> | ||
<div id="container"> | ||
<div class="big-spacer"></div> | ||
<div id="subject"></div> | ||
<div class="big-spacer"></div> | ||
<div id=box></div> | ||
</div> | ||
</body> | ||
|
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,48 @@ | ||
#container { | ||
overflow-y: scroll; | ||
height: 300px; | ||
width: 300px; | ||
border: 1px solid black; | ||
timeline-scope: --foo; | ||
} | ||
.big-spacer { | ||
height: 800px; | ||
} | ||
#subject { | ||
background: url(asset/green.png), blue; | ||
height: 100px; | ||
width: 100px; | ||
view-timeline-name: --foo; | ||
} | ||
#box { | ||
position: fixed; | ||
top: 0; | ||
background: url("../view-timeline-external-css-with-url/asset/red.png"), yellow; | ||
width: 50px; | ||
height: 50px; | ||
/* Please don't delete the following comments */ | ||
/* This comment has been added to make sure css parser ignores it */ | ||
/* animation-range: entry 0% 100%; */ | ||
animation: linear anim forwards; | ||
animation-timeline: --foo; | ||
} | ||
|
||
/* Please don't delete the following comments */ | ||
/* This comment has been added to make sure css parser ignores it */ | ||
/* | ||
#box { | ||
position: fixed; | ||
top: 0; | ||
background-color: red; | ||
width: 50px; | ||
height: 50px; | ||
animation-timeline: foo; | ||
animation-range: entry 0% 100%; | ||
animation: linear anim; | ||
} | ||
*/ | ||
|
||
@keyframes anim { | ||
from { top: 0px; left: 0px; } | ||
to { top: 100px; left: 200px; } | ||
} |
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