-
Notifications
You must be signed in to change notification settings - Fork 15
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 #307 from bezoerb/fix/298
skip print & speech stylesheets
- Loading branch information
Showing
4 changed files
with
55 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<!doctype html> | ||
<html class="no-js"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<style>.blue{color:#00f}.green{color:green}</style> | ||
<link rel="stylesheet" href="css/main.css" media="print" onload="this.media='test'"> | ||
<link rel="stylesheet" href="css/simple.css" media="print"> | ||
<style> | ||
.red { | ||
color: red; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<div class="container"> | ||
Test | ||
</div> | ||
<noscript><link rel="stylesheet" href="css/main.css" media="test"></noscript> | ||
</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,18 @@ | ||
<!doctype html> | ||
<html class="no-js"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<link rel="stylesheet" href="css/main.css" media="test"> | ||
<link rel="stylesheet" href="css/simple.css" media="print"> | ||
<style> | ||
.red { | ||
color: red; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<div class="container"> | ||
Test | ||
</div> | ||
</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