mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-30 05:35:31 +00:00
28 lines
560 B
HTML
28 lines
560 B
HTML
<!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>
|