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

Stylesheets throw exception if toolkit-scope is defined and the element definition is inline #127

Closed
dfreedm opened this issue May 10, 2013 · 2 comments
Assignees

Comments

@dfreedm
Copy link
Member

dfreedm commented May 10, 2013

For this document:

<!DOCTYPE html>
<html>
<head>
  <script src="toolkitchen/toolkit/toolkit.js"></script>
</head>
<body>
  <element name="x-fail">
    <link rel="stylesheet" toolkit-scope="global">
    <script>Toolkit.register(this)</script>
  </element>
  <x-fail></x-fail>
</body>
</html>

The styling mechanism will throw an exception because it expects the stylesheet to have been loaded by HTMLImports

@ghost ghost assigned sorvell May 10, 2013
@morethanreal
Copy link
Contributor

Actually it also happens without toolkit-scope.

@sorvell
Copy link
Contributor

sorvell commented Jun 13, 2013

Fixed by f741201

Actual fix is here: googlearchive/HTMLImports@d7a84dd

@sorvell sorvell closed this as completed Jun 13, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants