conformance: normalized WPT% => 91.4%. Nesting 1, Variables 1, and Typed OM math - #4
Merged
Conversation
…only-properties test
…ibution, and indexed append setters
…x math, and deduplicate getters
… and grouping rules
…, and svg presentation cascade
…tions for var validation
…and dommatrix simplification
…es dynamically from specs
…denominator baseline
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.
Advances conformance across 7 W3C Web Platform Test (WPT) suites in pure Node.js, achieving a +91.4% normalized pass rate across 16,842 feasible tests (+883 net passing assertions).
Key Capabilities & Spec Alignments
CSS Nesting Level 1 (
css-nesting):CSSNestedDeclarationsserialization, omitting empty wrapper blocks per § 4.1.& + .bar,& > .baz) per § 3.rule.selectorTextmutations dynamically into nested child rules referencing&.&nesting scope toCSSStyleRuleparents, preventing spurious&prefixes inside grouping rules (@media,@supports).CSS Variables Level 1 & Cascade Level 5 (
css-variables):revertandrevert-layercascade fallback rollback when referenced variables are unassigned.guaranteed-invalid).--foo: ;vs--foo:;).alignment-baseline,baseline-shift,flood-color,lighting-color,stop-color,clip-rule) intogetCascadedStylevariable substitution.CSS Values Level 4 & CSS Typed OM Level 1 (
css-typed-om):min()/max()and distributed negation overCSSMathSum.array[array.length] = item) onCSSUnparsedValueandCSSTransformValue.StylePropertyMapvalidation.CSSOM Core & Condition Rules (
cssom):CSSConditionRulebase class forCSSMediaRule,CSSSupportsRule, andCSSContainerRulewithconditionText.containerNameandcontainerQueryproperties onCSSContainerRule.CSSStyleDeclaration._addDeclarationpercssom-1 § 6.4.1.getPropertyValuecompleteness checks.DOMMatrix & W3C Geometry Interfaces (
src/DOMMatrix.ts):multiplySelf,rotateSelf,translateSelf,scaleSelf,invertSelf,transformPoint).NaNand singular determinants.Spec-Driven Automation & Harness Safety:
@webref/cssandmdn-dataintosrc/data/gen/cascade-data.ts./proc/[pid]/statRSS watchdogs, stateDdetection, and mandatory--max-old-space-size=1024enforcement across 24 worker pools.Technical Breakdown by Module
src/cascade.tssubstituteVariables; implementedrevert/revert-layercascade rollback; wired generated SVG presentation attributes and default values.src/CSSOM.tsCSSConditionRuleinheritance; updatedCSSContainerRule,CSSMediaRule, andCSSSupportsRule; implemented emptyCSSNestedDeclarationsserialization omission and ancestor-scoped nesting checks.src/CSSStyleDeclaration.ts_addDeclaration; implemented strict shorthandgetPropertyValue/getPropertyPrioritycompleteness.src/DOMMatrix.tsinvertMatrixto block Laplace expansion; deduplicated prototype getters.src/math-parser.tssimplifyMinMax; added negation distribution overCSSMathSum.src/typed-om.tsCSSUnparsedValueandCSSTransformValue; preserved custom property case inStylePropertyMap.src/parser.tsscripts/codegen/generate_cascade_data.tsconsuming@webref/cssandmdn-datato emitsrc/data/gen/cascade-data.ts.scripts/wpt/node//proc/[pid]/stat, and synchronized 16,842 feasible denominator baseline.