/[suikacvs]/www/test/html/edit/contenteditable-xhtml.html
Suika

Contents of /www/test/html/edit/contenteditable-xhtml.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download) (as text)
Tue Apr 11 00:48:01 2006 UTC (19 years, 3 months ago) by wakaba
Branch: MAIN
CVS Tags: HEAD
File MIME type: text/html
New tests

1 wakaba 1.1 <!DOCTYPE html>
2     <html lang="en">
3     <head>
4     <title>@contentEditable in XHTML</title>
5     </head>
6     <body>
7     <h1><code>@contentEditable</code> in XHTML</h1>
8    
9     <p>
10     <iframe id="edit" src="contenteditable-xhtml-iframe.xhtml"
11     style="width: 90%; height: 20em">NO SUPPORT FOR
12     <code>iframe</code></iframe>
13     </p>
14    
15     <h2>Source (w/o outermost tags)</h2>
16    
17     <p><button onclick="
18     document.getElementById ('result').innerText = '';
19     document.getElementById ('result').textContent = '';
20     document.getElementById ('result').appendChild
21     (document.createTextNode (document.getElementById ('edit')
22     .contentWindow.document
23     .documentElement.innerHTML));
24     ">Update</button></p>
25    
26     <pre id="result"></pre>
27    
28     </body>
29     </html>

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24