<?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>23893</bug_id>
          
          <creation_ts>2013-11-22 23:00:03 +0000</creation_ts>
          <short_desc>CSS: define &lt;button&gt; rendering better</short_desc>
          <delta_ts>2018-10-16 14:26:50 +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>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>MOVED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>blocked awaiting response to comment 1 (please remove this when replying)</status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ian &apos;Hixie&apos; Hickson">ian</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>annevk</cc>
    
    <cc>ian</cc>
    
    <cc>jackalmage</cc>
    
    <cc>mike</cc>
    
    <cc>w3bugs</cc>
    
    <cc>zcorpan</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      <flag name="needinfo"
          id="130"
          type_id="3"
          status="?"
          setter="annevk"
          requestee="jackalmage"
    />

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>96733</commentid>
    <comment_count>0</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2013-11-22 23:00:03 +0000</bug_when>
    <thetext>We should define the rendering of &lt;button&gt;. It&apos;s not a replaced element (rendering of contents is CSS-defined). It does respond to &apos;display&apos;, just not as you&apos;d expect. For example, setting it to display:table doesn&apos;t make it a table on the inside:

   http://software.hixie.ch/utilities/js/live-dom-viewer/saved/2650

Setting it to &apos;table-row&apos; doesn&apos;t make it a row on the outside:

   http://software.hixie.ch/utilities/js/live-dom-viewer/saved/2651

Setting it to &apos;display:block&apos; does seem to make a difference, though:

   http://software.hixie.ch/utilities/js/live-dom-viewer/saved/2652

...so it&apos;s not always display:inline-block (which is what the spec currently says).

Browsers (I mainly tested Gecko and WebKit) are remarkably interoperable around this.

Not sure what to spec here exactly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98057</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-01-07 00:00:33 +0000</bug_when>
    <thetext>Tab, any ideas what should be specced here?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>129352</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2018-10-16 14:26:50 +0000</bug_when>
    <thetext>https://github.com/whatwg/html/issues/4081</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>