<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>15133</bug_id>
          
          <creation_ts>2011-12-09 23:19:46 +0000</creation_ts>
          <short_desc>Please explain how hidden=true interacts with plugin loading.  Should it be treated as display:none?</short_desc>
          <delta_ts>2012-10-12 16:15:13 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>HTML</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#the-hidden-attribute</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>eric</cc>
    
    <cc>ian</cc>
    
    <cc>mike</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>61354</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2011-12-09 23:19:46 +0000</bug_when>
    <thetext>Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/editing.html
Multipage: http://www.whatwg.org/C#the-hidden-attribute
Complete: http://www.whatwg.org/c#the-hidden-attribute

Comment:
Please explain how hidden=true interacts with plugin loading.  Should it be
treated as display:none?

Posted from: 173.164.128.209
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_2) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.0 Safari/535.11</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61356</commentid>
    <comment_count>1</comment_count>
    <who name="Eric Seidel">eric</who>
    <bug_when>2011-12-09 23:23:15 +0000</bug_when>
    <thetext>See https://bugs.webkit.org/show_bug.cgi?id=56575 for context on how WebKit currently has trouble with hidden=true plugins, since we need to not load display:none plugins:
http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2011-November/033732.html
but at least that author expects hidden=true to not act like display: none.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63465</commentid>
    <comment_count>2</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2012-01-31 22:55:54 +0000</bug_when>
    <thetext>Well first, hidden=true is bogus. hidden=&quot;&quot; is a boolean attribute, meaning it&apos;s either present or absent, and its value, if any, has to be the same as its name.

But that&apos;s irrelevant here since this is a legacy page, not a page using the new hidden=&quot;&quot; attribute.

If we have to address this, I propose doing it by changing the [hidden] rule in ua.css to:

   [hidden]:not(object):not(embed), ... { }

   object[hidden], embed[hidden] { width: 0; height: 0; }
   object[hidden] { overflow: hidden; }

...in the ua.css file.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71064</commentid>
    <comment_count>3</comment_count>
    <who name="">contributor</who>
    <bug_when>2012-07-18 18:00:43 +0000</bug_when>
    <thetext>This bug was cloned to create bug 18299 as part of operation convergence.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71972</commentid>
    <comment_count>4</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2012-08-09 16:41:02 +0000</bug_when>
    <thetext>I need a way to test whether an &lt;embed&gt; element is instantiating a plugin or not before I can test implementations enough to know what to do here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76030</commentid>
    <comment_count>5</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2012-10-11 19:52:46 +0000</bug_when>
    <thetext>Anne found me this:
   http://software.hixie.ch/utilities/js/live-dom-viewer/?saved=1836

IE and Gecko play audio but show nothing (display:inline height:0 width:0 as far as I can tell, though neither made it very easy to determine what exactly was going on), Opera plays no audio, WebKit doesn&apos;t hide it.

I&apos;ll go with the Gecko/IE behavior.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76031</commentid>
    <comment_count>6</comment_count>
    <who name="">contributor</who>
    <bug_when>2012-10-11 19:55:55 +0000</bug_when>
    <thetext>Checked in as WHATWG revision r7453.
Check-in comment: Improve compatibility for &lt;embed hidden&gt;
http://html5.org/tools/web-apps-tracker?from=7452&amp;to=7453</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76082</commentid>
    <comment_count>7</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2012-10-12 11:10:11 +0000</bug_when>
    <thetext>FTR...

grep -aPic &quot;&lt;object(\s[^&gt;]*)?\shidden\s*=&quot; web200904
0
$ grep -aPic &quot;&lt;embed(\s[^&gt;]*)?\shidden\s*=&quot; web200904
199</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>