mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-26 11:45:37 +00:00
39fc6ece65
MozReview-Commit-ID: JeO0ZksC8E5 --HG-- extra : rebase_source : 474c60f2282f5697fb5abe2fa3aec83692de3efd
12 lines
283 B
HTML
12 lines
283 B
HTML
<!doctype html>
|
|
<html style="font-size: 8px">
|
|
<div style="font-size: 2rem">Should be 16px black text.</div>
|
|
<script>
|
|
window.onload = function() {
|
|
let div = document.querySelector('div');
|
|
window.getDefaultComputedStyle(div).color;
|
|
div.style.color = "black";
|
|
}
|
|
</script>
|
|
</html>
|