<?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>28904</bug_id>
          
          <creation_ts>2015-07-06 08:06:26 +0000</creation_ts>
          <short_desc>There should be an exhaustive list of replaced elements</short_desc>
          <delta_ts>2017-07-29 07:18: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>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>https://html.spec.whatwg.org/multipage/rendering.html#replaced-elements</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="Chris Rebert">w3bugs</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>annevk</cc>
    
    <cc>mike</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>121655</commentid>
    <comment_count>0</comment_count>
    <who name="Chris Rebert">w3bugs</who>
    <bug_when>2015-07-06 08:06:26 +0000</bug_when>
    <thetext>Spec: https://html.spec.whatwg.org/multipage/rendering.html#replaced-elements

There seems to be a lack of clarity around which elements can/must be &quot;replaced elements&quot;. For example, https://html.spec.whatwg.org/multipage/rendering.html#replaced-elements does not mention the `&lt;button&gt;` element but Mozilla apparently currently treats it as a replaced element (see https://bugzilla.mozilla.org/show_bug.cgi?id=1060131#c5 ).
It would therefore be good if the spec had a section that gave an exhaustive list of all replaced elements in HTML. (The fact that some elements are only replaced in certain cases complicates this slightly, but not insurmountably, IMHO.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>122908</commentid>
    <comment_count>1</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2015-08-31 07:18:38 +0000</bug_when>
    <thetext>Is the only problem here &lt;button&gt;? Because that is bug 23893.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>122911</commentid>
    <comment_count>2</comment_count>
    <who name="Chris Rebert">w3bugs</who>
    <bug_when>2015-08-31 07:24:16 +0000</bug_when>
    <thetext>I can imagine that there might be other utility in having such a list, but yes, I had opened this with the &lt;button&gt; quandary in mind, having not known about bug 23893 at the time. So I wouldn&apos;t object to closing this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>122912</commentid>
    <comment_count>3</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2015-08-31 07:28:42 +0000</bug_when>
    <thetext>I would be okay with a PR that adds a &lt;div class=note&gt; containing a paragraph and a list listing the replaced elements (defined by HTML, anyway) before &quot;14.4.1 Embedded content&quot;. As a summary of elements that are designated as replaced elements in terms of CSS.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>128807</commentid>
    <comment_count>4</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2017-07-29 07:18:45 +0000</bug_when>
    <thetext>Fixed by https://github.com/whatwg/html/pull/2857.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>