conformance: MQ L4/5 range, syntax token separators, typed-om position values, and feasibility consensus - #3
Merged
Merged
Conversation
…ace tests to native snapshots
… explicit wpt node vs browser separation
… and feature evaluation
… cascade filtering
… to scripts/benchmarks/
…rejection, and charset om exclusion
…nsus manifest json
…, and reproduction pipeline
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Lifts WPT multi-spec conformance to 14,967 / 17,318 passed (86.42% raw / 86.96% normalized) by implementing Media Queries Level 4/5 range syntax and evaluation, CSS Syntax Level 3 pairwise token serialization separators, and CSS Typed OM Level 1 position value reification.
Major Changes
1. Media Queries Level 4/5 &
MediaListConformance (mediaqueries: 113 ➔ 417 / 417, 100%)(width >= 600px),(400px < width <= 800px)), boolean combinations (and,or,not), and<general-enclosed>AST preservation per Media Queries 4 § 2–4 and Media Queries 5 § 2–3.MediaListserialization,appendMedium(), anddeleteMedium()per CSSOM Level 1 § 6.2.src/MediaParser.tsand wired media query evaluation intosrc/cascade.ts.2. CSS Syntax & Tokenizer Conformance (
css/css-syntax: 227 ➔ 398 / 414, 96.14%)src/serializer.ts, injecting/**/empty comments between coalescent tokens per CSS Syntax 3 § 8.@charsetas a non-rule byte marker per § 3.2, omitting it fromCSSStyleSheet.cssRules.[\uD800-\uDFFF] -> \uFFFD) insrc/streaming-tokenizer.ts.3. Typed OM Position Reification & Numeric Normalization (
css/css-typed-om: 11,044 ➔ 11,368 / 12,210, 93.10%)background-position,object-position,transform-origin) intoCSSPositionValue(x, y)with keyword alignment per CSS Typed OM 1 § 3.3.calc(0% + 0%)➔CSSUnitValue(0, 'percent')) and physical unit base conversion (cm,mm,in,pt,pc,q➔px) per CSS Values 4 § 6.1, § 10.7.var()fallback tokens inCSSVariableReferenceValueand clamped opacity values to[0, 1].4. Delphi Feasibility Baseline & Manifest Modernization
tests/fixtures/wpt-browser-only-manifest.json(106 consensus-agreed browser-only test files) via 3-way Delphi subagent evaluation (Scrutineer, Grizz, Architect).scripts/wpt/node/feasibility/README.md.setTimeoutyield inscripts/wpt/node/run.tsto prevent event loop starvation during bulk test runs.5. Tooling & Repository Reorganization
scripts/into domain subdirectories:scripts/wpt/node/,scripts/wpt/browser/,scripts/codegen/,scripts/external_suites/, andscripts/baselines/.tools/fuzz/into nativenode:testattests/fuzz.test.ts.scripts/benchmarks/parser.bench.tsand removed root-level clutter.@webref/css(815 properties) and converted API surface verification to native snapshots (tests/api-surface.test.ts.snapshot).WPT Multi-Spec Conformance Summary
css-typed-omcssomcss-syntaxcss-nestingcss-variablesselectorsmediaqueries