Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
stupid line endings bit us. cc @adeelejaz
- Loading branch information
Showing
3 changed files
with
38 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,8 @@ | |||
; editorconfig.org | |||
root = true | |||
|
|||
; Unix-style newlines | |||
[*] | |||
end_of_line = LF | |||
indent_style = space | |||
indent_size = 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,11 +1,11 @@ | |||
feature: <input type=number> | feature: <input type=number> | ||
status: use | status: use | ||
tags: polyfill fallback | tags: polyfill fallback | ||
kind: html | kind: html | ||
polyfillurls: [Number polyfill](https://github.com/jonstipe/number-polyfill) | polyfillurls: [Number polyfill](https://github.com/jonstipe/number-polyfill) | ||
|
|
||
A number input will fallback to a plain text input if it's not supported. | A number input will fallback to a plain text input if it's not supported. | ||
|
|
||
So far, Chrome, Safari and Opera support it. Jonathan Stipe's [Number polyfill](https://github.com/jonstipe/number-polyfill) doesn't need any additional code changes but does require jQuery and CSS to style buttons. | So far, Chrome, Safari and Opera support it. Jonathan Stipe's [Number polyfill](https://github.com/jonstipe/number-polyfill) doesn't need any additional code changes but does require jQuery and CSS to style buttons. | ||
|
|
||
Safari on iOS and the Browser on Android 4.0 (Ice Cream Sandwich) do show number input, but do not use "step", "min" or "max" attributes and neither show increment/decrement buttons. | Safari on iOS and the Browser on Android 4.0 (Ice Cream Sandwich) do show number input, but do not use "step", "min" or "max" attributes and neither show increment/decrement buttons. |
836d110
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
me bad.. I apologize for the oversight :( I did the commit from the work machine running Windows for GitHub....
836d110
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
836d110
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I use Sublime Text 2, beta build. What chaos did this cause btw?
836d110
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
836d110
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Darn. It never crossed my mind. Plugin installed. Thanks!
836d110
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@paulirish is there any online resource that documents positives and negatives of indentation formatting?
Would be great if there was a unified model and everyone followed it.
Personally I used to use 1 Tab, but changed to 2 Spaces to keep inline with H5BP, but never knew the reason behind it.
836d110
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.