Skip to content

NA-NATIVE-2: eight web-only properties are not applicable on native - #234

Open
thejackshelton wants to merge 2 commits into
masterfrom
claude/webkit-aliases-native-na-mv5iob
Open

thejackshelton wants to merge 2 commits into
masterfrom
claude/webkit-aliases-native-na-mv5iob

Conversation

@thejackshelton

@thejackshelton thejackshelton commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

Requested by Jack · project thread

Before: a stylesheet using -webkit-tap-highlight-color, -webkit-font-smoothing, text-size-adjust, forced-color-adjust, -webkit-user-drag or print-color-adjust was blocked on iOS and Android with DRAGON_UNSUPPORTED_PROPERTY.

After: those properties (and the prefixed spellings -webkit-text-size-adjust and -webkit-print-color-adjust) compile on iOS and Android with a DRAGON_NOT_APPLICABLE_NATIVE info, and the native output is byte-identical to the document without them. Web still refuses them, exactly as before.

These are the NA-NATIVE-2 candidates from coverage-rank (#146) whose only effects are browser chrome, macOS text rendering, mobile-browser text inflation, forced-colors mode, mouse drag or printing. Left off on purpose and pinned as still refused: text-rendering (optimizeSpeed turns off kerning and ligatures) and break-inside (it fragments columns, not only pages). speak, orphans, widows, page-break-*, size and @charset/@page are not in this PR.

How: eight entries in profiles/not-applicable-native.ts, each with its reason; the existing per-entry tests in not-applicable-native.test.ts cover every new entry (no error and one info per native target; native programs, Swift and Kotlin unchanged; web refusal unchanged). docs/api.md names the new list.

The cheap -webkit- alias work this lane was also asked about already landed (flex, box-sizing, logical and animation families). The aliases still missing (-webkit-border-radius, -webkit-transform, -webkit-background-*, -webkit-mask-*, -webkit-box-shadow, -webkit-user-select) wait on their property's lane, so this PR adds none.

Owner review: the repo asks for per-entry owner review of NA-NATIVE-2 entries; the list was put to Jack in the project thread.

What passed (all on head ca838e4)

Tests changed

  • not-applicable-native.test.ts: the list pin grows by the eight names (the list is what changed); two off-list cases added. No check removed or loosened.

🤖 Generated with Claude Code

https://claude.ai/code/session_01JKaoLmr6Q9ij268L5imav2


Generated by Claude Code

-webkit-tap-highlight-color, -webkit-font-smoothing, text-size-adjust and
-webkit-text-size-adjust, forced-color-adjust, -webkit-user-drag, and
print-color-adjust and -webkit-print-color-adjust compile with an info
diagnostic on iOS and Android and change nothing in the native output; web
still refuses them. text-rendering and break-inside are pinned as off the list.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JKaoLmr6Q9ij268L5imav2
@thejackshelton thejackshelton self-assigned this Oct 9, 2026
Commands: pnpm regen --skip lanes-host --skip tw-sweep (macos-26) and pnpm regen --only lanes-host (xcode-27), alternated
to a fixed point, then pnpm regen --only tw-sweep (macos-26).
Base: 9e54843
Run: https://github.com/compiled-run/dragoncss/actions/runs/37898590741

This branch has not been deployed

No deployments
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.

2 participants