added support for <sub> and <sup> to wxHTML (based on patch #1263152)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
BIN
samples/html/test/foo.png
Normal file
BIN
samples/html/test/foo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 410 B |
42
samples/html/test/subsup.html
Normal file
42
samples/html/test/subsup.html
Normal file
@@ -0,0 +1,42 @@
|
||||
<html>
|
||||
<body>
|
||||
|
||||
The quick brown fox jumps over the lazy dog H<sub>2</sub>O The quick brown fox jumps over the lazy dog
|
||||
The quick brown fox jumps over the lazy dog H<sub>2</sub>O The quick brown fox jumps over the lazy dog
|
||||
The quick brown fox jumps over the lazy dog H<sup><img src="foo.png"></img></sup>O The quick brown fox jumps over the lazy dog
|
||||
H<sub>The quick brown fox jumps over the lazy dog</sub>O The quick brown <sup>fox <sup>jumps over</sup> the</sup> lazy dog
|
||||
<br>
|
||||
The quick brown fox jumps over the lazy dog H<sub>2<sup>4<sup>5</sup></sup></sub>O The quick brown fox jumps over the lazy dog
|
||||
The quick brown fox jumps over the lazy dog H<sub>2<sup>5</sup></sub>O The quick brown fox jumps over the lazy dog
|
||||
The quick brown fox jumps over the lazy dog H<sub><img src="foo.png"></sub>O The quick brown fox jumps over the lazy dog
|
||||
The quick brown fox jumps over the lazy dog H<sub>2<sub>4</sub></sub>O The quick brown fox jumps over the lazy dog
|
||||
|
||||
<br>
|
||||
|
||||
<br>
|
||||
|
||||
<img src="foo.png"><sup>tm</sup>
|
||||
|
||||
<br>
|
||||
1<sup>2<sup>3<sup><a href="foo.html">link</a></sup></sup></sup>
|
||||
<br>
|
||||
x<sup>2</sup> + y<sup>2</sup> = r<sup>2</sup>
|
||||
<br>
|
||||
e<sup>sqrt(x<sup>2</sup> + y<sup>2</sup>)</sup>
|
||||
<br>
|
||||
log<sub>2</sub>5 = y<sup>3</sup>
|
||||
<br>
|
||||
Intel<sup>tm</sup>
|
||||
<br>
|
||||
Windows<sup>©</sup>
|
||||
<br>
|
||||
tst<sup>test</sup> me
|
||||
<br>
|
||||
<br>
|
||||
|
||||
<font size=36>tst<sub>tst<sub>tst</sub></sub> me</font>
|
||||
|
||||
<br>
|
||||
|
||||
</body>
|
||||
</html>
|
@@ -18,7 +18,7 @@
|
||||
<files>
|
||||
f.html fft.html imagemap.htm imagemap.png pic.png pic2.bmp
|
||||
tables.htm test.htm listtest.htm i18n.gif 8859_2.htm cp1250.htm
|
||||
regres.htm
|
||||
regres.htm foo.png subsup.html
|
||||
</files>
|
||||
</wx-data>
|
||||
|
||||
|
Reference in New Issue
Block a user