mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 17:55:07 +02:00
Previously we would not propagate text-shadow changes when it's changed from some value to none. Fixes https://github.com/LadybirdBrowser/ladybird/issues/6580
20 lines
536 B
HTML
20 lines
536 B
HTML
<!DOCTYPE html>
|
|
<style>
|
|
span:hover {
|
|
text-shadow: 0 0 3px #58a1e6;
|
|
}
|
|
</style>
|
|
<script src="./include.js"></script>
|
|
<span>Hover over this span</span>
|
|
<script>
|
|
test(() => {
|
|
// hover
|
|
internals.movePointerTo(10, 10);
|
|
println("hovered text-shadow: " + getComputedStyle(document.querySelector("span")).textShadow);
|
|
|
|
// unhover
|
|
internals.movePointerTo(0, 0);
|
|
println("unhovered text-shadow: " + getComputedStyle(document.querySelector("span")).textShadow);
|
|
});
|
|
</script>
|