|
<!DOCTYPE html>
|
|
<script>
|
|
onload = function() {
|
|
var height = document.body.offsetHeight; // Flush layout
|
|
document.querySelector("fieldset").style.color = "green";
|
|
}
|
|
</script>
|
|
<fieldset style="display: list-item; margin: 40px; color: red">
|
|
Bullet should be green
|
|
</fieldset>
|