mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 11:49:44 +00:00
LibWeb: Fix infinite loop in CSS::Parser::parse_transition_value()
This commit is contained in:
parent
906c69c6d1
commit
87155c7b1d
Notes:
sideshowbarker
2024-07-18 02:13:10 +09:00
Author: https://github.com/mattco98
Commit: 87155c7b1d
Pull-request: https://github.com/SerenityOS/serenity/pull/23768
3 changed files with 30 additions and 8 deletions
|
@ -0,0 +1,15 @@
|
|||
<!DOCTYPE html>
|
||||
<style>
|
||||
#foo {
|
||||
transition: background-color 1s 2s linear,
|
||||
opacity,
|
||||
this is an invalid property value;
|
||||
}
|
||||
</style>
|
||||
<div id="foo"></div>
|
||||
<script src="../../include.js"></script>
|
||||
<script>
|
||||
test(() => {
|
||||
println("PASS! (Did not crash/timeout)");
|
||||
});
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue