Add files from 3.0.3 tag instead of current master

This commit is contained in:
battaglr 2016-01-27 11:30:06 -03:00
parent 98785fa0e1
commit 41d0c4eb5d
4 changed files with 82 additions and 64 deletions

55
3.0.3/normalize.css vendored Normal file → Executable file
View File

@ -37,6 +37,7 @@ figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
@ -103,31 +104,20 @@ a:hover {
========================================================================== */
/**
* Address inconsistent styling of `abbr[title]`.
* 1. Correct styling in Firefox 39 and Opera 12.
* 2. Correct missing styling in Chrome, Edge, IE, Opera, and Safari.
* Address styling not present in IE 8/9/10/11, Safari, and Chrome.
*/
abbr[title] {
border-bottom: none; /* 1 */
text-decoration: underline; /* 2 */
text-decoration: underline dotted; /* 2 */
border-bottom: 1px dotted;
}
/**
* Address inconsistent styling of b and strong.
* 1. Correct duplicate application of `bolder` in Safari 6.0.2.
* 2. Correct style set to `bold` in Edge 12+, Safari 6.2+, and Chrome 18+.
* Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
*/
b,
strong {
font-weight: inherit; /* 1 */
}
b,
strong {
font-weight: bolder; /* 2 */
font-weight: bold;
}
/**
@ -153,7 +143,7 @@ h1 {
*/
mark {
background-color: #ff0;
background: #ff0;
color: #000;
}
@ -216,15 +206,12 @@ figure {
}
/**
* Address inconsistent styling of `hr`.
* 1. Correct `box-sizing` set to `border-box` in Firefox.
* 2. Correct `overflow` set to `hidden` in IE 8/9/10/11 and Edge 12.
* Address differences between Firefox and other browsers.
*/
hr {
box-sizing: content-box; /* 1 */
height: 0; /* 1 */
overflow: visible; /* 2 */
box-sizing: content-box;
height: 0;
}
/**
@ -236,16 +223,15 @@ pre {
}
/**
* 1. Correct inheritance and scaling of font-size for preformatted text.
* 2. Address odd `em`-unit font size rendering in all browsers.
* Address odd `em`-unit font size rendering in all browsers.
*/
code,
kbd,
pre,
samp {
font-family: monospace, monospace; /* 1 */
font-size: 1em; /* 2 */
font-family: monospace, monospace;
font-size: 1em;
}
/* Forms
@ -257,8 +243,10 @@ samp {
*/
/**
* 1. Correct font properties not being inherited.
* 2. Address margins set differently in Firefox 4+, Safari, and Chrome.
* 1. Correct color not being inherited.
* Known issue: affects color of disabled elements.
* 2. Correct font properties not being inherited.
* 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
*/
button,
@ -266,8 +254,9 @@ input,
optgroup,
select,
textarea {
font: inherit; /* 1 */
margin: 0; /* 2 */
color: inherit; /* 1 */
font: inherit; /* 2 */
margin: 0; /* 3 */
}
/**
@ -360,11 +349,13 @@ input[type="number"]::-webkit-outer-spin-button {
}
/**
* Address `appearance` set to `searchfield` in Safari and Chrome.
* 1. Address `appearance` set to `searchfield` in Safari and Chrome.
* 2. Address `box-sizing` set to `border-box` in Safari and Chrome.
*/
input[type="search"] {
-webkit-appearance: textfield;
-webkit-appearance: textfield; /* 1 */
box-sizing: content-box; /* 2 */
}
/**

18
3.0.3/test.html Normal file → Executable file
View File

@ -258,6 +258,18 @@
</div>
<h2 class="Test-describe"><code>button</code>, <code>input</code>, <code>optgroup</code>, <code>select</code>, <code>textarea</code></h2>
<h3 class="Test-it">should inherit <code>color</code> from ancestor</h3>
<div class="Test-run" style="color:#ADD8E6;">
<button>button</button><br>
<input value="input"><br>
<select style="border:1px solid #999;">
<optgroup label="optgroup">
<option>option</option>
</optgroup>
<option>option</option>
</select><br>
<textarea>textarea</textarea>
</div>
<h3 class="Test-it">should inherit <code>font</code> from ancestor</h3>
<div class="Test-run" style="font:bold italic 20px/1 serif;">
<button>button</button><br>
@ -417,6 +429,12 @@
<div class="Test-run">
<input type="search" style="border:1px solid #ADD8E6; padding:10px; width:200px;">
</div>
<h3 class="Test-it">should have a <code>content-box</code> box model</h3>
<div class="Test-run">
<div style="background:red; display:inline-block; height:62px; width:242px;">
<input type="search" style="border:1px solid #ADD8E6; height:20px; padding:20px; width:200px;">
</div>
</div>
<h3 class="Test-it">should not have a cancel button in Safari or Chrome</h3>
<div class="Test-run">
<input type="search" value="search">

55
latest/normalize.css vendored Normal file → Executable file
View File

@ -37,6 +37,7 @@ figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
@ -103,31 +104,20 @@ a:hover {
========================================================================== */
/**
* Address inconsistent styling of `abbr[title]`.
* 1. Correct styling in Firefox 39 and Opera 12.
* 2. Correct missing styling in Chrome, Edge, IE, Opera, and Safari.
* Address styling not present in IE 8/9/10/11, Safari, and Chrome.
*/
abbr[title] {
border-bottom: none; /* 1 */
text-decoration: underline; /* 2 */
text-decoration: underline dotted; /* 2 */
border-bottom: 1px dotted;
}
/**
* Address inconsistent styling of b and strong.
* 1. Correct duplicate application of `bolder` in Safari 6.0.2.
* 2. Correct style set to `bold` in Edge 12+, Safari 6.2+, and Chrome 18+.
* Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
*/
b,
strong {
font-weight: inherit; /* 1 */
}
b,
strong {
font-weight: bolder; /* 2 */
font-weight: bold;
}
/**
@ -153,7 +143,7 @@ h1 {
*/
mark {
background-color: #ff0;
background: #ff0;
color: #000;
}
@ -216,15 +206,12 @@ figure {
}
/**
* Address inconsistent styling of `hr`.
* 1. Correct `box-sizing` set to `border-box` in Firefox.
* 2. Correct `overflow` set to `hidden` in IE 8/9/10/11 and Edge 12.
* Address differences between Firefox and other browsers.
*/
hr {
box-sizing: content-box; /* 1 */
height: 0; /* 1 */
overflow: visible; /* 2 */
box-sizing: content-box;
height: 0;
}
/**
@ -236,16 +223,15 @@ pre {
}
/**
* 1. Correct inheritance and scaling of font-size for preformatted text.
* 2. Address odd `em`-unit font size rendering in all browsers.
* Address odd `em`-unit font size rendering in all browsers.
*/
code,
kbd,
pre,
samp {
font-family: monospace, monospace; /* 1 */
font-size: 1em; /* 2 */
font-family: monospace, monospace;
font-size: 1em;
}
/* Forms
@ -257,8 +243,10 @@ samp {
*/
/**
* 1. Correct font properties not being inherited.
* 2. Address margins set differently in Firefox 4+, Safari, and Chrome.
* 1. Correct color not being inherited.
* Known issue: affects color of disabled elements.
* 2. Correct font properties not being inherited.
* 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
*/
button,
@ -266,8 +254,9 @@ input,
optgroup,
select,
textarea {
font: inherit; /* 1 */
margin: 0; /* 2 */
color: inherit; /* 1 */
font: inherit; /* 2 */
margin: 0; /* 3 */
}
/**
@ -360,11 +349,13 @@ input[type="number"]::-webkit-outer-spin-button {
}
/**
* Address `appearance` set to `searchfield` in Safari and Chrome.
* 1. Address `appearance` set to `searchfield` in Safari and Chrome.
* 2. Address `box-sizing` set to `border-box` in Safari and Chrome.
*/
input[type="search"] {
-webkit-appearance: textfield;
-webkit-appearance: textfield; /* 1 */
box-sizing: content-box; /* 2 */
}
/**

18
latest/test.html Normal file → Executable file
View File

@ -258,6 +258,18 @@
</div>
<h2 class="Test-describe"><code>button</code>, <code>input</code>, <code>optgroup</code>, <code>select</code>, <code>textarea</code></h2>
<h3 class="Test-it">should inherit <code>color</code> from ancestor</h3>
<div class="Test-run" style="color:#ADD8E6;">
<button>button</button><br>
<input value="input"><br>
<select style="border:1px solid #999;">
<optgroup label="optgroup">
<option>option</option>
</optgroup>
<option>option</option>
</select><br>
<textarea>textarea</textarea>
</div>
<h3 class="Test-it">should inherit <code>font</code> from ancestor</h3>
<div class="Test-run" style="font:bold italic 20px/1 serif;">
<button>button</button><br>
@ -417,6 +429,12 @@
<div class="Test-run">
<input type="search" style="border:1px solid #ADD8E6; padding:10px; width:200px;">
</div>
<h3 class="Test-it">should have a <code>content-box</code> box model</h3>
<div class="Test-run">
<div style="background:red; display:inline-block; height:62px; width:242px;">
<input type="search" style="border:1px solid #ADD8E6; height:20px; padding:20px; width:200px;">
</div>
</div>
<h3 class="Test-it">should not have a cancel button in Safari or Chrome</h3>
<div class="Test-run">
<input type="search" value="search">