syntax-tree / hast-util-to-text
Showing 1 of 1 files from the diff.
Newly tracked file
index.js changed.

@@ -22,13 +22,12 @@
Loading
22 22
  'head',
23 23
  'noembed',
24 24
  'noframes',
25 +
  'noscript', // Act as if we support scripting.
25 26
  'rp',
26 27
  'script',
27 28
  'style',
28 29
  'template',
29 30
  'title',
30 -
  // Act as if we support scripting.
31 -
  'noscript',
32 31
  // Hidden attribute.
33 32
  hidden,
34 33
  // From: <https://html.spec.whatwg.org/#flow-content-3>
@@ -37,49 +36,45 @@
Loading
37 36
38 37
// See: <https://html.spec.whatwg.org/#the-css-user-agent-style-sheet-and-presentational-hints>
39 38
var blockOrCaption = convert([
39 +
  'address', // Flow content
40 +
  'article', // Sections and headings
41 +
  'aside', // Sections and headings
42 +
  'blockquote', // Flow content
43 +
  'body', // Page
40 44
  'caption', // `table-caption`
41 -
  // Page
42 -
  'html',
43 -
  'body',
44 -
  // Flow content
45 -
  'address',
46 -
  'blockquote',
47 -
  'center', // Legacy
48 -
  'dialog',
49 -
  'div',
50 -
  'figure',
51 -
  'figcaption',
52 -
  'footer',
53 -
  'form,',
54 -
  'header',
55 -
  'hr',
56 -
  'legend',
57 -
  'listing', // Legacy
58 -
  'main',
59 -
  'p',
60 -
  'plaintext', // Legacy
61 -
  'pre',
62 -
  'xmp', // Legacy
63 -
  // Sections and headings
64 -
  'article',
65 -
  'aside',
66 -
  'h1',
67 -
  'h2',
68 -
  'h3',
69 -
  'h4',
70 -
  'h5',
71 -
  'h6',
72 -
  'hgroup',
73 -
  'nav',
74 -
  'section',
75 -
  // Lists
76 -
  'dir', // Legacy
77 -
  'dd',
78 -
  'dl',
79 -
  'dt',
80 -
  'menu',
81 -
  'ol',
82 -
  'ul'
45 +
  'center', // Flow content (legacy)
46 +
  'dd', // Lists
47 +
  'dialog', // Flow content
48 +
  'dir', // Lists (legacy)
49 +
  'dl', // Lists
50 +
  'dt', // Lists
51 +
  'div', // Flow content
52 +
  'figure', // Flow content
53 +
  'figcaption', // Flow content
54 +
  'footer', // Flow content
55 +
  'form,', // Flow content
56 +
  'h1', // Sections and headings
57 +
  'h2', // Sections and headings
58 +
  'h3', // Sections and headings
59 +
  'h4', // Sections and headings
60 +
  'h5', // Sections and headings
61 +
  'h6', // Sections and headings
62 +
  'header', // Flow content
63 +
  'hgroup', // Sections and headings
64 +
  'hr', // Flow content
65 +
  'html', // Page
66 +
  'legend', // Flow content
67 +
  'listing', // Flow content (legacy)
68 +
  'main', // Flow content
69 +
  'menu', // Lists
70 +
  'nav', // Sections and headings
71 +
  'ol', // Lists
72 +
  'p', // Flow content
73 +
  'plaintext', // Flow content (legacy)
74 +
  'pre', // Flow content
75 +
  'section', // Sections and headings
76 +
  'ul', // Lists
77 +
  'xmp' // Flow content (legacy)
83 78
])
84 79
85 80
// Implementation of the `innerText` getter:
Files Coverage
index.js 100.00%
Project Totals (1 files) 100.00%
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading