From 5b9bf5e1a365509141bb26669cc6cd45ed2cda1e Mon Sep 17 00:00:00 2001 From: Nicolas Gallagher Date: Wed, 15 Jan 2014 16:45:04 -0800 Subject: [PATCH] Fix `optgroup` normalization and add test Ref gh-102 --- normalize.css | 9 +++++++++ test.html | 7 +++++++ 2 files changed, 16 insertions(+) diff --git a/normalize.css b/normalize.css index 94b03c7..771c8f3 100644 --- a/normalize.css +++ b/normalize.css @@ -296,6 +296,15 @@ textarea { 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 * the UA stylesheet. diff --git a/test.html b/test.html index 51dda7b..ef13851 100644 --- a/test.html +++ b/test.html @@ -300,6 +300,13 @@

+