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 rules with url shouldn't be allowed #1431

Closed
AdamWr opened this issue Apr 2, 2021 · 0 comments
Closed

CSS rules with url shouldn't be allowed #1431

AdamWr opened this issue Apr 2, 2021 · 0 comments

Comments

@AdamWr
Copy link
Member

AdamWr commented Apr 2, 2021

I guess it's related to - #1293 and to this - #659
As far as I understand, using url in CSS rules (#$#) should be blocked and rule like this shouldn't work and it doesn't work:

example.org#$#body { background: lightblue url("https://www.w3schools.com/cssref/img_tree.gif"); }

but if we change url to for example URL or uRl then rule works fine 🙃:

example.org#$#body { background: lightblue URL("https://www.w3schools.com/cssref/img_tree.gif"); }

Link - https://example.org/

Screenshot

image

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

No branches or pull requests

5 participants