mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 05:11:16 +00:00
16 lines
226 B
HTML
16 lines
226 B
HTML
<!DOCTYPE html>
|
|
<style>
|
|
.test::after {
|
|
content:"::after content";
|
|
}
|
|
</style>
|
|
|
|
<button>
|
|
Button contents
|
|
</button>
|
|
<script>
|
|
var td = document.querySelector("button");
|
|
td.offsetWidth;
|
|
td.className = "test";
|
|
</script>
|