Skip to content

Commit

Permalink
Make buttons respect display: none/contents in button layout
Browse files Browse the repository at this point in the history
Fixes whatwg#10238. This matches what is already implemented in browsers.
  • Loading branch information
simonwuelker authored and rubberyuzu committed Apr 8, 2024
1 parent 4cce311 commit fa53247
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source
Original file line number Diff line number Diff line change
Expand Up @@ -134406,7 +134406,7 @@ input[type=image i][align=bottom i], object[align=bottom i] {

<ul>
<li><p>If the computed value of <span>'display'</span> is 'inline-grid', 'grid',
'inline-flex', or 'flex', then behave as the computed value.</p></li>
'inline-flex', 'flex', 'none', or 'contents', then behave as the computed value.</p></li>

<li><p>Otherwise, if the computed value of <span>'display'</span> is a value such that the
<span>outer display type</span> is 'inline', then behave as 'inline-block'.</p></li>
Expand Down Expand Up @@ -144046,6 +144046,7 @@ INSERT INTERFACES HERE
Simon Sapin,
Yu Han, <!-- yuzhe-han on GitHub -->
Simon Spiegel,
Simon Wülker, <!-- Wuelle on GitHub -->
skeww, <!-- on reddit -->
Smylers,
Srirama Chandra Sekhar Mogali,
Expand Down

0 comments on commit fa53247

Please sign in to comment.