- From: Shane McCarron via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 09 Jul 2010 22:18:14 +0000
- To: public-dap-commits@w3.org
Update of /sources/public/2009/dap/ReSpec.js
In directory hutz:/tmp/cvs-serv26074
Modified Files:
documentation.html
Log Message:
Added support for outputting XHTML.
Index: documentation.html
===================================================================
RCS file: /sources/public/2009/dap/ReSpec.js/documentation.html,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -d -r1.46 -r1.47
--- documentation.html 5 Jul 2010 19:02:23 -0000 1.46
+++ documentation.html 9 Jul 2010 22:18:12 -0000 1.47
@@ -818,15 +818,15 @@
<p>
The solution that is used here is that you hit the <code>Ctrl+Shift+Alt+S</code> key combination (this is
subject to change until we agree on an option we all like). That will show a menu offering to either
- "Save as HTML", or "Save as HTML (Source)". You can hit <code>Esc</code> to hide it.
+ "Save as HTML", "Save as HTML (Source)", "Save as XHTML", or "Save as XHTML (Source)". You can hit <code>Esc</code> to hide it.
</p>
<p>
- Those two options are very similar. The first one opens a new window (which may be in a new tab depending
+ Those options are very similar. The non-source ones open a new window (which may be in a new tab depending
on your configuration) and shows you a document that should look exactly the same as the one you're
editing. That's normal. The difference is that it's a static document that represents the same DOM
tree as the live one after <a>ReSpec</a> has run. That page you can then save using your browser's
vanilla saving mechanism (be sure to refuse any option that tries to save the complete page with
- images and other dependencies — you want just the HTML). The "Source" alternative shows you the same
+ images and other dependencies — you want just the (X)HTML). The "Source" alternative shows you the same
page's source code so that you can paste it into your favourite editor.
</p>
<p>
@@ -834,8 +834,8 @@
so if in doubt use the Source alternative.
</p>
<p>
- Currently only HTML 4.01 is supported because getting browsers to output XHTML can be a fair bit more
- painful. Patches are welcome in this area. HTML5 is not supported because it is currently rejected
+ Currently only HTML 4.01 and XHTML 1.0 are supported.
+ HTML5 is not supported because it is currently rejected
by PubRules.
</p>
<p>
Received on Friday, 9 July 2010 22:18:16 UTC