Skip to content

Commit

Permalink
fixup! Add a few tests for whether CSS subresources are critical
Browse files Browse the repository at this point in the history
  • Loading branch information
gsnedders committed Jul 23, 2022
1 parent 7db2338 commit b6b3856
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#foo {
width: 100px;
height: 100px;
background: url("/images/blue.png?pipe=trickle(d5)");
background: url("/images/blue.png?pipe=trickle(d1)");
}
</style>
<script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<style>
@font-face {
font-family: Ahem;
src: url("/fonts/Ahem.ttf?pipe=trickle(d5)");
src: url("/fonts/Ahem.ttf?pipe=trickle(d1)");
}
</style>
<script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<style>
@font-face {
font-family: Ahem;
src: url("/fonts/Ahem.ttf?pipe=trickle(d5)");
src: url("/fonts/Ahem.ttf?pipe=trickle(d1)");
}
#foo {
font: 25px/1 Ahem;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<script>
</script>
<style>
@import "import.css?pipe=trickle(d5)";
@import "import.css?pipe=trickle(d1)";
</style>
<div id=foo>XXX</div>
<script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<ul id=foo><li>XXX</ul>
<style>
#foo {
list-style: url("/images/blue.png?pipe=trickle(d5)");
list-style: url("/images/blue.png?pipe=trickle(d1)");
}
</style>
<script>
Expand Down

0 comments on commit b6b3856

Please sign in to comment.