serenity/Tests/LibWeb/Ref/change-opacity.html
Aliaksandr Kalenik 1036e104ef LibWeb: Remove cache for Paintable::is_visible()
...because it depends on computed values that could be changed without
rebuilding paintable tree.
2024-03-25 14:17:30 +01:00

15 lines
312 B
HTML

<!DOCTYPE html>
<link rel="match" href="reference/change-opacity-ref.html" />
<style>
#box {
width: 100px;
height: 100px;
background-color: greenyellow;
opacity: 0;
}
</style>
<div id="box"></div>
<script>
document.getElementById("box").style.opacity = "1";
</script>