mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-19 15:32:31 +00:00
19 lines
543 B
HTML
19 lines
543 B
HTML
<!DOCTYPE html>
|
|
<script src="../include.js"></script>
|
|
<div id="target"></div>
|
|
<script>
|
|
test(() => {
|
|
let inputs = [
|
|
"fit-content(10%)",
|
|
"fit-content( 10%)",
|
|
"fit-content(10% )",
|
|
"fit-content( 10% )",
|
|
];
|
|
let target = document.getElementById('target');
|
|
for (let input of inputs) {
|
|
target.style.width = '';
|
|
target.style.width = input;
|
|
println(`"${input}" became "${target.style.width}"`);
|
|
}
|
|
});
|
|
</script>
|