Repository navigation
Description
Current checkpoint — 20 September 2026
All focused media-query, transition, animation, WAAPI, generated-content animation, and demand-scheduling implementation children are closed with source merged. The current inventory exposes no additional product-used temporal source gap.
Remaining work is cumulative execution: browser/native temporal contracts, pixels, visible and hidden idle behavior, active cadence, recascade/publication budgets, lifecycle/memory, unchanged Code OSS Chat/dictation scenarios, and exact-package acceptance. Open a focused child only from a reproducible current-head failure.
Exact recoverable heads: WebScene ef1fa16e100883857804f7b7811ceffbe1a29867, AppScene 762bc24c2fb450385d4e6f963ddf3638b3c258f8, WebScene consolidation #76 020f84fa3912eb6040794f2adf7a5873277cce7c, and local unpushed vscode-demo 8e174f84f975838f11019412675dc3f5c6893614. No validation was executed in this refresh.
Parent tracker: #235
Problem
Media changes, viewport resize, hover/focus/active state, transitions, and animations connect CSS invalidation to frame scheduling. Incorrect scope causes stale rendering; excessive scope causes visible-idle CPU and interaction regressions.
Proposed work
- Expand media-query syntax/evaluation and change-listener contracts.
- Cover targeted recascade for viewport/media/state changes.
- Complete transition/animation value progression, fill/delay/cancel/restart behavior, and pseudo-element participation.
- Coalesce style/layout/scene work into bounded frame publication while preserving event/order semantics.
- Measure visible/hidden idle, active animation cadence, input-to-publication, recascade, layout, and scene publication.
Acceptance
- Chromium/native state and timing-order contracts pass.
- Unchanged values do not trigger repeated recascade or scene publication.
- Hidden/settled documents meet idle CPU and zero-publication budgets.
- Active animations publish at the intended cadence without starvation.
- Fix catalog script and logical sizing compatibility #148 media/resize/hover work is the baseline and [Epic] CSS features, compatibility, validation, and performance #235 contains the evidence.
Implementation checkpoint — 19 September 2026
- Animate background colors on the host frame clock #533/Animate background colors on the host frame clock #534: background/background-color transition progression merged as
987b8430. - Interpolate bounded foreground filters on the host clock #537/Interpolate bounded foreground filters #538: bounded compatible foreground-filter transitions merged as
24e31e49. - Animate bounded foreground filters in CSS keyframes #543/Animate foreground filters in CSS keyframes #544: bounded foreground-filter keyframes merged as
ca4fa171.
The keyframe slice preserves authored-order compatible lists, applies correct identities for none/shorter lists, interpolates blur/brightness/contrast/grayscale/saturate on the host clock, feeds CSSOM and scene paint, remains paint-only, and includes finite-fill/event/frame-demand/detach/memory behavior. The child is attached and closed.
Remaining work is cumulative execution and evidence: native/browser temporal contracts, pixel comparison, visible/hidden idle, active cadence, recascade/publication budgets, lifecycle/memory, unchanged Code OSS Chat/dictation acceptance, and exact package qualification. Those gates were authored where applicable but were not run under the current implementation-throughput direction.
Activity
danwalmsley commentedon Sep 17, 2026
Coordination from #245 (head
66af2789): the character-data audit exposed two pre-existing dynamic-state gaps. Textarea :invalid reads the value attribute instead of the live value (fails before mutation); :placeholder-shown is not implemented. No competing dynamic-state implementation was added.The committed candidate css-textarea-dynamic-state.html is listed in the candidate profile: Chrome 6/6, native 0/6, covering all three setters, initial/empty/nonempty state and dirty user value. Padding observations avoid scrollbar-size confounding. Please consume this regression in #242/#237; it remains unfinished acceptance in #235. The separate 47-check setter contract and zero-structural-CSS-work optimization remain #245’s lane.
danwalmsley commentedon Sep 17, 2026
Follow-up: WebScene 6da8c56 + AppScene 3b00e895 passes the normal packaged producer, all 16 native AppScene tests, relocated read-only/source-denied consumer qualification, and installed Kestrel smoke plus existing three-snapshot parsed/compiled parity (376/298/311 nodes, zero differences). Optional GPU presentation suite not run. Correct integration uses AppScene #84’s existing codec-enabled renderer/Skia lock; no hash validation weakened. Native Spotify now shows album art/circular artists, but its header remains clipped. Engine source is unchanged by documentation head 33c174c. The user reports excellent ordinary resize with a narrow→wide breakpoint pause; I am profiling that specific transition under #242, not duplicating other CSS lanes. Details: https://github.com/SceneTech/WebScene/blob/33c174c8/docs/validation/spotify-messageport-startup-20260917.md
danwalmsley commentedon Sep 17, 2026
Breakpoint profiling and bounded optimization pushed at c7859be on #245. The user’s native recording is confirmed by an engine-only Spotify reproduction: media recascade itself accounts for about 315 ms; sampling points mainly to reapplying the affected subtree, not image painting. Reusing the existing pass-local matching context removes repeated positional work: eight siblings 288→8 visits, 128 siblings 128 visits across four transitions. Context ends before matchMedia callbacks. Required repeated-transition/reordering contract passes Chrome/native 2/2; adjacent media-list contract 1/1; five adjacent native groups pass. Chromium testdriver adapter now drives actual viewport changes, not mocked CSS.
Serial production A/B/B/A, 24 measured crossings per variant: median engine dispatch 302.961→235.400 ms (~22% lower), means 315.167→234.250 ms. This is partial progress, not a fixed breakpoint stall or native frame-latency/Chrome-speed claim. The broad subtree cascade remains costly. Previous integrity-qualified SDK/Kestrel evidence is commit-specific to 6da8c56; the candidate development SDK is not release-qualified. The user’s open demo is unchanged. No CI monitoring.
Evidence and rejected diagnostic attempts: https://github.com/SceneTech/WebScene/blob/c7859bec/docs/validation/spotify-breakpoint-profile-20260917.md
danwalmsley commentedon Sep 17, 2026
Follow-up pushed at
51fef1f2on #245: shared candidate matching now reads pseudo kind/exact-host classification from immutable prepared rule payloads and directly matches the already-compiled pseudo origin. Production sampling identified the repeated string classification; no computed-style results are cached across mutations and resize is not deferred.Fresh serial A/B/B/A uses
c7859becas control: 24 crossings per variant, identical 2,723-element/15-image workload. Median dispatch 226.868→195.708 ms (13.7% lower), means 226.796→192.122 ms. This remains a perceptible breakpoint pause, not a physical-frame/Chrome-speed claim. Normal full-subtree cascade still needs further work.Local validation: shared native CSS service; Chrome/native CSSOM + shadow replacement contracts 15/15, media contracts 3/3, adjacent attribute/nested contracts 29/29; cumulative certification scaling 140 route cases, four stable-text cases, 36 vector cases and the original batched fixture; focused media, CSSOM, dimension and shadow geometry native groups. Tests use generated-box geometry because the separate getComputedStyle(element, pseudo) API currently ignores its second argument; gap coordinated in #238. No duplicate implementation of #238 cascade semantics or other agents’ lanes.
The development overlay is not a release-qualified SDK and the open manual demo is unchanged. No CI monitoring. Evidence and limitations.
danwalmsley commentedon Sep 17, 2026
Next #245 profiling lane: production sampling at 51fef1f still points to candidate matching/sorting. A controlled shared-CSS test reproduces unrelated-rule amplification because text indexing truncates the subject at its first pseudo-class: 128 targets visit 4,224→131,200 candidates as unrelated rules grow 32→1,024. I am switching candidate indexing to mandatory features in the already-compiled outer subject compound (not functional-selector arms), preserving full matching. Shared-service candidate work is now 128 at both sizes; runtime/browser gates pending. This also fixes a reproduced escaped-class index miss. No CSS layer/origin or other agents’ dynamic-state implementation changes.
danwalmsley commentedon Sep 17, 2026
Pushed #245 at
5c727756: implementation9cf764f5indexes stylesheet candidates from the already-compiled outer subject (mandatory ID/class/tag/attribute), preserving features after pseudos and escaped identifiers. Control at 128 targets visits 4,224→131,200 candidates when unrelated pseudo-prefixed rules grow 32→1,024; candidate stays at 128. Runtime media cascade stays at 130 checks including provider rules. The old engine also fails escaped-class styling; the expanded Chrome/native contract passes and is now required. Functional alternatives without a mandatory outer key retain the general fallback.Fresh serial Spotify A/B/B/A is timing-neutral: median 194.801→195.292 ms, means 193.622→193.615 ms; no additional Spotify speedup claimed. This does not resolve the ~195 ms breakpoint pause.
Merge
4e9cfd0fintegrates mainee6efa9fcleanly, preserving #254 container/containment and #255 accessibility-preference work rather than duplicating it. Combined local validation: 79/79 native contract checks in ten documents, shared CSS service, six focused native groups, eight subject-index transitions + 140 route cases + four stable-text + 36 vector cases + original batched fixture; portable CSS 364/364 on each of .NET 8 and 10. Both 4,096-node/control lifecycle gates pass (100 cycles each), and production SDK build passes.The packaged/source-denied SDK and populated native Spotify/Chrome presentation gates still need repeating at this merged head. The open manual demo is unchanged, PR remains draft, broader plan remains incomplete, and CI was not monitored. #257 live form-state work remains separately owned. Evidence, rejected attempts and timing limits.
danwalmsley commentedon Sep 17, 2026
Prepared stylesheet SDK integration — 170e0cf
Pushed #245 at
170e0cff(fix86c83845). Exact merged-SDK consumer testing found an integration regression in51fef1f2: runtime parsing set immutable pseudo/host classification, but the UI compiler omitted it from generated stylesheet payloads. The compiler now emits both fields. The old installed compiler fails the new controlled regression; the fixed compiler suite, parsed/persistent-cache/generated stylesheet metadata and scene parity pass. Required generated-text-box CSSOM coverage passes Chrome/native 6/6.The rejected merged package had Kestrel parsed/compiled geometry differences 41/0/41 across the existing three snapshots. Corrected clean WebScene
86c83845+ AppScene68a9dbdSDK passes all 16 AppScene tests, 2,868-file integrity, compiler/runtime profile, eight relocated read-only source-denied consumer gates, installed Kestrel smoke and zero-difference parity (376/376, 298/298, 311/311 nodes). The optional GPU presentation suite was not run; the existing Dawn binary targets macOS 26.5, so macOS 26.0 runtime support is not qualified.The manual native Spotify app has been replaced with the corrected SDK build and visually shows album/circular artist artwork; header clipping remains. A fresh populated engine profile still points to compound matching and candidate sorting, but its 2,726-element/18-image content differs from earlier ABBA and host compilation was active. It is attribution only, not an accepted timing comparison or browser-speed claim. A separate runtime generated-content unitless-line-height mismatch is coordinated in #238. #257 remains separately owned. PR stays draft; full CSS plan and physical native/Chrome resize acceptance remain incomplete. CI was not monitored.
Exact evidence, source identities, rejected attempts and follow-up.
danwalmsley commentedon Sep 17, 2026
Match before precedence sorting — afe98a0
Pushed #245 at
afe98a0f(implementation6aa01a5c). The shared V8/NativeWeb cascade now deduplicates numeric candidate indices first, matches/filter rules, then sorts only successful ordinary and pseudo matches by existing specificity/source precedence. This follows the ordering-stage pattern checked in Chromium ElementRuleCollector; no new computed-style cache, resize deferral, priority semantics or other agents’ dynamic-state implementation was introduced.Focused sparse fixture: candidates 39→1,031, precedence-sort entries remain six. This does not eliminate numeric deduplication or selector work. Reversed discovery, duplicate indices, inactive media, pseudo rules and equal-specificity source order pass; dense matching agrees with the previous full-sort oracle. Shared CSS/precompiled stylesheet gates pass, required CSSOM order/replacement contract Chrome/native 7/7, native contract slice 81/81 in ten documents, cumulative certification scaling (140 route cases plus existing subject/child-vector/text fixtures) and six adjacent runtime groups pass. Development SDK Kestrel parity is still 376/376, 298/298, 311/311 nodes with zero differences.
The serial production Spotify A/B/B/A completed 48 measured crossings, all 2,726 elements/18 images. Its timings are explicitly rejected for speedup/regression claims: medians A1 331.242, B1 195.169, B2 288.624, A2 204.940 ms, with concurrent host compilation and large within-variant variation. Do not pool these into a percentage improvement. This stage proves reduced precedence-sorting work, not another accepted Spotify speedup. A quiet, content-qualified timing run and physical native/Chrome acceptance remain open.
Candidate SDK is a development overlay, not a new integrity-qualified package; the open manual demo remains qualified
86c83845. The full CSS goal is still incomplete, #257 remains separately owned, and CI was not monitored. Implementation scope, checks, rejected attempts and raw timing evidence.danwalmsley commentedon Sep 17, 2026
Pass-local ancestor rejection — d95831c
Pushed #245 at
d95831cc. Added a conservative negative-only ancestor tag/ID/class filter inside existing immutable matching passes. Sibling relations reset requirements; functional-pseudo arms are not treated as mandatory. Hash collisions fall through to full matching, capacity exhaustion disables rejection, and state is discarded before mutations/callbacks. No resize deferral, frame stretching, new cascade semantics, or persistent computed-style cache. Ordinary NativeWeb calls currently have no matching context, so this runtime optimization applies to V8 batch paths, not all NativeWeb queries.For 128 repeated absent-ancestor queries at depth 8/64, the existing prefix-cache-only matcher performs 137/193 compound checks; the new filter performs zero compound checks but builds 9/65 ancestor summaries and still does mask/cache work. Collision, scope, sibling/functional selectors, XML/case, capacity limits, class/ID mutation and reparenting parity pass. Expanded contract passes Chrome/native 7/7; native contract slice 84/84 across ten documents; cumulative 140-route scaling and six adjacent groups pass. Production build, shared parsed/cache/precompiled stylesheet checks and installed-consumer Kestrel parity pass (376/376, 298/298, 311/311 nodes; zero differences).
Production Spotify A/B/B/A timings are again explicitly rejected for speedup/regression claims: medians A1 190.766, B1 132.511, B2 205.426, A2 312.162 ms. Other host compilation began during the comparison. All 48 measured transitions have 2,726 elements/18 images, but content bytes are not qualified. No own builds/tests or profiler overlapped the timing run. This stage demonstrates less matching work, not removal of the visible pause.
The candidate SDK remains a development overlay. The manual app remains the qualified
86c83845build; full CSS-plan completion and physical-frame/Chrome acceptance remain open. #257 stays separately owned. CI was not monitored. Design, tests and raw rejected timing evidence.danwalmsley commentedon Sep 17, 2026
Indexed media-threshold subjects and qualified demo — 47e8414
Pushed #245 at
47e84144(implementation09ccb478). The media-query transition path previously matched every changed rule against every visited element. It now builds a pass-local index from prepared subject keys, preserving original rule IDs, pseudo origins, root/focus handling, universal fallback, full matching and full selected-subtree cascade. No resize deferral/stretching or mutation-lived cache.A new 16-transition native matrix independently varies affected elements (8/128), unrelated nodes (32/1,024), and unmatched changed rules (32/1,024). At the largest eight-element case, activation checks drop from 1,059,866 to 24; 128-element checks drop from 1,183,106 to 384. Deactivation is 16/256 respectively. Computed styles agree, and matching work is invariant under unrelated growth. Index construction and document traversal still scale with rule features/nodes; universal and dense selector work remains.
The network-free installed-production-SDK benchmark uses identical generated DOM/CSS, four warmups and 32 measured crossings per process. All 384 geometry checksums agree across serial A/B/B/A. Sparse dispatch medians move from 17.8–20.4 ms to 0.51–0.68 ms; the dense matching case stays around 22–23 ms. This result is accepted only for the bounded product-neutral fixture, not as a Spotify/Chrome/native-presentation claim. No own builds/tests overlapped timing; pre/post host snapshots showed no compilers. Direct allocation/RSS and physical-cadence acceptance remain open.
Expanded media WPT passes Chrome/native 4/4; native adjacent slice 86/86, Chrome adjacent 62/62, cumulative 140-route scaling plus existing fixtures, six adjacent runtime groups and shared parsed/cache/precompiled gates pass. Chrome focus tests now activate the headless page through Page.bringToFront after diagnostics proved the inactive-page fixture invalid; the focus assertion remains.
Clean WebScene
09ccb478+ AppScene68a9dbdSDK at/Volumes/SSD/sdks/spotify-css-media-qualified-r2-20260917passes all 16 producer tests, 2,868-file manifest, compiler/runtime profile, eight relocated read-only source-denied consumer gates, Kestrel smoke and zero-difference parity (376/298/311 nodes). Its engine archive is identical to the measured candidate. The first producer's existing companion-process timeout failure is retained; isolated and full unchanged reruns passed, without weakened gates. Optional GPU qualification was not run; no macOS 26.0 execution claim.A fresh native Spotify demo is open from that package with album/circular artist artwork. Header clipping remains. Physical resize timing is not qualified; the user changed the window during the attempted UI check. #257 stays separately owned; remaining structural APIs, cascade/layout dependencies and consolidated product gates keep the full plan open. CI was not monitored.
Implementation, bounded benchmark, raw evidence and SDK qualification.
wieslawsoltes commentedon Sep 19, 2026
Focused child #533 completed through #534 at
987b843076035ae86a6cb4279054ebdef79b0375: Code OSS background-color transitions now advance on host timestamps without layout invalidation and release idle demand. The next proven product-used slice is supported filter interpolation for Chat/dictation. Onlygit diff --checkran; all authored temporal/pixel/performance sources remain unexecuted.wieslawsoltes commentedon Sep 19, 2026
Focused child #537 completed through #538 at
24e31e49c574b99674ce679d85731960be1f9286. The next active product-used gap is bounded foreground-filter payload support in existing Chat/dictation keyframes; WAAPI and unrelated properties remain excluded. Execution debt remains deferred.