// @flow
import getComputedStyle from './getComputedStyle';

export default (element: Element): boolean =>
  getComputedStyle(element).display.startsWith('table');

// @flow
import getNodeName from './getNodeName';

export default (element: Element): boolean =>
  ['table', 'td', 'th'].includes(getNodeName(element));

Revert "fix: detect CSS tables"