Permalink
Browse files

[] (0) Make it possible to hide implementation requirements with an a…

…lternative style sheet. Add author documentation for most of the APIs. Fix minor typos and oversights here and there.

git-svn-id: http://svn.whatwg.org/webapps@2876 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
1 parent 39b1845 commit fa9d3cfe3af9828a722ed7fa5279e3d9061edf89 @Hixie Hixie committed Mar 18, 2009
Showing with 13,466 additions and 1,949 deletions.
  1. +11 −1 header-whatwg
  2. +6,528 −1,026 index
  3. +6,927 −922 source
View
12 header-whatwg
@@ -4,7 +4,7 @@
<title>HTML 5</title>
<link rel="stylesheet" href="/style/specification">
<link rel="icon" href="/images/icon">
- <style type="text/css">
+ <style>
.proposal { border: blue solid; padding: 1em; }
.bad, .bad *:not(.XXX) { color: gray; border-color: gray; background: transparent; }
table.matrix, table.matrix td { border: none; text-align: right; }
@@ -25,17 +25,27 @@
.rfc2119.s\hould::after { content: '\2606'; }
[hidden] { display: none; }
</style>
+ <link rel="stylesheet" title="Complete specification" href="data:text/css,">
+ <link rel="alternate stylesheet" title="Author documentation only"
+ href="data:text/css,.impl%20{%20display:%20none;%20}">
+ <link rel="alternate stylesheet" title="Highlight implementation requirements"
+ href="data:text/css,.impl%20{%20background:%20#FFEEEE;%20}">
<link rel="stylesheet" href="status.css">
<script>
+ var loadTimer = new Date();
function load(script) {
var e = document.createElement('script');
e.setAttribute('src', script);
document.body.appendChild(e);
}
function init() {
+ if (location.search == '?slow-browser')
+ return;
load('status.js');
load('dfn.js');
load('toc.js');
+ if (location.search == '?profile')
+ document.getElementsByTagName('h2')[0].textContent += '; load: ' + (new Date() - loadTimer) + 'ms';
}
</script>
</head>
View
7,554 index
6,528 additions, 1,026 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
View
7,849 source
6,927 additions, 922 deletions not shown because the diff is too large. Please use a local Git client to view these changes.

0 comments on commit fa9d3cf

Please sign in to comment.