-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit ca7c3fe
Showing
913 changed files
with
27,313 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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,3 @@ | ||
#meyerweb-eric-css-tests li.reader {background: red; | ||
background: repeating-linear-gradient(-45deg,red,red 1em,yellow 1em,yellow 2em);} | ||
#meyerweb-eric-css-tests li.reader.important {background: green !important;} |
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,38 @@ | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | ||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
<html xmlns="http://www.w3.org/1999/xhtml"> | ||
<head> | ||
<meta http-equiv="content-type" content="text/html; charset=utf-8" /> | ||
<title>Author versus user (reader) styles</title> | ||
<style type="text/css" id="tests"> | ||
ol li {margin: 1em 0; width: 50%;} | ||
ol li p {padding: 0.5em;} | ||
ol li:hover p {background: rgba(255,255,255,0.85); width: 90%;} | ||
#meyerweb-eric-css-tests li.author {background: green;} | ||
#meyerweb-eric-css-tests li.author.important {background: red !important; | ||
background: repeating-linear-gradient(-45deg,red,red 1em,yellow 1em,yellow 2em) !important;} | ||
.author.reader {border-left: 3em solid green;} | ||
</style> | ||
<link rel="stylesheet" type="text/css" href="c/style-insert-tests.css"> | ||
</head> | ||
<body id="meyerweb-eric-css-tests"> | ||
|
||
<p class="note"> | ||
Note that <em>the following test <strong>will be invalid</strong></em> unless you have <a href="author-reader-useragent.css">a user (reader) style sheet</a> enabled with the following rules: | ||
</p> | ||
<pre> | ||
#meyerweb-eric-css-tests li.reader {background: red; | ||
background: repeating-linear-gradient(-45deg,red,red 1em,yellow 1em,yellow 2em);} | ||
#meyerweb-eric-css-tests li.reader.important {background: green !important;} | ||
</pre> | ||
|
||
<hr> | ||
|
||
<ol> | ||
<li class="l01"><p>A user-agent paragraph.</p></li> | ||
<li class="author reader"><p>Author-reader conflict.</p></li> | ||
<li class="author reader important"><p>Important author-reader conflict.</p></li> | ||
</ol> | ||
|
||
</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,33 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>background-size specificity</title> | ||
<link rel="stylesheet" href="c/style-insert-tests.css" type="text/css"> | ||
<style type="text/css" media="all" id="tests" contenteditable> | ||
div {height: 300px; width: 600px; border: 1px solid silver; margin: 3em 0;} | ||
div b {padding: 0 0.25em; font-weight: normal; | ||
position: relative; top: -1.15em; border: 1px dotted silver; border-bottom: 0;} | ||
|
||
#d1 { | ||
background: url(i/yinyang.png) top left no-repeat; | ||
-webkit-background-size: cover; | ||
-moz-background-size: cover; | ||
-o-background-size: cover; | ||
background-size: cover; | ||
} | ||
#d2 { | ||
-webkit-background-size: cover; | ||
-moz-background-size: cover; | ||
-o-background-size: cover; | ||
background-size: cover; | ||
background: url(i/yinyang.png) top left no-repeat; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
|
||
<div id="d1"><b>d1: shorthand, then background-size</b></div> | ||
<div id="d2"><b>d2: background-size, then shorthand</b></div> | ||
|
||
</body> | ||
</html> |
Oops, something went wrong.