Skip to content

Implement static Code OSS details content - #739

Merged
wieslawsoltes merged 1 commit into
mainfrom
feature/details-content-pseudo-237
Sep 19, 2026
Merged

wieslawsoltes merged 1 commit into
mainfrom
feature/details-content-pseudo-237

Conversation

@wieslawsoltes

Copy link
Copy Markdown
Collaborator

The unchanged Code OSS chat workbench uses ten ::details-content rules, but WebScene previously discarded the pseudo and exposed neither the disclosure layout nor HTMLDetailsElement.open. This adds the bounded static subset needed by those rules: closed/open content suppression, zero/auto block size, opacity, logical inline-start margin/padding/border, generated open reflection, and first-summary activation.

The implementation keeps one lazy pseudo record and retained geometry, respects inherited RTL direction, preserves nearer native activation for buttons and links inside the summary, and adds no polling or idle-frame demand. It intentionally leaves keyword-size animation timing, discrete content-visibility, border-image gradients, implicit summaries, details name groups, and programmatic toggle-task coalescing in issue #237.

Validation in this implementation-first pass: git diff --check only, per the current fast-merge policy. The PR adds focused native and browser-candidate regression contracts for the next consolidated validation run.

Related: #237, #235

@wieslawsoltes
wieslawsoltes merged commit 6ec61c7 into main Sep 19, 2026
2 of 8 checks passed
@wieslawsoltes
wieslawsoltes deleted the feature/details-content-pseudo-237 branch September 19, 2026 20:13
This was referenced Sep 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant