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

Implement CSS Values 3 extensions to attr() #22265

Open
ExE-Boss opened this issue Nov 24, 2018 · 0 comments
Open

Implement CSS Values 3 extensions to attr() #22265

ExE-Boss opened this issue Nov 24, 2018 · 0 comments
Labels

Comments

@ExE-Boss
Copy link
Contributor

@ExE-Boss ExE-Boss commented Nov 24, 2018

The CSS Values and Units Module Level 3 extends the attr(…) function syntax with a fallback value and the parsed value type.

The main advantage of this is that it allows for properties to be dynamically changed using data attributes without needing to use style-src: 'unsafe-inline' and the style attribute.

Stylo currently doesn’t support this:

/// An attr(...) rule
///
/// `[namespace? `|`]? ident`


See also bug 435426 and bug 1493962

@atouchet atouchet changed the title [content/css] Implement CSS Values 3 extensions to attr() Implement CSS Values 3 extensions to attr() Mar 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.