From 85fa87a917ef1718bba377eaa3cc8ba7aa7f7619 Mon Sep 17 00:00:00 2001 From: Nicolas Gallagher Date: Tue, 21 Jun 2011 18:34:48 +0100 Subject: [PATCH] Update demo and normalize from master --- demo.html | 21 ++++++++++++++++----- normalize.css | 37 +++++++++++++++++++++++++------------ 2 files changed, 41 insertions(+), 17 deletions(-) diff --git a/demo.html b/demo.html index f12d556..43caeb0 100644 --- a/demo.html +++ b/demo.html @@ -61,7 +61,7 @@ The dfn element example
The em element example
The i element example
- The img element example
+ The img element example
The ins element example
The kbd element example
The mark element example
@@ -78,6 +78,17 @@ The u element example

+

Embedded content

+ +

img

+ + + + +

svg

+ + +

Grouping content

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et m.

@@ -158,9 +169,9 @@

figure

- +
- +
Figcaption content
@@ -250,7 +261,7 @@
Clickable inputs and buttons -

+

@@ -283,7 +294,7 @@
-
+
diff --git a/normalize.css b/normalize.css index f3b94b2..57b2b37 100644 --- a/normalize.css +++ b/normalize.css @@ -1,4 +1,4 @@ -/*! normalize.css 2011-06-21T02:22 http://github.com/necolas/normalize.css */ +/*! normalize.css 2011-06-21T18:23 UTC ยท http://github.com/necolas/normalize.css */ /* ============================================================================= HTML5 element display @@ -77,17 +77,6 @@ textarea { font-family: sans-serif; } -/* - * 1. Removes border when inside 'a' element in IE6/7/8/9 - * 2. Improves image quality when scaled in IE7 - * code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/ - */ - -img { - border: 0; /* 1 */ - -ms-interpolation-mode: bicubic; /* 2 */ -} - /* ============================================================================= Links @@ -251,6 +240,30 @@ nav ol { } +/* ============================================================================= + Embedded content + ========================================================================== */ + +/* + * 1. Removes border when inside 'a' element in IE6/7/8/9 + * 2. Improves image quality when scaled in IE7 + * code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/ + */ + +img { + border: 0; /* 1 */ + -ms-interpolation-mode: bicubic; /* 2 */ +} + +/* + * Corrects overflow displayed oddly in IE9 + */ + +svg:not(:root) { + overflow: hidden; +} + + /* ============================================================================= Figures ========================================================================== */