<?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>27434</bug_id>
          
          <creation_ts>2014-11-25 20:20:16 +0000</creation_ts>
          <short_desc>&lt;output&gt; should be allowed to contain &lt;details&gt;. Use case: Use &lt;summary&gt; for the actual result and the rest of the &lt;details&gt; for the formula/calculation that led to the result.</short_desc>
          <delta_ts>2014-12-23 00:00:45 +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>WORKSFORME</resolution>
          
          
          <bug_file_loc>https://html.spec.whatwg.org/#the-output-element</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>ian</cc>
    
    <cc>jan</cc>
    
    <cc>mike</cc>
    
    <cc>zcorpan</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>115478</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2014-11-25 20:20:16 +0000</bug_when>
    <thetext>Specification: https://html.spec.whatwg.org/multipage/forms.html
Multipage: https://html.spec.whatwg.org/multipage/#the-output-element
Complete: https://html.spec.whatwg.org/#the-output-element
Referrer: https://html.spec.whatwg.org/multipage/

Comment:
&lt;output&gt; should be allowed to contain &lt;details&gt;. Use case: Use &lt;summary&gt; for
the actual result and the rest of the &lt;details&gt; for the formula/calculation
that led to the result.

Posted from: 37.201.182.216
User agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.65 Safari/537.36 OPR/26.0.1656.27 (Edition beta)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>115481</commentid>
    <comment_count>1</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2014-11-25 22:30:18 +0000</bug_when>
    <thetext>What&apos;s wrong with 

&lt;details&gt;
  &lt;summary&gt;&lt;output&gt;actual result&lt;/output&gt;&lt;/summary&gt;
  formula/calculation
&lt;/details&gt;

?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>115674</commentid>
    <comment_count>2</comment_count>
    <who name="JTK">jan</who>
    <bug_when>2014-11-28 21:23:41 +0000</bug_when>
    <thetext>&quot;The details element represents a disclosure widget from which the user can obtain additional information or controls.&quot; [1] Therefore the &lt;output&gt; must not be part of the &lt;details&gt;, if it is the main content of the page.

(And: The formula output as well, because it depends on the input. In your code, the calculation is not part of &lt;output&gt;.)


[1] https://html.spec.whatwg.org/multipage/forms.html#the-details-element</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>115757</commentid>
    <comment_count>3</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-12-01 19:21:46 +0000</bug_when>
    <thetext>Can you elaborate on why you think the sentence you quote implies the conclusion you draw? I don&apos;t follow.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>116037</commentid>
    <comment_count>4</comment_count>
    <who name="JTK">jan</who>
    <bug_when>2014-12-09 07:12:30 +0000</bug_when>
    <thetext>I am sorry, the sentence does not imply this. My understanding of &quot;disclosure&quot; was wrong. I should have checked earlier (but have not even doubted it).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>116585</commentid>
    <comment_count>5</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-12-19 23:01:51 +0000</bug_when>
    <thetext>Does that mean you&apos;re ok with comment 1&apos;s suggestion of what to do?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>116608</commentid>
    <comment_count>6</comment_count>
    <who name="JTK">jan</who>
    <bug_when>2014-12-20 10:52:00 +0000</bug_when>
    <thetext>Yes, I am. Thank you!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>116652</commentid>
    <comment_count>7</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-12-23 00:00:45 +0000</bug_when>
    <thetext>Great, thanks!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>