Created
October 10, 2013 00:24
-
-
Save sorvell/6910966 to your computer and use it in GitHub Desktop.
chrome crash repro
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script src="../../polymer/polymer.js"></script> | |
</head> | |
<body> | |
<polymer-element name="x-test"> | |
<template> | |
<style> | |
@host { | |
} | |
</style> | |
<style></style> | |
</template> | |
<script> | |
Polymer('x-test', { | |
ready: function() { | |
setTimeout(function() { | |
var s = document.createElement('style'); | |
this.shadowRoot.insertBefore(s, this.shadowRoot.lastElementChild); | |
}.bind(this), 1000); | |
} | |
}); | |
</script> | |
</polymer-element> | |
<x-test></x-test> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment