summaryrefslogtreecommitdiffstats
path: root/browser/base/content/test/plugins/plugin_syncRemoved.html
blob: d977870561b29c43090d69d6c152919c17f01429 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<body>
<script type="text/javascript">
  // create an embed, insert it in the doc and immediately remove it
  var embed = document.createElement('embed');
  embed.setAttribute("id", "test");
  embed.setAttribute("type", "application/x-test");
  embed.setAttribute("style", "width: 0px; height: 0px;");
  document.body.appendChild(embed);
  window.getComputedStyle(embed, null).top;
  document.body.remove(embed);
</script>