mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 17:55:07 +02:00
This updates the `parse_text_decoration_line_value` to reject values which non-exclusively include `none` e.g. `underline none`. It also simplifies handling by always producing a Vector (except for `none`) and adding VERIFY_NOT_REACHED in more places which shouldn't be reachable.
14 lines
241 B
HTML
14 lines
241 B
HTML
<!DOCTYPE html>
|
|
|
|
<style>
|
|
#foo {
|
|
text-decoration-line: underline none;
|
|
}
|
|
</style>
|
|
<script src="../include.js"></script>
|
|
<script>
|
|
test(() => {
|
|
println(document.styleSheets[0].cssRules[0].cssText);
|
|
});
|
|
</script>
|