Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!doctype html>
<meta charset="utf-8">
<title>Marquee forces overflow: hidden</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<marquee style="overflow: visible">&nbsp;</marquee>
<marquee style="overflow: scroll">&nbsp;</marquee>
<marquee style="overflow: clip">&nbsp;</marquee>
<marquee style="overflow: auto">&nbsp;</marquee>
<script>
test(() => {
for (let m of document.querySelectorAll("marquee")) {
assert_equals(getComputedStyle(m).overflow, "hidden", m.style);
}
}, "Marquee should have overflow: hidden !important in the UA stylesheet");
</script>