Initial commit

This commit is contained in:
Patrick Marsceill
2017-03-09 13:16:08 -05:00
commit b7b0d0d7bf
4147 changed files with 401224 additions and 0 deletions

25
node_modules/doiuse/test/cases/backgrounds.css generated vendored Normal file
View File

@@ -0,0 +1,25 @@
/*
expect:
background-img-opts: 3
multibackgrounds: 3
css-canvas: 1
*/
a {
background-size: cover;
background-origin: padding-box;
background-clip: padding-box;
}
div {
background: url(a.gif), url(b.gif);
background-image: url(c.gif), url(d.gif);
}
.another {
background-repeat: no-repeat, no-repeat;
}
.wc {
background: -webkit-canvas(squares);
}

12
node_modules/doiuse/test/cases/counters.css generated vendored Normal file
View File

@@ -0,0 +1,12 @@
/*
expect:
css-counters: 2
*/
article {
counter-reset: section;
}
h2 {
counter-increment: section;
}

23
node_modules/doiuse/test/cases/cursors.css generated vendored Normal file
View File

@@ -0,0 +1,23 @@
/*
expect:
css3-cursors: 13
css3-cursors-newer: 2
*/
.klass { cursor: pointer; }
.klass { cursor: none; }
.klass { cursor: context-menu; }
.klass { cursor: cell; }
.klass { cursor: vertical-text; }
.klass { cursor: alias; }
.klass { cursor: copy; }
.klass { cursor: no-drop; }
.klass { cursor: not-allowed; }
.klass { cursor: nesw-resize; }
.klass { cursor: nwse-resize; }
.klass { cursor: col-resize; }
.klass { cursor: row-resize; }
.klass { cursor: all-scroll; }
.klass { cursor: zoom-in; }
.klass { cursor: zoom-out; }

21
node_modules/doiuse/test/cases/gradient.css generated vendored Normal file
View File

@@ -0,0 +1,21 @@
/*
expect:
css-gradients: 2
css-repeating-gradients: 2
*/
.radial {
background: radial-gradient(ellipse farthest-corner, black, white);
}
.simple1 {
background: linear-gradient(black, white);
}
.repeating {
background: repeating-linear-gradient(180deg,rgb(26,198,204),rgb(26,198,204) 7%, rgb(100,100,100) 10%);
}
.color {
background: red repeating-radial-gradient(ellipse farthest-corner, black, white);
}

25
node_modules/doiuse/test/cases/ignore-comment.css generated vendored Normal file
View File

@@ -0,0 +1,25 @@
/* doiuse-disable */
disable-all {
display: flex;
}
/* doiuse-enable flexbox */
enable-specific {
display: flex;
}
/* doiuse-disable flexbox, css-filters */
disable-specific {
display: flex;
filter: brightness(50%);
}
/* doiuse-enable */
enable-all {
display: flex;
}
/* doiuse-disable */
/* applies to included files */
@import "./ignore-include.css";
/* but not to other file */

3
node_modules/doiuse/test/cases/ignore-file.css generated vendored Normal file
View File

@@ -0,0 +1,3 @@
body {
display: flex;
}

2
node_modules/doiuse/test/cases/ignore-import.css generated vendored Normal file
View File

@@ -0,0 +1,2 @@
@import "./ignore-file.css";
@import "./ignore-include.css";

3
node_modules/doiuse/test/cases/ignore-include.css generated vendored Normal file
View File

@@ -0,0 +1,3 @@
.container {
user-select: none;
}

12
node_modules/doiuse/test/cases/issue17.css generated vendored Normal file
View File

@@ -0,0 +1,12 @@
/*
expect:
viewport-units: 0
*/
.icon {
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC0AAAAtCAYAAAA6GuKaAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEwAACxMBAJqcGAAABbNJREFUWIXV2GlslEUcx/Hvc+1uu73Epsp9VFoQAokpCkaIIlAOEwIFSjlsINTaSiBVCSQajJAoKjQKC8gtEEQKCYLgwSWHFqGUy0AEJVIFCXah7e4C3d3n8MW2TbfnU9ke/JN98WzmmXwy+c08MyPQTFXStX83TdOPighdQ9WnjlEkSeKLcqg6rF4lXft3U3XjuITQud5GFgsYBvj9pvr02iylJ1PHbCmKjSkVQwWtrCqwQb1gZcRLxJw9TPSxPYidOjTaZwV4RVFsTG5OTk5o0fWCBSHwA6SnEwlf+BaeaVkIdjuROzc2CK8JBpCaHQyEL1qA1DsBteAcltHDEWKiMFxujGInYpeOWKem4Nu9Hx6UNwoGCEmmG4uE//BxAGzZM/Hu2I1aeJ7IbWsoHTCcyF49ebB+K8adElNggIeOh5kM+4/lg81G2LzZ2NInYzjvIkSEE3P6AOrZi/gPHTcNhoccaTNgeVAS1ikpqGcu4MmeR8SqTwBwJaciPBGL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nIN69iLywKTAHYRuBI5KgNy/by10vh4AhEA9NsoeLEZsdSAnxlK/ZHIhE1jz8B4/V+2JrgQFE0A3j3n086bPRrl4jbMFcvKu/aBTcUpOurqpaPSrh6qlCrJnpyIOS6nyhElzcs3urgCGArtosVI34xUsoLw+p1bg6OCMj425LQquX4OzQ1yeKohL0p82K4fUFb34U2XUyJXmlM7HH0tYEQz1XCEa5N+i5LYEBRBCNhhq0NTA0crBti2CoMRGrV1sFQz2ZDoBHrXQmdmtzYABRrDHSbR0MFV/EygefIrvbOhiqTcQKsKOtgwFERIxHCQwgG3DzZMqoXY8KGAhcH6xbt65dazuaUv8BdpCJlwOuTeIAAAAASUVORK5CYII=');
background-position: center;
background-repeat: no-repeat;
background-size: 45px 45px;
height: 45px;
width: 45px;
}

8
node_modules/doiuse/test/cases/object-fit.css generated vendored Normal file
View File

@@ -0,0 +1,8 @@
/*
expect:
object-fit: 1
*/
div {
object-fit: contain;
}

8
node_modules/doiuse/test/cases/opacity.css generated vendored Normal file
View File

@@ -0,0 +1,8 @@
/*
expect:
css-opacity: 1
*/
.panel {
opacity: .5;
}

12
node_modules/doiuse/test/cases/outline.css generated vendored Normal file
View File

@@ -0,0 +1,12 @@
/*
expect:
outline: 2
*/
button {
outline: none;
}
a {
outline-color: #000;
}

8
node_modules/doiuse/test/cases/overflow-wrap.css generated vendored Normal file
View File

@@ -0,0 +1,8 @@
/*
expect:
wordwrap: 1
*/
p {
overflow-wrap: break-word;
}

6
node_modules/doiuse/test/cases/pointer-events.css generated vendored Normal file
View File

@@ -0,0 +1,6 @@
/*
expect:
pointer-events: 1
*/
div .label { pointer-events: none; }

18
node_modules/doiuse/test/cases/queries.css generated vendored Normal file
View File

@@ -0,0 +1,18 @@
/*
expect:
css-mediaqueries: 2
css-featurequeries: 1
css-media-resolution: 1
*/
@media only screen {
.ui { display: block; }
}
@supports (transform-origin: 5% 5%) {
.ui { transform-origin: 5% 5%; }
}
@media (min-resolution: 192dpi) {
.ui { width: 50%; }
}

6
node_modules/doiuse/test/cases/rem.css generated vendored Normal file
View File

@@ -0,0 +1,6 @@
/*
expect:
rem: 1
*/
p { font-size: 1rem; }

8
node_modules/doiuse/test/cases/resize.css generated vendored Normal file
View File

@@ -0,0 +1,8 @@
/*
expect:
css-resize: 1
*/
textarea {
resize: both;
}

47
node_modules/doiuse/test/cases/selectors.css generated vendored Normal file
View File

@@ -0,0 +1,47 @@
/*
expect:
css-sel2: 16
css-sel3: 20
*/
/* level 2 */
* { color: #000000; }
div > div { color: #000000; }
div:first-child { color: #000000; }
a:link { color: #000000; }
a:visited { color: #000000; }
a:active { color: #000000; }
a:hover { color: #000000; }
a:focus { color: #000000; }
*:lang(en) { color: #000000; }
* + * { color: #000000; }
[href] { color: #000000; }
[href="http://doiuse.com"] { color: #000000; }
[class~="column"] { color: #000000; }
[lang|="en"] { color: #000000; }
.classname { color: #000000; }
#elementid { color: #000000; }
/* level 3 */
[href^="http"] { color: #000000; }
[href$=".com"] { color: #000000; }
[href *= "http"] { color: #000000; }
:root { color: #000000; }
div:nth-child(2n+1) { color: #000000; }
div:nth-last-child(2) { color: #000000; }
div:nth-of-type(2) { color: #000000; }
div:nth-last-of-type(2) { color: #000000; }
div:last-child { color: #000000; }
div:first-of-type { color: #000000; }
div:last-of-type { color: #000000; }
div:only-child { color: #000000; }
div:only-of-type { color: #000000; }
div:empty { color: #000000; }
a:target { color: #000000; }
button:enabled { color: #000000; }
button:disabled { color: #000000; }
option:checked { color: #000000; }
div:not(.active) { color: #000000; }
h1 ~ p { color: #000000; }

7
node_modules/doiuse/test/cases/text-overflow.css generated vendored Normal file
View File

@@ -0,0 +1,7 @@
/*
expect:
text-overflow: 1
*/
h1 {
text-overflow: ellipsis;
}

View File

@@ -0,0 +1,14 @@
a {
transition: transform 1s;
transform: rotateX(45deg)
}
b {
transform: translateX(45deg)
}
@keyframes anim {
from {
transform: rotate(90deg);
}
}

View File

@@ -0,0 +1,3 @@
a {
border-image: linear-gradient(black, white) 20% fill stretch stretch;
}

View File

@@ -0,0 +1,5 @@
a {
border-radius: 5px;
border-top-left-radius: 3px;
border-bottom-right-radius: 3px;
}

View File

@@ -0,0 +1,6 @@
a {
flex-direction: row;
transition: all 1s
}
b { transition: all 1s }

View File

@@ -0,0 +1,4 @@
* {
transition: all 1s;
-o-transition: all 1s
}

View File

@@ -0,0 +1,8 @@
a {
/* transition */
transition: all 1s;
height: calc(/* comment before */100% - /* comment inside */ 10px/* comment after */);
}
/* placeholder */
::placeholder { }

View File

@@ -0,0 +1,3 @@
a {
-evil-up: calc(10px + 1);
}

View File

@@ -0,0 +1,29 @@
a {
-webkit-border-radius: 4px;
border-radius: 4px;
transition: transform 1s;
}
b {
/* autoprefixer: off */
-webkit-border-radius: 4px;
border-radius: 4px;
transition: transform 1s;
}
@support (transition: 1s) {
/* autoprefixer: off */
:fullscreen {
-webkit-border-radius: 4px;
border-radius: 4px;
transition: transform 1s;
}
::placeholder {
/*autoprefixer: on*/
-webkit-border-radius: 4px;
border-radius: 4px;
transition: transform 1s;
}
}

View File

@@ -0,0 +1,4 @@
a {
flex-basis: 8.33333%;
flex-basis: calc(100% / 12 * 1)
}

View File

@@ -0,0 +1,3 @@
:fullscreen a {
transition: transform 1s
}

View File

@@ -0,0 +1,16 @@
a {
filter: blur(10px);
transition: filter 2s;
}
div {
filter: progid:DXImageTransform.Microsoft.Alpha(opacity=50);
}
b {
filter: alpha(opacity=100);
}
em {
filter: Alpha(opacity=100);
}

View File

@@ -0,0 +1,3 @@
.a {
flex-grow: 0;
}

View File

@@ -0,0 +1,54 @@
a {
display: flex;
flex-flow: row;
order: 0;
flex: 0 1 2;
transition: flex 200ms;
}
.inline {
display: inline-flex;
align-self: auto;
align-content: stretch;
flex: auto;
}
.a {
flex-direction: row;
justify-content: flex-start;
align-items: flex-start;
flex-wrap: nowrap;
align-content: flex-start;
align-self: flex-start;
flex: none;
}
.b {
flex-direction: row-reverse;
justify-content: flex-end;
align-items: flex-end;
flex-wrap: wrap;
align-content: flex-end;
align-self: flex-end;
flex-shrink: 1;
}
.c {
flex-direction: column;
justify-content: center;
align-items: center;
flex-wrap: reverse-wrap;
align-content: center;
align-self: center;
flex-basis: auto;
}
.e {
flex-direction: column-reverse;
justify-content: space-between;
align-items: baseline;
align-content: space-between;
align-self: baseline;
}
.f {
justify-content: space-around;
align-items: stretch;
align-content: space-around;
align-self: stretch;
}

View File

@@ -0,0 +1,18 @@
:fullscreen {
background: black
}
[href=:fullscreen] {}
:fullscreen a {
box-sizing: border-box
}
:fullscreen a {
color: black
}
:-moz-full-screen a {
transform: translate3d(0, 0, 0);
}

View File

@@ -0,0 +1,7 @@
a {
width: fill-available;
}
b {
height: max-content;
}

View File

@@ -0,0 +1,18 @@
@keyframes anim {
from {
top: calc(10% + 10px);
transform: rotate(10deg)
}
50% {
top: 0;
display: flex
}
to {
top: calc(10%);
transform: rotate(0)
}
}
@media screen {
@keyframes inside {}
}

View File

@@ -0,0 +1,10 @@
a {
-ms-transition: all 1s;
transition: all 1s;
-ms-border-radius: 5px;
border-radius: 5px;
background: -ms-linear-gradient(white, black);
background: linear-gradient(white, black);
}

View File

@@ -0,0 +1,19 @@
.a {
break-inside: auto
}
.b {
break-inside: avoid
}
.c {
break-inside: avoid-column
}
.d {
break-inside: avoid-page
}
.e {
break-inside: avoid-region
}

View File

@@ -0,0 +1,3 @@
a {
display: flex;
}

3
node_modules/doiuse/test/cases/unimplemented/pie.css generated vendored Normal file
View File

@@ -0,0 +1,3 @@
a {
-pie-background: linear-gradient(white, black)
}

View File

@@ -0,0 +1,4 @@
::placeholder {
color: #999
}

View File

@@ -0,0 +1,5 @@
a {
color : black;
display: flex;
transition: 1s
}

View File

@@ -0,0 +1,8 @@
@supports
(cursor: grab) or
not (transition: transform) and
(color: black) {
a {
color: black;
}
}

View File

@@ -0,0 +1,17 @@
@page {
margin: 0.5cm;
}
/* comment */
@-moz-document url-prefix() {
a {
color: black;
}
}
a {
/* c */
color/**/: white;
padding: 0 /*{}*/ 1px /*}*/ 2px;
}

View File

@@ -0,0 +1,9 @@
a {
transition: transform 200ms, color 200ms;
transform: rotate(10deg);
}
div {
transition-property: filter;
animation-name: rotating;
}

View File

@@ -0,0 +1,4 @@
a {
background: -webkit-linear-gradient(top, #f00 0%, #fff 100%);
background: linear-gradient(to bottom, #f00 0%, #fff 100%);
}

View File

@@ -0,0 +1,17 @@
a {
-webkit-transition: 1s;
-moz-transition: 1s;
transition: 1s
}
a {
-moz-transition: 1s;
-o-transition: 1s;
transition: 1s
}
a {
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px
}

View File

@@ -0,0 +1,5 @@
a {
margin: calc(5% + 5px) calc(10% + 10px);
background: linear-gradient(black, white), radial-gradient(white, black);
content: " linear-gradient(black, white) ";
}

View File

@@ -0,0 +1,13 @@
.a {
-moz-transform: scale(.9999);
transform: scale(.9999);
}
.b {
-moz-transform: scale(.9999);
}
.c {
transform: scale(1);
-moz-transform: scale(2);
}

11
node_modules/doiuse/test/cases/viewport-units.css generated vendored Normal file
View File

@@ -0,0 +1,11 @@
/*
expect:
viewport-units: 4
*/
div {
width: 100vmin;
border-right-width: 1vw;
border-bottom-width: 1vh;
height: 100vmax;
}

6
node_modules/doiuse/test/cases/word-break.css generated vendored Normal file
View File

@@ -0,0 +1,6 @@
/*
expect:
word-break: 1
*/
p { word-break: break-all; }