Created
December 8, 2017 02:46
-
-
Save jameswomack/0e1ff109d2e0c86d8b47e3976e9a00cc to your computer and use it in GitHub Desktop.
Grouping content elements w/ their required parents
This file contains hidden or 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
| Reflect.defineProperty(DOMimatrix, 'groupingElements', { | |
| value: { div:'div', figure:'figure', main:'main', ul:'ul', dd: [ 'dl' ], dt: [ 'dl' ], br:'br', hr:'hr', figcaption: [ 'figure' ], ol:'ol', li: ['menu','ul','ol'], pre:'pre', dl:'dl' } | |
| }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment