Permalink
Browse files

Even moar patterns (and fixes for input-* patterns)

  • Loading branch information...
1 parent 29b9da0 commit 6ded02c02306f0fa457a678ecaa09c4bf778e647 @galfert galfert committed Mar 27, 2012
Showing with 22 additions and 6 deletions.
  1. +1 −1 data/features.json
  2. +21 −5 data/patterns.json
View
Oops, something went wrong.
View
@@ -3,13 +3,18 @@
"border-image": "border-image(-(source|slice|width|outset|repeat))?\\:",
"border-radius": "border(-(top|bottom)-(right|left))?-radius\\:",
"canvas": "<canvas.*>.*<\\/canvas>",
+ "contenteditable": "<\\w.*\\scontenteditable.*>",
"css-animation": "animation(-(name|duration|timing-function|iteration-count|direction|delay))?\\:",
"css-boxshadow": "box-shadow\\:",
"css-gradients": "(linear|radial)-gradient\\(.*\\)",
+ "css-regions": "flow-(into|from)\\:|@region",
"css-textshadow": "text-shadow\\:",
"css-transitions": "transition(-(property|duration|timing-function|delay))?\\:",
"css3-boxsizing": "box-sizing\\:",
+ "datauri": "data\\:",
"deviceorientation": "deviceorientation|devicemotion|compassneedscalibration",
+ "dragndrop": "drag|draggable|dragstart|dragover|dragenter|dragleave|dragend|drop",
+ "eot": "\\.eot",
"eventsource": "new EventSource",
"fileapi": "new FileReader",
"flexbox": "display\\:\\s*(inline-)?flexbox",
@@ -19,19 +24,30 @@
"geolocation": "navigator\\.geolocation",
"history": "history\\.(back|forward|go|pushState|replaceState)",
"indexeddb": "IndexedDB|IDB(Cursor|Database|Environment|Factory|Index|KeyRange|ObjectStore|OpenDBRequest|Request|Transaction|VersionChangeEvent)",
- "input-color": "<input.*type=['\"]?color['\"]?.*(\\/>|>.*<\\/input>)",
- "input-datetime": "<input.*type=['\"]?date|time|datetime(-local)?|month|week['\"]?.*(\\/>|>.*<\\/input>)",
- "input-number": "<input.*type=['\"]?number['\"]?.*(\\/>|>.*<\\/input>)",
- "input-range": "<input.*type=['\"]?range['\"]?.*(\\/>|>.*<\\/input>)",
+ "input-color": "<input\\s.*type=['\"]?color['\"]?.*(\\/>|>.*<\\/input>)",
+ "input-datetime": "<input\\s.*type=['\"]?(date|time|datetime(-local)?|month|week)['\"]?.*(\\/>|>.*<\\/input>)",
+ "input-number": "<input\\s.*type=['\"]?number['\"]?.*(\\/>|>.*<\\/input>)",
+ "input-range": "<input\\s.*type=['\"]?range['\"]?.*(\\/>|>.*<\\/input>)",
+ "menu": "<menu\\s+.*>",
"namevalue-storage": "localStorage|sessionStorage",
+ "notifications": "create(HTML)?Notification",
+ "object-fit": "object-fit\\:",
"offline-apps": "<html.*\\smanifest=.*>",
"progressmeter": "<progress.*>.*<\\/prograss>|<meter.*><\\/meter>",
+ "queryselector": "querySelector(All)?",
"requestanimationframe": "(cancel|request)AnimationFrame",
+ "script-async": "<script\\s.*async.*>",
+ "script-defer": "<script\\s.*defer.*>",
+ "sharedworkers": "new SharedWorker\\s*\\(.*\\)",
"stream": "getUserMedia",
"text-overflow": "text-overflow\\:",
"touch": "touch(start|end|move|cancel)|createTouch(List)?",
+ "ttf": "\\.ttf",
"video": "<video.*>.*<\\/video>",
"webgl": "\.getContext\\s*\\(\\s*['\"](experimental-)?webgl['\"]\\s*\\)",
+ "webm": "\\.webm",
"websockets": "new WebSocket\\s*\\(.*\\)",
- "webworkers": "new (Shared)?Worker\\s*\\(.*\\)"
+ "webworkers": "new (Shared)?Worker\\s*\\(.*\\)",
+ "woff": "\\.woff",
+ "x-doc-messaging": "postMessage"
}

0 comments on commit 6ded02c

Please sign in to comment.