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, figure,
footer, footer,
header, header,
hgroup,
main, main,
menu, menu,
nav, nav,
@ -103,31 +104,20 @@ a:hover {
========================================================================== */ ========================================================================== */
/** /**
* Address inconsistent styling of `abbr[title]`. * Address styling not present in IE 8/9/10/11, Safari, and Chrome.
* 1. Correct styling in Firefox 39 and Opera 12.
* 2. Correct missing styling in Chrome, Edge, IE, Opera, and Safari.
*/ */
abbr[title] { abbr[title] {
border-bottom: none; /* 1 */ border-bottom: 1px dotted;
text-decoration: underline; /* 2 */
text-decoration: underline dotted; /* 2 */
} }
/** /**
* Address inconsistent styling of b and strong. * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
* 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+.
*/ */
b, b,
strong { strong {
font-weight: inherit; /* 1 */ font-weight: bold;
}
b,
strong {
font-weight: bolder; /* 2 */
} }
/** /**
@ -153,7 +143,7 @@ h1 {
*/ */
mark { mark {
background-color: #ff0; background: #ff0;
color: #000; color: #000;
} }
@ -216,15 +206,12 @@ figure {
} }
/** /**
* Address inconsistent styling of `hr`. * Address differences between Firefox and other browsers.
* 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.
*/ */
hr { hr {
box-sizing: content-box; /* 1 */ box-sizing: content-box;
height: 0; /* 1 */ height: 0;
overflow: visible; /* 2 */
} }
/** /**
@ -236,16 +223,15 @@ pre {
} }
/** /**
* 1. Correct inheritance and scaling of font-size for preformatted text. * Address odd `em`-unit font size rendering in all browsers.
* 2. Address odd `em`-unit font size rendering in all browsers.
*/ */
code, code,
kbd, kbd,
pre, pre,
samp { samp {
font-family: monospace, monospace; /* 1 */ font-family: monospace, monospace;
font-size: 1em; /* 2 */ font-size: 1em;
} }
/* Forms /* Forms
@ -257,8 +243,10 @@ samp {
*/ */
/** /**
* 1. Correct font properties not being inherited. * 1. Correct color not being inherited.
* 2. Address margins set differently in Firefox 4+, Safari, and Chrome. * 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, button,
@ -266,8 +254,9 @@ input,
optgroup, optgroup,
select, select,
textarea { textarea {
font: inherit; /* 1 */ color: inherit; /* 1 */
margin: 0; /* 2 */ 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"] { 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> </div>
<h2 class="Test-describe"><code>button</code>, <code>input</code>, <code>optgroup</code>, <code>select</code>, <code>textarea</code></h2> <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> <h3 class="Test-it">should inherit <code>font</code> from ancestor</h3>
<div class="Test-run" style="font:bold italic 20px/1 serif;"> <div class="Test-run" style="font:bold italic 20px/1 serif;">
<button>button</button><br> <button>button</button><br>
@ -417,6 +429,12 @@
<div class="Test-run"> <div class="Test-run">
<input type="search" style="border:1px solid #ADD8E6; padding:10px; width:200px;"> <input type="search" style="border:1px solid #ADD8E6; padding:10px; width:200px;">
</div> </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> <h3 class="Test-it">should not have a cancel button in Safari or Chrome</h3>
<div class="Test-run"> <div class="Test-run">
<input type="search" value="search"> <input type="search" value="search">

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

@ -37,6 +37,7 @@ figcaption,
figure, figure,
footer, footer,
header, header,
hgroup,
main, main,
menu, menu,
nav, nav,
@ -103,31 +104,20 @@ a:hover {
========================================================================== */ ========================================================================== */
/** /**
* Address inconsistent styling of `abbr[title]`. * Address styling not present in IE 8/9/10/11, Safari, and Chrome.
* 1. Correct styling in Firefox 39 and Opera 12.
* 2. Correct missing styling in Chrome, Edge, IE, Opera, and Safari.
*/ */
abbr[title] { abbr[title] {
border-bottom: none; /* 1 */ border-bottom: 1px dotted;
text-decoration: underline; /* 2 */
text-decoration: underline dotted; /* 2 */
} }
/** /**
* Address inconsistent styling of b and strong. * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
* 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+.
*/ */
b, b,
strong { strong {
font-weight: inherit; /* 1 */ font-weight: bold;
}
b,
strong {
font-weight: bolder; /* 2 */
} }
/** /**
@ -153,7 +143,7 @@ h1 {
*/ */
mark { mark {
background-color: #ff0; background: #ff0;
color: #000; color: #000;
} }
@ -216,15 +206,12 @@ figure {
} }
/** /**
* Address inconsistent styling of `hr`. * Address differences between Firefox and other browsers.
* 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.
*/ */
hr { hr {
box-sizing: content-box; /* 1 */ box-sizing: content-box;
height: 0; /* 1 */ height: 0;
overflow: visible; /* 2 */
} }
/** /**
@ -236,16 +223,15 @@ pre {
} }
/** /**
* 1. Correct inheritance and scaling of font-size for preformatted text. * Address odd `em`-unit font size rendering in all browsers.
* 2. Address odd `em`-unit font size rendering in all browsers.
*/ */
code, code,
kbd, kbd,
pre, pre,
samp { samp {
font-family: monospace, monospace; /* 1 */ font-family: monospace, monospace;
font-size: 1em; /* 2 */ font-size: 1em;
} }
/* Forms /* Forms
@ -257,8 +243,10 @@ samp {
*/ */
/** /**
* 1. Correct font properties not being inherited. * 1. Correct color not being inherited.
* 2. Address margins set differently in Firefox 4+, Safari, and Chrome. * 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, button,
@ -266,8 +254,9 @@ input,
optgroup, optgroup,
select, select,
textarea { textarea {
font: inherit; /* 1 */ color: inherit; /* 1 */
margin: 0; /* 2 */ 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"] { 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> </div>
<h2 class="Test-describe"><code>button</code>, <code>input</code>, <code>optgroup</code>, <code>select</code>, <code>textarea</code></h2> <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> <h3 class="Test-it">should inherit <code>font</code> from ancestor</h3>
<div class="Test-run" style="font:bold italic 20px/1 serif;"> <div class="Test-run" style="font:bold italic 20px/1 serif;">
<button>button</button><br> <button>button</button><br>
@ -417,6 +429,12 @@
<div class="Test-run"> <div class="Test-run">
<input type="search" style="border:1px solid #ADD8E6; padding:10px; width:200px;"> <input type="search" style="border:1px solid #ADD8E6; padding:10px; width:200px;">
</div> </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> <h3 class="Test-it">should not have a cancel button in Safari or Chrome</h3>
<div class="Test-run"> <div class="Test-run">
<input type="search" value="search"> <input type="search" value="search">