mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-09 02:21:53 +00:00
13 lines
378 B
HTML
13 lines
378 B
HTML
<!DOCTYPE html>
|
|
<b>foo<div>bar</div>baz</b>
|
|
<script src="../include.js"></script>
|
|
<script>
|
|
test(() => {
|
|
const b = document.querySelector('b');
|
|
|
|
println(`b.offsetTop: ${b.offsetTop}`);
|
|
println(`b.offsetLeft: ${b.offsetLeft}`);
|
|
println(`b.offsetWidth: ${b.offsetWidth}`);
|
|
println(`b.offsetHeight: ${b.offsetHeight}`);
|
|
});
|
|
</script>
|