// @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"
Revert "fix: detect CSS tables"

This reverts commit a40f4813185e77d53d856ce5f04fd964f53cbad9.
