Repository navigation
Restore control styling in PhotoSwipe and browser probes - #3012
Merged
Merged
Conversation
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]>
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.
#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-controlsbefore 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.