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

Don't load external stylesheets if the <link> node's media query doesn't match #8085

Open
tschneidereit opened this issue Oct 19, 2015 · 2 comments
Labels

Comments

@tschneidereit
Copy link
Contributor

@tschneidereit tschneidereit commented Oct 19, 2015

This is currently a [TODO in layout_task.rs], but will move into htmllinkelement.rs in #8039.

@jdm jdm added the A-content/dom label Oct 19, 2015
@nox
Copy link
Member

@nox nox commented Sep 30, 2017

This is still true.

@emilio
Copy link
Member

@emilio emilio commented Feb 25, 2018

This presumable needs to be true forever, not loading sheets where the media doesn't match will mess up CSSOM and what not.

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
4 participants
You can’t perform that action at this time.