mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-10 02:51:55 +00:00
19 lines
499 B
HTML
19 lines
499 B
HTML
<!DOCTYPE html>
|
|
<style>
|
|
#theDiv {
|
|
width: max-content;
|
|
}
|
|
</style>
|
|
<script src="../include.js"></script>
|
|
<div id="theDiv">heLLo FrIends</div>
|
|
<script>
|
|
test(() => {
|
|
println(theDiv.offsetWidth);
|
|
theDiv.style.textTransform = 'uppercase';
|
|
println(theDiv.offsetWidth);
|
|
theDiv.style.textTransform = 'lowercase';
|
|
println(theDiv.offsetWidth);
|
|
theDiv.style.textTransform = 'capitalize';
|
|
println(theDiv.offsetWidth);
|
|
});
|
|
</script>
|