1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/browser/base/content/test/plugins/plugin_syncRemoved.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,14 @@ 1.4 +<!DOCTYPE html> 1.5 +<html> 1.6 +<head> 1.7 +<meta charset="utf-8"> 1.8 +<body> 1.9 +<script type="text/javascript"> 1.10 + // create an embed, insert it in the doc and immediately remove it 1.11 + var embed = document.createElement('embed'); 1.12 + embed.setAttribute("type", "application/x-test"); 1.13 + embed.setAttribute("style", "width: 0px; height: 0px;"); 1.14 + document.body.appendChild(embed); 1.15 + window.getComputedStyle(embed, null).top; 1.16 + document.body.remove(embed); 1.17 +</script>