tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

object--auto-auto--0-0.html (927B)


      1 <!--
      2     Any copyright is dedicated to the Public Domain.
      3     http://creativecommons.org/publicdomain/zero/1.0/
      4 -->
      5 <html xmlns="http://www.w3.org/1999/xhtml">
      6  <head>
      7 
      8    <!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=294086 -->
      9 
     10    <title>Test: width:auto; height:auto; width="0" height="0"</title>
     11 
     12    <!--
     13    This testcase checks that the <object> element uses the intrinsic width and
     14    height of the embedded SVG. Since the intrinsic width and height are both
     15    zero, you should not see any red when viewing this file.
     16    -->
     17 
     18    <style type="text/css">
     19 
     20 html, body {
     21  padding: 0;
     22  border: 0;
     23  margin: 0;
     24  width: 100%;
     25  height: 100%;
     26 }
     27 
     28 object {
     29  padding: 0;
     30  border: 0;
     31  margin: 50px;
     32  background: red;
     33 }
     34 
     35    </style>
     36  </head>
     37  <body>
     38    <object data="object--auto-auto--0-0.svg" type="image/svg+xml">
     39      FAIL
     40    </object>
     41  </body>
     42 </html>