<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>CSS Reftest Reference</title> <style type="text/css"> @page { font: italic 8pt sans-serif; color: gray; margin: 7%; counter-increment: page; @top-left { content: "CSS 2.1 Conformance Test Suite"; } @top-right { content: "Test floats-101-ref"; } @bottom-right { content: counter(page); } } </style> <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <style type="text/css"><![CDATA[ div { border: teal solid 1px; margin: 4px; padding: 4px; } div#outer { height: 178px; margin-top: 20px; width: 178px; } div#inner { height: 160px; width: 160px; } ]]></style> </head> <body> <p>Test passes if there are two nested squares and if the inner square is equidistant from the outer square on all sides.</p> <div id="outer"> <div id="inner">This should be inside the inner square.</div> </div> </body> </html>