{"action":"created","issue":{"url":"https://api.github.com/repos/servo/servo/issues/9849","repository_url":"https://api.github.com/repos/servo/servo","labels_url":"https://api.github.com/repos/servo/servo/issues/9849/labels{/name}","comments_url":"https://api.github.com/repos/servo/servo/issues/9849/comments","events_url":"https://api.github.com/repos/servo/servo/issues/9849/events","html_url":"https://github.com/servo/servo/issues/9849","id":138030841,"number":9849,"title":"http://j2c.py.gy looks bad and behaves even worse","user":{"login":"pygy","id":54515,"avatar_url":"https://avatars1.githubusercontent.com/u/54515?v=4","gravatar_id":"","url":"https://api.github.com/users/pygy","html_url":"https://github.com/pygy","followers_url":"https://api.github.com/users/pygy/followers","following_url":"https://api.github.com/users/pygy/following{/other_user}","gists_url":"https://api.github.com/users/pygy/gists{/gist_id}","starred_url":"https://api.github.com/users/pygy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pygy/subscriptions","organizations_url":"https://api.github.com/users/pygy/orgs","repos_url":"https://api.github.com/users/pygy/repos","events_url":"https://api.github.com/users/pygy/events{/privacy}","received_events_url":"https://api.github.com/users/pygy/received_events","type":"User","site_admin":false},"labels":[{"id":381331209,"url":"https://api.github.com/repos/servo/servo/labels/A-webcompat","name":"A-webcompat","color":"d7e102","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-03-02T23:57:30Z","updated_at":"2017-09-30T22:28:50Z","closed_at":null,"author_association":"NONE","body":"The site of my CSS in JS project is completely broken in Servo. [Here's a snapshot of its current incarnation because it is bound to evolve](http://pygy.github.io/servo-rendering-bugs/j2c/j2c/index.html)...\n\nThe fact that the CSS is generated in JS turned into a string then inserted with (paraphrasing slightly)\n\n``` JS\nvar css = j2c.sheet({/* do the CSS in JS thing */})\n    head = document.head || document.getElementsByTagName('head')[0],\n    style = document.createElement('style');\n\nstyle.type = 'text/css';\nif (style.styleSheet){\n  style.styleSheet.cssText = css;\n} else {\n  style.appendChild(document.createTextNode(css));\n}\n\nhead.appendChild(style);\n```\n\n...may or may not be a red herring. I'll investigate further in the upcoming days.\n\nThe scripts fail later on, but at that point, the style sheet has been generated and inserted in the DOM.\n"},"comment":{"url":"https://api.github.com/repos/servo/servo/issues/comments/333340146","html_url":"https://github.com/servo/servo/issues/9849#issuecomment-333340146","issue_url":"https://api.github.com/repos/servo/servo/issues/9849","id":333340146,"user":{"login":"nox","id":123095,"avatar_url":"https://avatars0.githubusercontent.com/u/123095?v=4","gravatar_id":"","url":"https://api.github.com/users/nox","html_url":"https://github.com/nox","followers_url":"https://api.github.com/users/nox/followers","following_url":"https://api.github.com/users/nox/following{/other_user}","gists_url":"https://api.github.com/users/nox/gists{/gist_id}","starred_url":"https://api.github.com/users/nox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nox/subscriptions","organizations_url":"https://api.github.com/users/nox/orgs","repos_url":"https://api.github.com/users/nox/repos","events_url":"https://api.github.com/users/nox/events{/privacy}","received_events_url":"https://api.github.com/users/nox/received_events","type":"User","site_admin":false},"created_at":"2017-09-30T22:28:50Z","updated_at":"2017-09-30T22:28:50Z","author_association":"MEMBER","body":"Servo now panics immediately opening the link in comment."}}
{"actor":{"display_login":"nox"}}