mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
LibWeb: Don't extrapolate transition properties for unknown properties
If we don't recognize a given transition-property value as a known CSS property (one that we know about, not necessarily an invalid one), we should not extrapolate the other transition-foo values for it. Fixes #1480
This commit is contained in:
committed by
Andreas Kling
parent
de31ea5852
commit
9765a733d0
@@ -0,0 +1 @@
|
||||
PASS (didn't crash)
|
||||
@@ -0,0 +1,15 @@
|
||||
<style>
|
||||
#foo {
|
||||
transition-property: filter;
|
||||
transition-timing-function: linear;
|
||||
transition-duration:.3s;
|
||||
}
|
||||
</style>
|
||||
<div id="foo"></div>
|
||||
<script src="../include.js"></script>
|
||||
<script>
|
||||
test(() => {
|
||||
foo.offsetWidth;
|
||||
println("PASS (didn't crash)");
|
||||
});
|
||||
</script>
|
||||
Reference in New Issue
Block a user