mirror of
https://github.com/necolas/normalize.css.git
synced 2024-12-25 15:14:19 +00:00
Fix optgroup
normalization and add test
Ref gh-102
This commit is contained in:
parent
3d3096db74
commit
5b9bf5e1a3
9
normalize.css
vendored
9
normalize.css
vendored
@ -296,6 +296,15 @@ textarea {
|
|||||||
margin: 0; /* 3 */
|
margin: 0; /* 3 */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Re-apply the `font-weight` to avoid modifying the default UX, and because
|
||||||
|
* the default cannot be changed in Chrome and Safari on OS X.
|
||||||
|
*/
|
||||||
|
|
||||||
|
optgroup {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Address Firefox 4+ setting `line-height` on `input` using `!important` in
|
* Address Firefox 4+ setting `line-height` on `input` using `!important` in
|
||||||
* the UA stylesheet.
|
* the UA stylesheet.
|
||||||
|
@ -300,6 +300,13 @@
|
|||||||
<p><label><input type="checkbox"> Checkbox input</label></p>
|
<p><label><input type="checkbox"> Checkbox input</label></p>
|
||||||
|
|
||||||
<p><label>Select field <select><option>Option 01</option><option>Option 02</option></select></label></p>
|
<p><label>Select field <select><option>Option 01</option><option>Option 02</option></select></label></p>
|
||||||
|
<p><label>Select with optgroup
|
||||||
|
<select>
|
||||||
|
<optgroup label="Optgroup label">
|
||||||
|
<option>Option 01</option>
|
||||||
|
<option>Option 02</option>
|
||||||
|
</select>
|
||||||
|
</label></p>
|
||||||
<p><label>Textarea <textarea cols="30" rows="5" >Textarea text</textarea></label></p>
|
<p><label>Textarea <textarea cols="30" rows="5" >Textarea text</textarea></label></p>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user