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 8b57509
Browse filesBrowse the repository at this point in the historyBrowse files
test: file what WebKit sees and hold it like the other two engines
The first WebKit run reported 24 differences over 5803 checks, and they are
five causes. Each is filed with what was measured, so the row blocks like
Chrome's and Firefox's rather than reporting past a CI flag.
Three are the harness meeting a third engine. WebKit reads a different
`document.compatMode` for the two forms of eleven files and the reverse for
two, which a direction that flips per file says is how the document is built
rather than what the printer wrote. It lays out in sixty-fourths of a pixel,
so `112px` reads back as `111.984375px` in five framework stylesheets. And it
serializes a computed number to six significant digits where Blink keeps more
— which is the printer's own cap, so the whole-element comparison now reads
both sides at that precision, Chromium excepted since the fixtures were
measured against it.
Two are the engine: no `fetchpriority` reflection, so `high` and `low` both
read `auto`; no CSS Painting API, so a `paint()` image is dropped; and
`shape-image-threshold` read as the number its percentage means.
`attribute-tables` and `minimize-values` are filed by two engines for
different causes now, so a reason may name more than one.
"firefoxonly: not a printer defect — Blink folds a `calc()` inside a `var()` fallback as it parses, so both spellings read alike there; Gecko echoes the fallback as written. Measured in Firefox 156: `width:var(--foo,calc(10px + 10px))` reads back whole, while both engines compute `20px`"
156
+
"firefox, webkit only: not a printer defect — Gecko echoes a `calc()` inside a `var()` fallback as written where Blink folds it as it parses, so both spellings read alike there. Measured in Firefox 156: `width:var(--foo,calc(10px + 10px))` reads back whole, while both engines compute `20px`. WebKit drops a `shape-image-threshold` the others keep, which shifts every rule index after it"
"firefox only: not a printer defect — Gecko implements neither `writingSuggestions` nor `blocking` as an IDL attribute, so the comparison falls back to the attribute as written and reads a normalization as a difference. Measured in Firefox 156: both read `undefined`, where Chrome 147 reflects `false` and `render`"
171
+
"firefox, webkit only: not a printer defect — an IDL attribute the engine does not implement falls back to the attribute as written, so a normalization reads as a difference. Measured in Firefox 156: `writingSuggestions` and `blocking` both read `undefined` where Chrome 147 reflects `false` and `render`; WebKit reads `autofocus`, `enterkeyhint` and `inputmode` apart from Blink the same way"
"webkit only: not a printer defect, not yet diagnosed — WebKit reads a different `document.compatMode` for the source and the printed form where Blink and Gecko read one. Measured in the first WebKit run: eleven files report `BackCompat vs CSS1Compat` and two the reverse, and a direction that flips per file points at how the harness builds the document rather than at what the printer wrote"
@@ -161,7 +228,13 @@ const FILED_CONFIG_HTML_DEFECTS = new Map([
161
228
]
162
229
]);
163
230
164
-
constFILED_BENCHMARK_CSS_DEFECTS=newMap();
231
+
constFILED_BENCHMARK_CSS_DEFECTS=newMap([
232
+
["Fomantic-UI 2","webkit only: not a printer defect — WebKit lays out in units of a sixty-fourth of a pixel, so a width the others compute whole lands one step below it. Measured in the first WebKit run: `112px` against `111.984375px`, which is `112 - 1/64`"],
233
+
["Foundation 6","webkit only: the sixty-fourth of a pixel again — see `Fomantic-UI 2`"],
234
+
["Radix Themes 3 (components)","webkit only: the sixty-fourth of a pixel again — see `Fomantic-UI 2`"],
235
+
["Semantic UI 2","webkit only: the sixty-fourth of a pixel again — see `Fomantic-UI 2`"],
236
+
["Tailwind 4 + daisyUI 5","webkit only: the sixty-fourth of a pixel again — see `Fomantic-UI 2`"]
237
+
]);
165
238
166
239
constFILED_BENCHMARK_HTML_DEFECTS=newMap();
167
240
@@ -190,6 +263,12 @@ const FILED_COLOR_REWRITES = new Map([
190
263
// Enumerated values the printer lower-cases that one engine does not read
191
264
// case-insensitively, keyed as the check reports them.
192
265
constFILED_ENUMERATED_FOLDS=newMap([
266
+
['img fetchpriority=high: "auto" vs "high"',"webkit only: WebKit reflects no `fetchpriority`, so `high` and `low` both read `auto` and lower-casing one cannot be told from folding it away"],
267
+
['img fetchpriority=low: "auto" vs "low"',"webkit only: the unreflected `fetchpriority` again — see `img fetchpriority=high`"],
268
+
['link fetchpriority=high: "auto" vs "high"',"webkit only: the unreflected `fetchpriority` again — see `img fetchpriority=high`"],
269
+
['link fetchpriority=low: "auto" vs "low"',"webkit only: the unreflected `fetchpriority` again — see `img fetchpriority=high`"],
270
+
['script fetchpriority=high: "auto" vs "high"',"webkit only: the unreflected `fetchpriority` again — see `img fetchpriority=high`"],
271
+
['script fetchpriority=low: "auto" vs "low"',"webkit only: the unreflected `fetchpriority` again — see `img fetchpriority=high`"],
193
272
[
194
273
'* spellcheck=true: "false" vs "true"',
195
274
"firefox only: a printer defect, not yet decided — HTML makes an enumerated attribute ASCII case-insensitive and Gecko does not read `spellcheck` that way, so lower-casing it turns spellchecking on where the page had it off. Measured in Firefox 156: `spellcheck=\"TRUE\"` reflects `false` and `spellcheck=\"true\"` reflects `true`; Chrome 147 reflects `true` for both"
@@ -208,6 +287,30 @@ const FILED_WPT_VALUE_DEFECTS = new Map([
208
287
"-webkit-perspective:calc(25)",
209
288
"firefox only: the unitless `calc()` again — see `calc(1000)`"
210
289
],
290
+
[
291
+
"shape-image-threshold:50%",
292
+
"webkit only: WebKit reads a `shape-image-threshold` percentage as the number it means and the others keep the percentage, so a spelling neither reads differently still reads as a difference"
293
+
],
294
+
[
295
+
"shape-image-threshold:300%",
296
+
"webkit only: the `shape-image-threshold` percentage again \u2014 see `50%`"
297
+
],
298
+
[
299
+
"shape-image-threshold:-100%",
300
+
"webkit only: the `shape-image-threshold` percentage again \u2014 see `50%`"
301
+
],
302
+
[
303
+
"background-image:paint( mypaint",
304
+
"webkit only: WebKit implements no CSS Painting API, so a `paint()` image is dropped rather than echoed and the two spellings both read as absent"
305
+
],
306
+
[
307
+
"background-image:paint(mypaint ",
308
+
"webkit only: the unimplemented `paint()` again \u2014 see `paint( mypaint`"
"webkit only: a printer defect, not yet decided \u2014 WebKit reads the step count through a `calc()` where the printed form drops it. Measured in the first WebKit run"
313
+
],
211
314
[
212
315
"font-family:\"New Century Schoolbook\", serif",
213
316
"firefox only: not a printer defect — Gecko carries the source's quoting into the computed family where Blink drops it, so unquoting a name neither engine reads differently still reads as a difference there"
@@ -1990,6 +2093,7 @@ describe("a lowering computes as the spelling it replaces", () => {
0 commit comments