Skip to content

Commit

Permalink
Going back and adding in caniuse keywords for when I was offline
Browse files Browse the repository at this point in the history
  • Loading branch information
SlexAxton committed May 14, 2013
1 parent 842f096 commit 9dcc1ed
Show file tree
Hide file tree
Showing 13 changed files with 26 additions and 3 deletions.
1 change: 1 addition & 0 deletions feature-detects/css/resize.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
{
"name": "CSS UI Resize",
"property": "cssresize",
"caniuse": "css-resize",
"tags": ["css"],
"notes": [{
"name": "W3C Specification",
Expand Down
1 change: 1 addition & 0 deletions feature-detects/css/rgba.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*!
{
"name": "CSS rgba",
"caniuse": "css3-colors",
"property": "rgba",
"tags": ["css"],
"notes": [{
Expand Down
17 changes: 14 additions & 3 deletions feature-detects/css/shapes.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,18 @@
/*!
{
"name": "CSS Shapes",
"property": "shapes",
"tags": ["css"],
"notes": [{
"name": "Exclusions Spec",
"href": "http://www.w3.org/TR/css3-exclusions#shapes"
},{
"name": "Example from Adobe",
"href": "http://html.adobe.com/webstandards/cssexclusions"
}]
}
!*/
define(['Modernizr', 'createElement', 'docElement', 'prefixed', 'testStyles'], function( Modernizr, createElement, docElement, prefixed, testStyles ) {
// http://www.w3.org/TR/css3-exclusions
// http://www.w3.org/TR/css3-exclusions/#shapes
// Examples: http://html.adobe.com/webstandards/cssexclusions
// Separate test for CSS shapes as WebKit has just implemented this alone
Modernizr.addTest('shapes', function () {
var prefixedProperty = prefixed('shapeInside');
Expand Down
1 change: 1 addition & 0 deletions feature-detects/css/supports.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
{
"name": "CSS Supports",
"property": "supports",
"caniuse": "css-featurequeries",
"tags": ["css"],
"notes": [{
"name": "W3 Spec",
Expand Down
1 change: 1 addition & 0 deletions feature-detects/css/textshadow.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
{
"name": "CSS textshadow",
"property": "textshadow",
"caniuse": "css-textshadow",
"tags": ["css"],
"knownBugs": ["FF3.0 will false positive on this test"]
}
Expand Down
1 change: 1 addition & 0 deletions feature-detects/css/transforms.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
{
"name": "CSS Transforms",
"property": "csstransforms",
"caniuse": "transforms2d",
"tags": ["css"]
}
!*/
Expand Down
1 change: 1 addition & 0 deletions feature-detects/css/transforms3d.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
{
"name": "CSS Transforms 3D",
"property": "csstransforms3d",
"caniuse": "transforms3d",
"tags": ["css"]
}
!*/
Expand Down
1 change: 1 addition & 0 deletions feature-detects/css/transitions.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
{
"name": "CSS Transitions",
"property": "csstransitions",
"caniuse": "css-transitions",
"tags": ["css"]
}
!*/
Expand Down
1 change: 1 addition & 0 deletions feature-detects/css/userselect.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
{
"name": "CSS user-select",
"property": "userselect",
"caniuse": "user-select-none",
"authors": ["ryan seddon"],
"tags": ["css"],
"notes": [{
Expand Down
1 change: 1 addition & 0 deletions feature-detects/css/vhunit.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
{
"name": "CSS vh unit",
"property": "cssvhunit",
"caniuse": "viewport-units",
"tags": ["css"],
"notes": [{
"name": "Related Modernizr Issue",
Expand Down
1 change: 1 addition & 0 deletions feature-detects/css/vmaxunit.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
{
"name": "CSS vmax unit",
"property": "cssvmaxunit",
"caniuse": "viewport-units",
"tags": ["css"],
"notes": [{
"name": "Related Modernizr Issue",
Expand Down
1 change: 1 addition & 0 deletions feature-detects/css/vminunit.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
{
"name": "CSS vmin unit",
"property": "cssvminunit",
"caniuse": "viewport-units",
"tags": ["css"],
"notes": [{
"name": "Related Modernizr Issue",
Expand Down
1 change: 1 addition & 0 deletions feature-detects/css/vwunit.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
{
"name": "CSS vw unit",
"property": "cssvwunit",
"caniuse": "viewport-units",
"tags": ["css"],
"notes": [{
"name": "Related Modernizr Issue",
Expand Down

0 comments on commit 9dcc1ed

Please sign in to comment.