<?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>28728</bug_id>
          
          <creation_ts>2015-06-01 12:49:45 +0000</creation_ts>
          <short_desc>fix definition of &quot;palpable content&quot; to mean what it actually should mean</short_desc>
          <delta_ts>2015-08-28 08:03:49 +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>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael[tm] Smith">mike</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <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>120629</commentid>
    <comment_count>0</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2015-06-01 12:49:45 +0000</bug_when>
    <thetext>The list of &quot;palpable content&quot; elements at https://html.spec.whatwg.org/multipage/dom.html#palpable-content includes some elements that don&apos;t belong in that category; in particular, it has some void elements (`input`, `img`, `keygen`) that should be removed from the list. And maybe some others.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>120658</commentid>
    <comment_count>1</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2015-06-02 14:10:23 +0000</bug_when>
    <thetext>What&apos;s wrong with &lt;p&gt;&lt;img ...&gt;&lt;/p&gt;?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>120673</commentid>
    <comment_count>2</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2015-06-03 05:09:41 +0000</bug_when>
    <thetext>(In reply to Simon Pieters from comment #1)
&gt; What&apos;s wrong with &lt;p&gt;&lt;img ...&gt;&lt;/p&gt;?

Yeah I was misreading the spec. I had thought it was defining palpable content elements as elements that must contain some kind of &quot;palpable&quot; content. Instead on re-reading I see it&apos;s defining palpable content elements as those elements that themselves constitute palpable content.

Incidentally I also notice that the list in the spec is prefixed with &quot;The following elements are palpable content&quot; and then at the end of that list includes &quot;Text that is not inter-element whitespace&quot; which clearly is not actually an element.

I also don&apos;t understand how an element that doesn&apos;t contain descendant text that isn&apos;t inter-element whitespace can be considered &quot;palpable content&quot;. How is that &quot;palpable&quot;?

So I think the spec would still benefit from some further clarification here; I think it could be simplified by saying something like, &quot;An element contains palpable content if it either has descendant nodes with text that is not inter-element whitespace, or if it has descendant nodes that are images (img and canvas elements), or audio or video elements, or non-hidden form controls.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>122813</commentid>
    <comment_count>3</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2015-08-28 04:32:36 +0000</bug_when>
    <thetext>I don&apos;t feel strongly about this to keep it open. I (or somebody) can re-raise it at github if we want to re-pursue it in the future.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>122829</commentid>
    <comment_count>4</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2015-08-28 08:03:49 +0000</bug_when>
    <thetext>(In reply to Michael[tm] Smith from comment #2)
&gt; I also don&apos;t understand how an element that doesn&apos;t contain descendant text
&gt; that isn&apos;t inter-element whitespace can be considered &quot;palpable content&quot;.
&gt; How is that &quot;palpable&quot;?

Such an element, if it allows flow content or phrasing content, should itself also have palpable content. So in the following example, the p has palpable children but the span doesn&apos;t:

&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>