{"action":"created","issue":{"url":"https://api.github.com/repos/dart-lang/dev_compiler/issues/521","repository_url":"https://api.github.com/repos/dart-lang/dev_compiler","labels_url":"https://api.github.com/repos/dart-lang/dev_compiler/issues/521/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/dev_compiler/issues/521/comments","events_url":"https://api.github.com/repos/dart-lang/dev_compiler/issues/521/events","html_url":"https://github.com/dart-lang/dev_compiler/issues/521","id":150142970,"number":521,"title":"implement custom elements correctly in ddc","user":{"login":"jmesserly","id":1081711,"avatar_url":"https://avatars.githubusercontent.com/u/1081711?v=3","gravatar_id":"","url":"https://api.github.com/users/jmesserly","html_url":"https://github.com/jmesserly","followers_url":"https://api.github.com/users/jmesserly/followers","following_url":"https://api.github.com/users/jmesserly/following{/other_user}","gists_url":"https://api.github.com/users/jmesserly/gists{/gist_id}","starred_url":"https://api.github.com/users/jmesserly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmesserly/subscriptions","organizations_url":"https://api.github.com/users/jmesserly/orgs","repos_url":"https://api.github.com/users/jmesserly/repos","events_url":"https://api.github.com/users/jmesserly/events{/privacy}","received_events_url":"https://api.github.com/users/jmesserly/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dart-lang/dev_compiler/labels/area-dev-compiler","name":"area-dev-compiler","color":"c5def5"},{"url":"https://api.github.com/repos/dart-lang/dev_compiler/labels/dev-compiler-sdk","name":"dev-compiler-sdk","color":"006b75"},{"url":"https://api.github.com/repos/dart-lang/dev_compiler/labels/P2%20medium","name":"P2 medium","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":20,"created_at":"2016-04-21T17:41:43Z","updated_at":"2016-09-13T20:55:12Z","closed_at":null,"body":"split from https://github.com/dart-lang/dev_compiler/issues/517\r\n\r\ncustom elements in our dart:html are implemented in some way that depends on dart2js interceptors.\r\nBut we should be able to do something much more like how ES6 classes are used with custom elements."},"comment":{"url":"https://api.github.com/repos/dart-lang/dev_compiler/issues/comments/246820990","html_url":"https://github.com/dart-lang/dev_compiler/issues/521#issuecomment-246820990","issue_url":"https://api.github.com/repos/dart-lang/dev_compiler/issues/521","id":246820990,"user":{"login":"jmesserly","id":1081711,"avatar_url":"https://avatars.githubusercontent.com/u/1081711?v=3","gravatar_id":"","url":"https://api.github.com/users/jmesserly","html_url":"https://github.com/jmesserly","followers_url":"https://api.github.com/users/jmesserly/followers","following_url":"https://api.github.com/users/jmesserly/following{/other_user}","gists_url":"https://api.github.com/users/jmesserly/gists{/gist_id}","starred_url":"https://api.github.com/users/jmesserly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmesserly/subscriptions","organizations_url":"https://api.github.com/users/jmesserly/orgs","repos_url":"https://api.github.com/users/jmesserly/repos","events_url":"https://api.github.com/users/jmesserly/events{/privacy}","received_events_url":"https://api.github.com/users/jmesserly/received_events","type":"User","site_admin":false},"created_at":"2016-09-13T20:55:12Z","updated_at":"2016-09-13T20:55:12Z","body":"yeah html$.HtmlElement should be mixed into HTMLElement.\r\n\r\nFor your custom element, you want it to inherit from HTMLElement most likely. Likely need a tweak in the compiler to understand that when user classes inherit from \"native\" SDK classes, they need to use the \"native\" type not the Dart type."}}
{"actor":{"display_login":"jmesserly"}}