mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-23 18:26:15 +00:00
7651afbdb1
MozReview-Commit-ID: K0QCJgwhEMN --HG-- extra : rebase_source : 64e8e14fd63fb161ba063756ec1062262ffc8c66
15 lines
214 B
HTML
15 lines
214 B
HTML
<!doctype html>
|
|
<style>
|
|
div::before {
|
|
content: none;
|
|
}
|
|
.foo::before {
|
|
content: "Woof";
|
|
}
|
|
</style>
|
|
<div></div>
|
|
<script>
|
|
document.body.offsetTop;
|
|
document.querySelector('div').classList.add('foo');
|
|
</script>
|