mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-28 10:37:17 +02:00
LibWeb: Support calculated value in @counter-style pad descriptor
This commit is contained in:
committed by
Jelle Raaijmakers
parent
88ac590e9d
commit
3783dd96a3
Notes:
github-actions[bot]
2026-02-12 00:28:16 +00:00
Author: https://github.com/Calme1709 Commit: https://github.com/LadybirdBrowser/ladybird/commit/3783dd96a32 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/7844 Reviewed-by: https://github.com/gmta ✅
@@ -0,0 +1,12 @@
|
||||
<!doctype html>
|
||||
<style>
|
||||
@counter-style foo {
|
||||
pad: calc(sign(1em - 1px) + 1) "0";
|
||||
}
|
||||
</style>
|
||||
<script src="../include.js"></script>
|
||||
<script>
|
||||
test(() => {
|
||||
println(document.styleSheets[0].cssRules[0].cssText);
|
||||
});
|
||||
</script>
|
||||
Reference in New Issue
Block a user