We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
content: attr(foo)
<!DOCTYPE html> <html> <head> <script src="polymer.min.js"></script> <polymer-element name="my-elem" noscript> <template> <style> :host::before { content: attr(data-foo); } </style> <span><content/></span> </template> </polymer-element> </head> <body> <my-elem data-foo="quux">baz</my-elem> </body> </html>
displays as quux baz with native ShadowDOM, but the polyfill shows attr(data-foo)baz instead. This appears to happen because it generates
quux baz
attr(data-foo)baz
my-elem ::before { content: 'attr(data-foo)'; }
when rejiggering the scoped styles.
The text was updated successfully, but these errors were encountered:
googlearchive/platform-dev@b24f481
No branches or pull requests
displays as
quux baz
with native ShadowDOM, but the polyfill showsattr(data-foo)baz
instead. This appears to happen because it generateswhen rejiggering the scoped styles.
The text was updated successfully, but these errors were encountered: