Source code

Revision control

Copy as Markdown

Other Tools

Test Info: Warnings

<!DOCTYPE html>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<script>
window.onload = () => {
test(() => {
const frameSet = document.querySelector('frameset');
const frames = document.querySelectorAll('frame');
assert_less_than(frames[0].offsetWidth, frameSet.offsetWidth);
assert_greater_than(frames[0].offsetWidth, frames[1].offsetWidth);
assert_greater_than_equal(frames[1].offsetWidth, 0);
}, 'A large relative value should not produce weird sizes.');
};
</script>
<frameset cols="4294967227*,*" frameborder="0">
<frame src="resources/green.html">
<frame src="resources/red.html">
</frameset>