mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-03 07:32:00 +00:00
Previously, `document.getElementsByClassName("")` would return a collection containing all elements in the given document.
8 lines
229 B
HTML
8 lines
229 B
HTML
<!DOCTYPE html>
|
|
<script src="../include.js"></script>
|
|
<div class=""></div>
|
|
<script>
|
|
test(() => {
|
|
println(`document.getElementsByClassName("").length: ${document.getElementsByClassName("").length}`);
|
|
});
|
|
</script>
|