зеркало из https://github.com/mozilla/pjs.git
31 строка
523 B
HTML
31 строка
523 B
HTML
|
<html>
|
||
|
<head>
|
||
|
<title>dom test - editor inspired - border width dropped during reflow</title>
|
||
|
<script>
|
||
|
function domfunc(){
|
||
|
var td1= document.getElementById("stretch");
|
||
|
var text = document.createTextNode("100000");
|
||
|
td1.appendChild(text);
|
||
|
}
|
||
|
</script>
|
||
|
<style>
|
||
|
td {border:solid 5px green}
|
||
|
</style>
|
||
|
</head>
|
||
|
<body onload="domfunc()">
|
||
|
dom access
|
||
|
<table border="1" cellspacing="1" >
|
||
|
<tr>
|
||
|
<td id="stretch"></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
reference
|
||
|
<table border="1" cellspacing="1" >
|
||
|
<tr>
|
||
|
<td>100000</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
</body>
|
||
|
</html>
|