You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 592abc8
Browse filesBrowse the repository at this point in the historyBrowse files
test(css): read the benchmark corpus from the scripts that build it
The fixture list was copied into the helper, and had already drifted: two
Bootstrap labels disagreed with the comparison. The scripts export it
instead and generate only as the entry point, the way
`generate-css-data.js` does. An absent cache now reports, rather than
leaving the tier out of the run.
Copy file name to clipboardExpand all lines: test/syntaxEquivalence.spectest.js
+16-8Lines changed: 16 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -79,11 +79,11 @@ const FILED_CONFIG_HTML_DEFECTS = new Map();
79
79
constFILED_BENCHMARK_CSS_DEFECTS=newMap([
80
80
[
81
81
"Semantic UI 2",
82
-
"not a printer defect: `.ui.table tr.negative, td.negative` and the same pair for `.error` print the same block, so joining each pair leaves four one-selector entries where the source had eight. The four carry one block between them, which makes their order unobservable — an element carrying both classes computes the same style either way, checked in Chrome. The comparison sorts a run of selectors reaching one block, and these land in two runs rather than one."
82
+
"not a printer defect: joining two rules that print one block reorders the selectors, and the comparison sorts a run rather than two — an element matching both computes the same style, checked in Chrome"
83
83
],
84
84
[
85
85
"Tailwind 4 + daisyUI 5",
86
-
"not a printer defect: the same shape as Semantic UI, with a `@media` between the two runs. `.collapse-arrow` and `.collapse-plus` `::after` come back reordered and four entries shorter; an element carrying both classes computes the same style at either side of the query, checked in Chrome."
86
+
"not a printer defect: the Semantic UI shape with a `@media` between the runs — an element matching both computes the same style at either side of the query, checked in Chrome"
87
87
]
88
88
]);
89
89
@@ -252,9 +252,7 @@ const buildCorpora = () => {
252
252
filedCss: FILED_CONFIG_CSS_DEFECTS
253
253
}
254
254
];
255
-
// The framework sheets and documents the minifier comparisons install: real
256
-
// projects, where `configCases` and wpt are both spec fixtures. Left out
257
-
// entirely when neither comparison has been run, and reported below.
255
+
// Real projects, where `configCases` and wpt are both spec fixtures.
0 commit comments