mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 10:07:15 +02:00
Tests: Import/create tests related to absolutization of StyleValues
Done in a separate commit to show progress
This commit is contained in:
Notes:
github-actions[bot]
2025-08-06 16:45:54 +00:00
Author: https://github.com/Calme1709 Commit: https://github.com/LadybirdBrowser/ladybird/commit/70cb8d23fb4 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5699 Reviewed-by: https://github.com/AtkinsSJ ✅
@@ -0,0 +1,13 @@
|
||||
<!DOCTYPE html>
|
||||
<style>
|
||||
#foo {
|
||||
background-size: calc(1em - 1px) calc(1em - 1px);
|
||||
}
|
||||
</style>
|
||||
<div id="foo"></div>
|
||||
<script src="../include.js"></script>
|
||||
<script>
|
||||
test(() => {
|
||||
println(getComputedStyle(foo).backgroundSize);
|
||||
});
|
||||
</script>
|
||||
Reference in New Issue
Block a user