Skip to content

Commit

Permalink
removed CSS :before and :after column, not really an issue in coding
Browse files Browse the repository at this point in the history
  • Loading branch information
jongund committed Jun 18, 2024
1 parent d81d1fa commit ffeb863
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
6 changes: 0 additions & 6 deletions scripts/coverage-report.js
Original file line number Diff line number Diff line change
Expand Up @@ -519,8 +519,6 @@ glob
svgHTML: html.querySelectorAll('svg').length,
svgCSS: getNumberOfReferences(dataCSS, 'svg', true),
contentCSS: getNumberOfReferences(dataCSS, 'content'),
beforeCSS: getNumberOfReferences(dataCSS, '::before'),
afterCSS: getNumberOfReferences(dataCSS, '::after'),
forcedColors: getNumberOfReferences(dataCSS, 'forced-colors'),
currentColor: getNumberOfReferences(dataCSS, 'currentColor', true),

Expand Down Expand Up @@ -1010,8 +1008,6 @@ let IndexOfExampleGraphics = indexOfExamples.reduce(function (set, example) {
count += example.svgJS;
count += example.forcedColors;
count += example.currentColor;
count += example.beforeCSS;
count += example.afterCSS;
count += example.contentCSS;

if (count === 0) {
Expand All @@ -1025,8 +1021,6 @@ let IndexOfExampleGraphics = indexOfExamples.reduce(function (set, example) {
<td>${htmlYesOrNo(example.svgJS)}</td>
<td>${htmlYesOrNo(example.forcedColors)}</td>
<td>${htmlYesOrNo(example.currentColor)}</td>
<td>${htmlYesOrNo(example.beforeCSS)}</td>
<td>${htmlYesOrNo(example.afterCSS)}</td>
<td>${htmlYesOrNo(example.contentCSS)}</td>
</tr>`;
}, '');
Expand Down
2 changes: 0 additions & 2 deletions scripts/coverage-report.template
Original file line number Diff line number Diff line change
Expand Up @@ -239,8 +239,6 @@
<th>SVG in JS</th>
<th><code>forced-colors</code> media query</th>
<th><code>currentColor</code> value</th>
<th>CSS ::before</th>
<th>CSS ::after</th>
<th>CSS content</th>
</tr>
</thead>
Expand Down

0 comments on commit ffeb863

Please sign in to comment.