mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-08 12:37:37 +00:00
21 lines
257 B
HTML
21 lines
257 B
HTML
<!DOCTYPE html>
|
|
<style>
|
|
.test::after {
|
|
content:"::after content";
|
|
}
|
|
</style>
|
|
|
|
<table>
|
|
<tr>
|
|
<td>
|
|
Cell contents
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<script>
|
|
var td = document.querySelector("td");
|
|
td.offsetWidth;
|
|
td.className = "test";
|
|
</script>
|