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 #10238. This matches what is already implemented in browsers.
  • Loading branch information
Wuelle committed Apr 4, 2024
1 parent 6c20fe5 commit 75ef8cb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source
Expand Up @@ -134102,7 +134102,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 @@ -143742,6 +143742,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 75ef8cb

Please sign in to comment.