Skip to content

[fill-stroke] Clarify property definitions applying to "inline boxes" #6823

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
SebastianZ opened this issue Nov 20, 2021 · 2 comments · Fixed by w3c/fxtf-drafts#441
Closed

Comments

@SebastianZ
Copy link
Contributor

Several of the properties of CSS Fill and Stroke 3 apply to "inline boxes". Though there's no definition for that in the spec. nor a referene to the definition in the Display spec., which I assume is the one that's meant.

Besides that, I wonder whether it's actually correct that they apply to inline boxes. According to their definition, they should rather apply to the text itself or simply to "all elements". E.g. it seems a bit arbitrary that fill-origin applies to all elements while fill-image only applies to inline boxes and SVG shapes. (The latter even claims that its values work the same as for background-image, which applies to all elements.

Sebastian

@Loirooriol
Copy link
Contributor

See #5303:

RES0LVED: inheritable properties that apply to inlines also apply to text

So all these "Applies to: inline boxes" should be "Applies to: text"

@SebastianZ
Copy link
Contributor Author

@Loirooriol Thank you for the hint!

I just realized I already opened an issue for that earlier this year in the fxtf repository. I closed the other one now.

Sebastian

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants