Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/JohnAlbin/normalize-scss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohnAlbin <virtually.johnalbin@gmail.com>2016-10-17 11:16:10 +0300
committerJohnAlbin <virtually.johnalbin@gmail.com>2016-10-24 07:51:42 +0300
commit76b5921e9fe85ced4b72b82d5b470c28db93a8f3 (patch)
tree694f1486d167e5d97ac6f27a12f704bd6b4a2921 /test
parentfd058831047946fa1f298504cce150894e0d60b0 (diff)
Add "document" section. #88
Diffstat (limited to 'test')
-rw-r--r--test/fixtures/fork-versions/default/output.css16
-rw-r--r--test/fixtures/fork-versions/deprecated-compass/output.css20
-rw-r--r--test/fixtures/fork-versions/typey-chroma-kss/output.css2
-rw-r--r--test/fixtures/fork-versions/typey/output.css19
-rw-r--r--test/fixtures/import-now/output.css16
-rw-r--r--test/fixtures/normalize/exclude-multiple/output.css16
-rw-r--r--test/fixtures/normalize/exclude-single/output.css16
-rw-r--r--test/fixtures/normalize/exclude-string/output.css16
-rw-r--r--test/fixtures/normalize/include-multiple/input.scss2
-rw-r--r--test/fixtures/normalize/include-multiple/output.css16
-rw-r--r--test/fixtures/variables/default/output.css16
-rw-r--r--test/fixtures/variables/font/output.css19
-rw-r--r--test/fixtures/variables/indent-amount/output.css19
13 files changed, 132 insertions, 61 deletions
diff --git a/test/fixtures/fork-versions/default/output.css b/test/fixtures/fork-versions/default/output.css
index 5373667..f32df3a 100644
--- a/test/fixtures/fork-versions/default/output.css
+++ b/test/fixtures/fork-versions/default/output.css
@@ -1,24 +1,30 @@
/*! normalize-scss | MIT/GPLv2 License | bit.ly/normalize-scss */
+/* Document
+ ========================================================================== */
/**
* 1. Change the default font family in all browsers (opinionated).
- * 2. Prevent adjustments of font size after orientation changes in IE and iOS.
+ * 2. Correct the line height in all browsers.
+ * 3. Prevent adjustments of font size after orientation changes in
+ * IE on Windows Phone and in iOS.
*/
html {
font-family: sans-serif;
/* 1 */
- -ms-text-size-adjust: 100%;
+ line-height: 1.15;
/* 2 */
+ -ms-text-size-adjust: 100%;
+ /* 3 */
-webkit-text-size-adjust: 100%;
- /* 2 */ }
+ /* 3 */ }
+/* HTML5 display definitions
+ ========================================================================== */
/**
* Remove the margin in all browsers (opinionated).
*/
body {
margin: 0; }
-/* HTML5 display definitions
- ========================================================================== */
/**
* Add the correct display in IE <10.
* Add the correct display in Edge, IE, and Firefox for `details` or `summary`.
diff --git a/test/fixtures/fork-versions/deprecated-compass/output.css b/test/fixtures/fork-versions/deprecated-compass/output.css
index 9ae6053..dc434ca 100644
--- a/test/fixtures/fork-versions/deprecated-compass/output.css
+++ b/test/fixtures/fork-versions/deprecated-compass/output.css
@@ -1,7 +1,21 @@
/*! normalize-scss | MIT/GPLv2 License | bit.ly/normalize-scss */
+/* Document
+ ========================================================================== */
+/**
+ * 1. Establish a vertical rhythm unit using $base-font-size, $base-line-height,
+ * and $rhythm-unit variables.
+ * 2. Correct old browser bug that prevented accessible resizing of text when
+ * root font-size is set with px or em.
+ * 3. Correct the line height in all browsers.
+ */
+html {
+ font-size: 100%;
+ line-height: 1.5em; }
+
/**
* 1. Change the default font family in all browsers (opinionated).
- * 2. Prevent adjustments of font size after orientation changes in IE and iOS.
+ * 2. Prevent adjustments of font size after orientation changes in
+ * IE on Windows Phone and in iOS.
*/
html {
font-family: sans-serif;
@@ -11,14 +25,14 @@ html {
-webkit-text-size-adjust: 100%;
/* 2 */ }
+/* HTML5 display definitions
+ ========================================================================== */
/**
* Remove the margin in all browsers (opinionated).
*/
body {
margin: 0; }
-/* HTML5 display definitions
- ========================================================================== */
/**
* Add the correct display in IE <10.
* Add the correct display in Edge, IE, and Firefox for `details` or `summary`.
diff --git a/test/fixtures/fork-versions/typey-chroma-kss/output.css b/test/fixtures/fork-versions/typey-chroma-kss/output.css
index 18f47b0..aa7c144 100644
--- a/test/fixtures/fork-versions/typey-chroma-kss/output.css
+++ b/test/fixtures/fork-versions/typey-chroma-kss/output.css
@@ -3,9 +3,9 @@
box-sizing: border-box; }
html {
+ font-family: Verdana, Tahoma, "DejaVu Sans", sans-serif;
font-size: 100%;
line-height: 1.5em;
- font-family: Verdana, Tahoma, "DejaVu Sans", sans-serif;
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
min-height: 100%; }
diff --git a/test/fixtures/fork-versions/typey/output.css b/test/fixtures/fork-versions/typey/output.css
index 35c8cdc..8ab9b40 100644
--- a/test/fixtures/fork-versions/typey/output.css
+++ b/test/fixtures/fork-versions/typey/output.css
@@ -1,29 +1,34 @@
/*! normalize-scss | MIT/GPLv2 License | bit.ly/normalize-scss */
+/* Document
+ ========================================================================== */
/**
* 1. Change the default font family in all browsers (opinionated).
- * 2. Prevent adjustments of font size after orientation changes in IE and iOS.
+ * 2. Correct the line height in all browsers.
+ * 3. Prevent adjustments of font size after orientation changes in
+ * IE on Windows Phone and in iOS.
*/
html {
- font-size: 100%;
- line-height: 1.5em;
font-family: sans-serif;
/* 1 */
- -ms-text-size-adjust: 100%;
+ font-size: 100%;
+ line-height: 1.5em;
/* 2 */
+ -ms-text-size-adjust: 100%;
+ /* 3 */
-webkit-text-size-adjust: 100%;
- /* 2 */ }
+ /* 3 */ }
@media print {
html {
font-size: 12pt; } }
+/* HTML5 display definitions
+ ========================================================================== */
/**
* Remove the margin in all browsers (opinionated).
*/
body {
margin: 0; }
-/* HTML5 display definitions
- ========================================================================== */
/**
* Add the correct display in IE <10.
* Add the correct display in Edge, IE, and Firefox for `details` or `summary`.
diff --git a/test/fixtures/import-now/output.css b/test/fixtures/import-now/output.css
index 0be7e3b..66cfe7f 100644
--- a/test/fixtures/import-now/output.css
+++ b/test/fixtures/import-now/output.css
@@ -1,24 +1,30 @@
/*! normalize-scss | MIT/GPLv2 License | bit.ly/normalize-scss */
+/* Document
+ ========================================================================== */
/**
* 1. Change the default font family in all browsers (opinionated).
- * 2. Prevent adjustments of font size after orientation changes in IE and iOS.
+ * 2. Correct the line height in all browsers.
+ * 3. Prevent adjustments of font size after orientation changes in
+ * IE on Windows Phone and in iOS.
*/
html {
font-family: sans-serif;
/* 1 */
- -ms-text-size-adjust: 100%;
+ line-height: 1.15;
/* 2 */
+ -ms-text-size-adjust: 100%;
+ /* 3 */
-webkit-text-size-adjust: 100%;
- /* 2 */ }
+ /* 3 */ }
+/* HTML5 display definitions
+ ========================================================================== */
/**
* Remove the margin in all browsers (opinionated).
*/
body {
margin: 0; }
-/* HTML5 display definitions
- ========================================================================== */
/**
* Add the correct display in IE <10.
* Add the correct display in Edge, IE, and Firefox for `details` or `summary`.
diff --git a/test/fixtures/normalize/exclude-multiple/output.css b/test/fixtures/normalize/exclude-multiple/output.css
index 912e923..d5b10bd 100644
--- a/test/fixtures/normalize/exclude-multiple/output.css
+++ b/test/fixtures/normalize/exclude-multiple/output.css
@@ -1,24 +1,30 @@
/*! normalize-scss | MIT/GPLv2 License | bit.ly/normalize-scss */
+/* Document
+ ========================================================================== */
/**
* 1. Change the default font family in all browsers (opinionated).
- * 2. Prevent adjustments of font size after orientation changes in IE and iOS.
+ * 2. Correct the line height in all browsers.
+ * 3. Prevent adjustments of font size after orientation changes in
+ * IE on Windows Phone and in iOS.
*/
html {
font-family: sans-serif;
/* 1 */
- -ms-text-size-adjust: 100%;
+ line-height: 1.15;
/* 2 */
+ -ms-text-size-adjust: 100%;
+ /* 3 */
-webkit-text-size-adjust: 100%;
- /* 2 */ }
+ /* 3 */ }
+/* HTML5 display definitions
+ ========================================================================== */
/**
* Remove the margin in all browsers (opinionated).
*/
body {
margin: 0; }
-/* HTML5 display definitions
- ========================================================================== */
/**
* Add the correct display in IE <10.
* Add the correct display in Edge, IE, and Firefox for `details` or `summary`.
diff --git a/test/fixtures/normalize/exclude-single/output.css b/test/fixtures/normalize/exclude-single/output.css
index 6ee0f9b..b0f2f39 100644
--- a/test/fixtures/normalize/exclude-single/output.css
+++ b/test/fixtures/normalize/exclude-single/output.css
@@ -1,24 +1,30 @@
/*! normalize-scss | MIT/GPLv2 License | bit.ly/normalize-scss */
+/* Document
+ ========================================================================== */
/**
* 1. Change the default font family in all browsers (opinionated).
- * 2. Prevent adjustments of font size after orientation changes in IE and iOS.
+ * 2. Correct the line height in all browsers.
+ * 3. Prevent adjustments of font size after orientation changes in
+ * IE on Windows Phone and in iOS.
*/
html {
font-family: sans-serif;
/* 1 */
- -ms-text-size-adjust: 100%;
+ line-height: 1.15;
/* 2 */
+ -ms-text-size-adjust: 100%;
+ /* 3 */
-webkit-text-size-adjust: 100%;
- /* 2 */ }
+ /* 3 */ }
+/* HTML5 display definitions
+ ========================================================================== */
/**
* Remove the margin in all browsers (opinionated).
*/
body {
margin: 0; }
-/* HTML5 display definitions
- ========================================================================== */
/**
* Add the correct display in IE <10.
* Add the correct display in Edge, IE, and Firefox for `details` or `summary`.
diff --git a/test/fixtures/normalize/exclude-string/output.css b/test/fixtures/normalize/exclude-string/output.css
index 0be7e3b..66cfe7f 100644
--- a/test/fixtures/normalize/exclude-string/output.css
+++ b/test/fixtures/normalize/exclude-string/output.css
@@ -1,24 +1,30 @@
/*! normalize-scss | MIT/GPLv2 License | bit.ly/normalize-scss */
+/* Document
+ ========================================================================== */
/**
* 1. Change the default font family in all browsers (opinionated).
- * 2. Prevent adjustments of font size after orientation changes in IE and iOS.
+ * 2. Correct the line height in all browsers.
+ * 3. Prevent adjustments of font size after orientation changes in
+ * IE on Windows Phone and in iOS.
*/
html {
font-family: sans-serif;
/* 1 */
- -ms-text-size-adjust: 100%;
+ line-height: 1.15;
/* 2 */
+ -ms-text-size-adjust: 100%;
+ /* 3 */
-webkit-text-size-adjust: 100%;
- /* 2 */ }
+ /* 3 */ }
+/* HTML5 display definitions
+ ========================================================================== */
/**
* Remove the margin in all browsers (opinionated).
*/
body {
margin: 0; }
-/* HTML5 display definitions
- ========================================================================== */
/**
* Add the correct display in IE <10.
* Add the correct display in Edge, IE, and Firefox for `details` or `summary`.
diff --git a/test/fixtures/normalize/include-multiple/input.scss b/test/fixtures/normalize/include-multiple/input.scss
index 26efcce..242dc19 100644
--- a/test/fixtures/normalize/include-multiple/input.scss
+++ b/test/fixtures/normalize/include-multiple/input.scss
@@ -1,2 +1,2 @@
@import 'normalize';
-@include normalize((root html5));
+@include normalize((document html5));
diff --git a/test/fixtures/normalize/include-multiple/output.css b/test/fixtures/normalize/include-multiple/output.css
index 75e1da7..d35981d 100644
--- a/test/fixtures/normalize/include-multiple/output.css
+++ b/test/fixtures/normalize/include-multiple/output.css
@@ -1,24 +1,30 @@
/*! normalize-scss | MIT/GPLv2 License | bit.ly/normalize-scss */
+/* Document
+ ========================================================================== */
/**
* 1. Change the default font family in all browsers (opinionated).
- * 2. Prevent adjustments of font size after orientation changes in IE and iOS.
+ * 2. Correct the line height in all browsers.
+ * 3. Prevent adjustments of font size after orientation changes in
+ * IE on Windows Phone and in iOS.
*/
html {
font-family: sans-serif;
/* 1 */
- -ms-text-size-adjust: 100%;
+ line-height: 1.15;
/* 2 */
+ -ms-text-size-adjust: 100%;
+ /* 3 */
-webkit-text-size-adjust: 100%;
- /* 2 */ }
+ /* 3 */ }
+/* HTML5 display definitions
+ ========================================================================== */
/**
* Remove the margin in all browsers (opinionated).
*/
body {
margin: 0; }
-/* HTML5 display definitions
- ========================================================================== */
/**
* Add the correct display in IE <10.
* Add the correct display in Edge, IE, and Firefox for `details` or `summary`.
diff --git a/test/fixtures/variables/default/output.css b/test/fixtures/variables/default/output.css
index 0be7e3b..66cfe7f 100644
--- a/test/fixtures/variables/default/output.css
+++ b/test/fixtures/variables/default/output.css
@@ -1,24 +1,30 @@
/*! normalize-scss | MIT/GPLv2 License | bit.ly/normalize-scss */
+/* Document
+ ========================================================================== */
/**
* 1. Change the default font family in all browsers (opinionated).
- * 2. Prevent adjustments of font size after orientation changes in IE and iOS.
+ * 2. Correct the line height in all browsers.
+ * 3. Prevent adjustments of font size after orientation changes in
+ * IE on Windows Phone and in iOS.
*/
html {
font-family: sans-serif;
/* 1 */
- -ms-text-size-adjust: 100%;
+ line-height: 1.15;
/* 2 */
+ -ms-text-size-adjust: 100%;
+ /* 3 */
-webkit-text-size-adjust: 100%;
- /* 2 */ }
+ /* 3 */ }
+/* HTML5 display definitions
+ ========================================================================== */
/**
* Remove the margin in all browsers (opinionated).
*/
body {
margin: 0; }
-/* HTML5 display definitions
- ========================================================================== */
/**
* Add the correct display in IE <10.
* Add the correct display in Edge, IE, and Firefox for `details` or `summary`.
diff --git a/test/fixtures/variables/font/output.css b/test/fixtures/variables/font/output.css
index f3df41f..5adaedd 100644
--- a/test/fixtures/variables/font/output.css
+++ b/test/fixtures/variables/font/output.css
@@ -1,26 +1,31 @@
/*! normalize-scss | MIT/GPLv2 License | bit.ly/normalize-scss */
+/* Document
+ ========================================================================== */
/**
* 1. Change the default font family in all browsers (opinionated).
- * 2. Prevent adjustments of font size after orientation changes in IE and iOS.
+ * 2. Correct the line height in all browsers.
+ * 3. Prevent adjustments of font size after orientation changes in
+ * IE on Windows Phone and in iOS.
*/
html {
- font-size: 150%;
- line-height: 1.5em;
font-family: Arial, sans-serif;
/* 1 */
- -ms-text-size-adjust: 100%;
+ font-size: 150%;
+ line-height: 1.5em;
/* 2 */
+ -ms-text-size-adjust: 100%;
+ /* 3 */
-webkit-text-size-adjust: 100%;
- /* 2 */ }
+ /* 3 */ }
+/* HTML5 display definitions
+ ========================================================================== */
/**
* Remove the margin in all browsers (opinionated).
*/
body {
margin: 0; }
-/* HTML5 display definitions
- ========================================================================== */
/**
* Add the correct display in IE <10.
* Add the correct display in Edge, IE, and Firefox for `details` or `summary`.
diff --git a/test/fixtures/variables/indent-amount/output.css b/test/fixtures/variables/indent-amount/output.css
index 2f67b2a..b7158f8 100644
--- a/test/fixtures/variables/indent-amount/output.css
+++ b/test/fixtures/variables/indent-amount/output.css
@@ -1,26 +1,31 @@
/*! normalize-scss | MIT/GPLv2 License | bit.ly/normalize-scss */
+/* Document
+ ========================================================================== */
/**
* 1. Change the default font family in all browsers (opinionated).
- * 2. Prevent adjustments of font size after orientation changes in IE and iOS.
+ * 2. Correct the line height in all browsers.
+ * 3. Prevent adjustments of font size after orientation changes in
+ * IE on Windows Phone and in iOS.
*/
html {
- font-size: 100%;
- line-height: 1.5em;
font-family: sans-serif;
/* 1 */
- -ms-text-size-adjust: 100%;
+ font-size: 100%;
+ line-height: 1.5em;
/* 2 */
+ -ms-text-size-adjust: 100%;
+ /* 3 */
-webkit-text-size-adjust: 100%;
- /* 2 */ }
+ /* 3 */ }
+/* HTML5 display definitions
+ ========================================================================== */
/**
* Remove the margin in all browsers (opinionated).
*/
body {
margin: 0; }
-/* HTML5 display definitions
- ========================================================================== */
/**
* Add the correct display in IE <10.
* Add the correct display in Edge, IE, and Firefox for `details` or `summary`.