mirror of
				https://github.com/twbs/bootstrap.git
				synced 2025-11-04 00:03:15 -05:00 
			
		
		
		
	Merge pull request #8818 from twbs/firefox-input-btn-docs-note
make it clearer than <input> buttons are slightly broken on Firefox
This commit is contained in:
		
						commit
						fa854a58bd
					
				
							
								
								
									
										1
									
								
								css.html
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								css.html
									
									
									
									
									
								
							@ -1787,6 +1787,7 @@ For example, <code><section></code> should be wrapped as inline.
 | 
			
		||||
    <div class="bs-callout bs-callout-warning">
 | 
			
		||||
      <h4>Cross-browser rendering</h4>
 | 
			
		||||
      <p>As a best practice, <strong>we highly recommend using the <code><button></code> element whenever possible</strong> to ensure matching cross-browser rendering.</p>
 | 
			
		||||
      <p>Among other things, there's <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=697451">a Firefox bug</a> that prevents us from setting the <code>line-height</code> of <code><input></code>-based buttons, causing them to not exactly match the height of other buttons on Firefox.</p>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
  </div>
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user