Skip to content

Restore control styling in PhotoSwipe and browser probes - #3012

Merged
leaf-agent merged 1 commit into
mainfrom
fix/ci-38700868252
Oct 15, 2026
Merged

leaf-agent merged 1 commit into
mainfrom
fix/ci-38700868252

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

#2997 made stylesheet access to Leaf controls explicit. That left PhotoSwipe's runtime stylesheet, which Leaf appends inside its image dialog, subject to page CSS filtering. Its positioning rules no longer reached the viewer, so the fitted image appeared below the stage. Mark that sheet data-controls before attaching it. Browser probes that deliberately style Leaf controls now declare the same access, preserving their original assertions.

This addresses 16 failures in the main CI run. The two other failures in that run were separately repaired by #3003 and #3005; their current tests pass. The 16 affected browser cases pass locally, including both online and exported image previews, compositor frames, the corpus stylesheet-order gate, and control styling. pnpm run check, 487 runtime tests, and changed-file pre-commit checks pass.

@leaf-agent
leaf-agent merged commit 261584c into main Oct 15, 2026
2 checks passed
@leaf-agent
leaf-agent deleted the fix/ci-38700868252 branch October 15, 2026 09:20
leaf-agent added a commit that referenced this pull request Oct 15, 2026
#3000 intentionally holds projected values until contributors register.
The old browser case seeded an admitted `choose` action with an extra
value in a page using the generic playground registry, then expected the
browser to reject that value. Its expectation is obsolete: the value can
belong to a contributor that joins after projection.

Remove the case.
`test_playground_keeps_contributor_drafts_until_reset_or_a_new_choice`
already checks an admitted choice before contributor registration and
the pending slice through undo;
`test_notification_playground_admits_only_its_exact_page_configuration`
checks that a page with an exact value schema refuses extra fields. Both
focused cases pass locally. The obsolete assertion failed in the [main
CI run](https://github.com/max-sixty/leaf/actions/runs/38708320180).
#3012 separately repaired the shared control-styling cause behind 16
failures there.

Co-authored-by: leaf-agent <[email protected]>
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