Repository navigation
feat(style): expose resolved content provenance - #2
Open
lanyue-llk wants to merge 5 commits into
Open
lanyue-llk wants to merge 5 commits into
lanyue-llk wants to merge 5 commits into
Conversation
Author
Author
|
更正此前“已归并到 #1、#2 重复”的说明:复核后确认两项 PR 解决的是不同问题。#1 是 preferred text scale 环境支持;本 PR #2 提供 Moli #919 实际需要的 resolved visibility / final opacity content provenance,不能由 #1 替代。 本 PR 已同步 Stylo |
This was referenced Oct 8, 2026
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.
Why
Moli #919 needs style facts that only Stylo can determine after the real cascade and keyframe selection:
visibilityvalue is established on the element or inherited after variable substitution and cascade rollback;Rewalking rule nodes or parsing stylesheet text in the consumer loses variable, layer, tree-scope, duplicate-offset, and effect-stack semantics.
Changes
HAS_OWN_VISIBILITYafter substitution and rollback select the winning declaration;NoEffect,Underlying,Replace(value), orUnknown;Both APIs are read-only. They add no parser, retained per-node cache, site rule, or case identifier.
Consumer
lexmount/moli#919consumes both facts for reader-visible Markdown extraction.Validation
cargo +1.96.1 check -p stylo --features servopassed for the implementation before the split;finish()independently confirms reveal then neutral endpoint1, neutral endpoint then reveal1, neutral endpoint alone0, and reveal then a no-fill effect1;This PR is based directly on
lexmount/stylo:moliand contains only the resolved content provenance required by Moli #919.