tor-browser

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

embed-in-object-fallback-image.html (863B)


      1 <!doctype html>
      2 <meta charset="utf-8">
      3 <title>Ensure that embed elements inside object elements load when the objects
      4  fallback</title>
      5 <link rel="author" title="Intel" href="http://www.intel.com">
      6 <link rel="author" title="Peng Zhou" href="mailto:zhoupeng.1996@bytedance.com">
      7 <link rel="help" href="https://html.spec.whatwg.org/multipage/#the-embed-element">
      8 <link rel="match" href="embed-in-object-fallback-image-ref.html">
      9 <meta name="assert" content="Check if the embed element represents an image when it has a object ancestor that is showing its fallback content">
     10 <style>
     11  embed {
     12    background-color: red;
     13    height: 100px;
     14    width: 100px;
     15  }
     16 </style>
     17 <body>
     18  <p>Test passes if there is <strong> red</strong>.</p>
     19  <object type="application/x-shockwave-flash">
     20    <embed src="/images/red-16x16.png" type="image/png"></embed>
     21  </object>
     22 </body>