Demo: add disabled input test and other minor updates.

Include an `input` and `button` disabled attribute style test.
Remove `initial-scale` from the meta viewport and add the `lang`
attribute to `html`.
This commit is contained in:
Nicolas Gallagher 2012-01-31 13:30:40 +00:00
parent fe15b8f862
commit 2326dcb082

View File

@ -1,8 +1,8 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html lang="en">
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width">
<title>Normalize CSS</title> <title>Normalize CSS</title>
<link rel="stylesheet" href="normalize.css"> <link rel="stylesheet" href="normalize.css">
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script> <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
@ -291,10 +291,13 @@
<p><input type="reset" value="Reset (input)"></p> <p><input type="reset" value="Reset (input)"></p>
<p><input type="button" value="Button (input)"></p> <p><input type="button" value="Button (input)"></p>
<p><input type="submit" value="Submit (input)"></p> <p><input type="submit" value="Submit (input)"></p>
<p><input type="submit" value="Disabled (input)" disabled></p>
<p><button type="reset">Reset (button)</button></p> <p><button type="reset">Reset (button)</button></p>
<p><button type="button">Button (button)</button></p> <p><button type="button">Button (button)</button></p>
<p><button type="submit">Submit (button)</button></p> <p><button type="submit">Submit (button)</button></p>
<p><button type="submit" disabled>Disabled (button)</button></p>
</fieldset> </fieldset>
<fieldset id="boxsize"> <fieldset id="boxsize">
@ -318,7 +321,7 @@
<div><input type="checkbox"></div> <div><input type="checkbox"></div>
<div><select><option>Option 01</option><option>Option 02</option></select></div> <div><select><option>Option 01</option><option>Option 02</option></select></div>
<div><textarea cols="30" rows="5" >Textarea text</textarea></div> <div><textarea cols="30" rows="5">Textarea text</textarea></div>
<div><input type="image" src="http://placekitten.com/90/24" alt="Image (input)"></div> <div><input type="image" src="http://placekitten.com/90/24" alt="Image (input)"></div>
<div><input type="reset" value="Reset (input)"></div> <div><input type="reset" value="Reset (input)"></div>