blob: e45672e5ebea7f1db0203cc0d2c5e510d65f39da (
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
25
26
27
|
<!DOCTYPE html>
<html>
<head>
<head>
<style>
table table
{ border-collapse: collapse; border-style: solid; border-width: 10px }
</style>
</head>
</head>
<body>
<table><tr>
<td style="border: 0px solid green; color: red">
<table style="border-color: inherit">
<tr><td></td></tr>
</table>
<table id="test">
<tr><td></td></tr>
</table>
<script>
document.body.offsetWidth;
document.getElementById("test").style.borderColor = "inherit";
</script>
</td>
</tr></table>
</body>
</html>
|