blob: 9b0724ed515e5c01a7075e74efd7aa46d82b00d1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
<!DOCTYPE html>
<html class="reftest-wait">
<button>Some text</button>
<script>
onload = function() {
var obj = document.querySelector("button");
window.w = obj.getBoundingClientRect().width;
obj.style.textIndent = "50px";
document.documentElement.className = "";
}
</script>
</html>
|