blob: ea9a25bca88a23f16aea96845f3e03330f33404a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
<!DOCTYPE html>
<html class="reftest-wait">
<style>
tr::before {
content: "Some text";
display: table-cell;
}
tr.i::before {
text-indent: 50px;
}
</style>
<table cellpadding="0">
<tr></tr>
</table>
<script>
onload = function() {
var tr = document.querySelector("tr");
// Make sure it's laid out
window.w = tr.offsetWidth;
document.querySelector("tr").className = "i";
document.documentElement.className = "";
}
</script>
</html>
|