Skip to content

Paint Code OSS placeholder pseudo styles - #738

Merged
wieslawsoltes merged 1 commit into
mainfrom
feature/code-oss-pseudo-selector-237
Sep 19, 2026
Merged

wieslawsoltes merged 1 commit into
mainfrom
feature/code-oss-pseudo-selector-237

Conversation

@wieslawsoltes

Copy link
Copy Markdown
Collaborator

Problem

Unchanged Code OSS core contains 12 standard ::placeholder rules. WebScene already parsed ::placeholder and painted live input/textarea placeholder strings, but pseudo classification discarded every authored placeholder declaration, so theme colors and opacity never reached the retained scene.

Change

  • classify ::placeholder as its own compiled pseudo kind
  • retain only the Code OSS-observed paint state: resolved color, a specified bit, and bounded opacity
  • allocate that state lazily inside the existing copy-on-write pseudo storage
  • resolve custom properties after the originating element's completed cascade
  • reset and recascade the complete record on class, stylesheet, variable, and selector changes
  • apply placeholder color and alpha to the existing text scene command only while the control is empty
  • keep typed-value suppression without destroying computed placeholder state
  • add native cascade/scene contracts, candidate browser coverage, capability metadata, and the exact remaining pseudo inventory

This adds no generated box, layout work, tree scan, visual-tree node, polling, or sustained frame demand. Code OSS remains unchanged.

Scope

This advances #237 and parent CSS epic #235. Remaining Code OSS pseudo work includes ::details-content, functional ::highlight(), details markers, native control parts, and legacy placeholder aliases. Broader shadow/marker/first-line/first-letter and physical package/performance qualification remain open.

Validation

git diff --check passed. Builds and tests were intentionally deferred under the current fast-integration policy.

@wieslawsoltes
wieslawsoltes merged commit 8a58690 into main Sep 19, 2026
1 of 8 checks passed
@wieslawsoltes
wieslawsoltes deleted the feature/code-oss-pseudo-selector-237 branch September 19, 2026 19:50
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