mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-13 10:27:05 +02:00
Not every value in a StyleProperties will be non-null by the time we perform `revert`, so let's make a specialized function for reverting a property instead of using the path that requires the value to be non-null. (cherry picked from commit a10610a1cad56294089fc9457e713eb7083312cd)
10 lines
160 B
HTML
10 lines
160 B
HTML
<style>
|
|
div { all: revert; }
|
|
</style>
|
|
<script src="../include.js"></script>
|
|
<script>
|
|
test(() => {
|
|
println("PASS (didn't crash)");
|
|
});
|
|
</script>
|