зеркало из https://github.com/mozilla/gecko-dev.git
32 строки
1.0 KiB
HTML
32 строки
1.0 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<script>
|
|
window.onload = function() {
|
|
setInterval(
|
|
function next_step() {
|
|
var style = document.createElement('style');
|
|
style.innerHTML = "{ }";
|
|
document.getElementsByTagName("*")[ 7 ].appendChild(style);
|
|
window.dump('.');
|
|
}, 10);
|
|
}
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div id="console"></div>
|
|
<div id="parentDiv">
|
|
<div id="left-to-right" dir="auto" class="testElement">
|
|
<input type="text" value="מקור השם עברית">Test test test
|
|
</div>
|
|
</div>
|
|
<script id="des">
|
|
var el = document.getElementById("left-to-right");
|
|
document.defaultView.getComputedStyle(el).getPropertyValue('border-right-color');
|
|
|
|
document.getElementById("parentDiv").style.display = "none";
|
|
</script>
|
|
|
|
</body>
|
|
</html>
|