GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — wpt/css/cssom/computed-style-002.html at master · web-platform-tests/wpt Expand file tree/ Copy pathcomputed-style-002.htmlMore file actions 17 lines (16 loc) · 785 Bytes / Copy pathcomputed-style-002.htmlFile metadata and controls17 lines (16 loc) · 785 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 <!DOCTYPE html> <title>CSS Test: getComputedStyle - resolved width in iframe</title> <link rel="help" href="https://drafts.csswg.org/cssom/#resolved-values" /> <script src="/resources/testharness.js"></script> <script src="/resources/testharnessreport.js"></script> <iframe id="frm" width="100"></iframe> <script> test(() => { const frmDoc = frm.contentWindow.document; frmDoc.open(); frmDoc.write('<body style="margin:0"><div style="width:100%"></div>'); frmDoc.close(); assert_equals(frm.contentWindow.getComputedStyle(frmDoc.querySelector("div")).width, "100px"); }, "Check that a percent width in an iframe is resolved against iframe width for getComputedStyle."); </script> |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |