Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test has a WPT meta file that expects 1 subtest issues.
- This WPT test may be referenced by the following Test IDs:
- /html/rendering/non-replaced-elements/the-frameset-and-frame-elements/large-rows-relsize.html - WPT Dashboard Interop Dashboard
<!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].offsetHeight, frameSet.offsetHeight);
assert_greater_than(frames[0].offsetHeight, frames[1].offsetHeight);
assert_greater_than_equal(frames[1].offsetHeight, 0);
}, 'A large relative value should not produce weird sizes.');
};
</script>
<frameset rows="4294967227*,*" frameborder="0">
<frame src="resources/green.html">
<frame src="resources/red.html">
</frameset>