Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <meta name="robots" content="noindex, nofollow">
  <meta name="googlebot" content="noindex, nofollow">
  
  
  
  
  
  
  <script type="text/javascript" src="/js/lib/dummy.js"></script>
  
  
  
  
    <link rel="stylesheet" type="text/css" href="/css/result-light.css">
  
  
  <style type="text/css">
    
  </style>
  <title></title>
  
    
<script type='text/javascript'>//<![CDATA[
window.onload=function(){
(function () {
  var shadowRoot = document.getElementById("shadow").attachShadow({mode: "closed"});
  shadowRoot.appendChild(document.createTextNode("This is some test text."));
})();
}//]]> 
</script>
  
</head>
<body>
  <div id="shadow"></div>
  
</body>
</html>
Output

This bin was created anonymously and its free preview time has expired (learn why). — Get a free unrestricted account

Dismiss x
public
Bin info
anonymouspro
0viewers