medialize/ally.js

View on GitHub
src/supports/focus-flexbox-container.js

Summary

Maintainability
A
30 mins
Test Coverage

// elements with display:flex are focusable in IE10-11
export default {
  element: 'span',
  mutate: function(element) {
    element.setAttribute('style', 'display: -webkit-flex; display: -ms-flexbox; display: flex;');
    element.innerHTML = '<span style="display: block;">hello</span>';
  },
};