Skip to content

Commit

Permalink
Chrome stable doesnt use capitalize prefix. Fixing that
Browse files Browse the repository at this point in the history
  • Loading branch information
ebidel committed Aug 8, 2013
1 parent e7b1fb8 commit 4e18915
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion templates/features.html
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,8 @@ <h2>Web Platform Features (<span id="num-features">-</span>)</h2>
// Feature detect new flexbox. If unsupported, CSS fixes to support old flexbox.
// TODO(ericbidelman): remove when Safari updates to new flexbox.
var el = document.createElement('div');
if (!('flexBasis' in el.style || 'WebKitFlexBasis' in el.style)) {
if (!('flexBasis' in el.style || 'webkitFlexBasis' in el.style ||
'WebKitFlexBasis' in el.style)) {
var link = document.createElement('link');
link.rel = 'stylesheet';
link.href = '/static/css/features/safari_fixes.css';
Expand Down

0 comments on commit 4e18915

Please sign in to comment.