Skip to content
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

[css-backgrounds-4] background value definition should be redefined #9273

Open
cdoublev opened this issue Aug 30, 2023 · 1 comment
Open

Comments

@cdoublev
Copy link
Collaborator

cdoublev commented Aug 30, 2023

background-clip is redefined with <bg-clip># in CSS Backgrounds 4 but the value definition of background only exists in CSS Backgrounds 3 and does not include <bg-clip>.

Instead of replacing (the second) <visual-box> with <bg-clip>, background (in CSS Backgrounds 3) could be defined with property value ranges to represent all its longhands. This might help clarify the position of background-origin and background-clip, which are currently both defined with <visual-box>. Besides, <bg-image>, <bg-position>, <bg-size>, do not seem useful.

@fantasai
Copy link
Collaborator

fantasai commented Feb 6, 2024

background will get ported to L4 eventually, it's just a diff spec right now because we're still doing major changes / clean-up (and also css-backgrounds-3 needs to get ported to modern Bikeshed markup so we can keep them in sync...)

@cdoublev cdoublev changed the title [css-backgrounds-4] background grammar is missing <bg-clip> Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants