-
Notifications
You must be signed in to change notification settings - Fork 237
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed an issue with <link rel="stylesheet" type="totally/fake">. WebK…
…it loads it, other browsers do not. Added tests.
- Loading branch information
Showing
5 changed files
with
85 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<!doctype html> | ||
|
||
<html> | ||
|
||
<head> | ||
|
||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||
|
||
<link rel="stylesheet" type="totally/fake" href="style.css" media="all" /> | ||
|
||
<script src="../../../js/cufon.js" type="text/javascript"></script> | ||
|
||
<script type="text/javascript"> | ||
|
||
(function(test) { | ||
|
||
Cufon.CSS.ready(function() { | ||
test.success(); | ||
}); | ||
|
||
})(parent.testRunner.registerTest('<link rel="stylesheet" type="totally/fake"> with a simple and short style sheet')); | ||
|
||
</script> | ||
|
||
</head> | ||
|
||
<body> | ||
|
||
</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,6 @@ | ||
body { | ||
border: 0; | ||
margin: 0; | ||
padding: 0; | ||
width: 100px; | ||
} |
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,40 @@ | ||
<!doctype html> | ||
|
||
<html> | ||
|
||
<head> | ||
|
||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||
|
||
<style type="totally/fake"> | ||
|
||
body { | ||
border: 0; | ||
margin: 0; | ||
padding: 0; | ||
width: 100px; | ||
} | ||
|
||
</style> | ||
|
||
<script src="../../../js/cufon.js" type="text/javascript"></script> | ||
|
||
<script type="text/javascript"> | ||
|
||
(function(test) { | ||
|
||
Cufon.CSS.ready(function() { | ||
test.success(); | ||
}); | ||
|
||
})(parent.testRunner.registerTest('<style type="totally/fake"> with simple CSS')); | ||
|
||
</script> | ||
|
||
</head> | ||
|
||
<body> | ||
|
||
</body> | ||
|
||
</html> |