html.htm 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. <html>
  2. <head>
  3. <title>Intro</title>
  4. <style>
  5. h1, h2, h3 { color: navy; font-weight:normal; }
  6. h1 { margin-bottom: .47em }
  7. h2 { margin-bottom: .3em }
  8. h3 { margin-bottom: .4em }
  9. ul { margin-top: .5em }
  10. ul li {margin: .25em}
  11. body { font:10pt Tahoma }
  12. pre { border:solid 1px gray; background-color:#eee; padding:1em }
  13. a:link { text-decoration: none; }
  14. a:hover { text-decoration: underline; }
  15. .gray { color:gray; }
  16. .example { background-color:#efefef; corner-radius:5px; padding:0.5em; }
  17. .whitehole { background-color:white; corner-radius:10px; padding:15px; }
  18. .caption { font-size: 1.1em }
  19. .comment { color: green; margin-bottom: 5px; margin-left: 3px; }
  20. .comment2 { color: green; }
  21. </style>
  22. </head>
  23. <body style=" margin: 0; background-color: #333; background-gradient: #707; background-gradient-angle: 60;">
  24. <h1 align="center" style="color: white;">
  25. HTML Renderer Project - Perspex port
  26. <br />
  27. <span style="font-size: x-small;">Beta support</span>
  28. </h1>
  29. <blockquote class="whitehole">
  30. <p style="margin-top: 0px">
  31. <table border="0" width="100%">
  32. <tr style="vertical-align: top>
  33. <td>
  34. Everything you see on this panel (see samples on the left) is <b>custom-painted</b>
  35. by the <b>HTML Renderer</b>, including tables, images, links and videos.<br />
  36. This project allows you to have the rich format power of HTML on your desktop applications
  37. without <b>WebBrowser</b> control or <b>MSHTML</b>.<br />
  38. The library is <b>100% managed code</b> without any external dependencies, the only
  39. requirement is <b>.NET 2.0 or higher</b>, including support for Client Profile.
  40. </td>
  41. </tr>
  42. </table>
  43. </p>
  44. <h3>
  45. Text selection (copy to clipboard)
  46. </h3>
  47. <div>
  48. The rendered html has full support for <b>text selection</b> including <b>drag-and-drop</b>
  49. and <b>copy</b> to clipboard of rich html and plain text to handle <b>paste</b>
  50. operation to editor that support rich or/and plain text.<br />
  51. Additionally there is a <b>context-menu</b> with select all, copy text, copy image,
  52. save image, open link, copy link url, open video, copy video url.
  53. </div>
  54. <h3>
  55. Cascading Style Sheets (CSS) support
  56. </h3>
  57. <div>
  58. The core layout engine of the renderer was builded according to <b>CSS Level 2 specification</b>,
  59. so you can use Cascading Style Sheets to format your html documents.<br />
  60. Additionally there are a couple extensions: <b>Gradients</b> on backgrounds and
  61. <b>rounded corners</b>.
  62. </div>
  63. <h3>
  64. Benefits
  65. </h3>
  66. <ul>
  67. <li>100% managed code and no external dependencies.</li>
  68. <li>Supports .NET 2.0 or higher including Client Profile.</li>
  69. <li>Handles "real world" malformed HTML, it doesn't have to be XHTML.</li>
  70. <li>Lightweight (~300K).</li>
  71. <li>High performance and low memory footprint.</li>
  72. <li>Extendable and configurable.</li>
  73. </ul>
  74. <h3>
  75. Limitations
  76. </h3>
  77. <ul>
  78. <li>All HTML <b>end tags</b> marked as <a href="http://www.w3.org/TR/1999/REC-html401-19991224/index/elements.html">
  79. optional</a> should be there. No problem with tags marked as forbidden.</li>
  80. </ul>
  81. <hr />
  82. <h3>
  83. On the roadmap</h3>
  84. Of course it's not quite finished yet. Here are some of the important things to
  85. do.
  86. <ul>
  87. <li>Better performance</li>
  88. <li>Support of position CSS property</li>
  89. <li>Support of height and min-height CSS property</li>
  90. <li>Better tables support, especially layouts</li>
  91. <li>Support image align</li>
  92. <li>Handle :hover selector</li>
  93. <li>Selection by shift+arrows</li>
  94. <li>Better HTML tag parsing (optional closing tags)</li>
  95. <li>More styles support</li>
  96. </ul>
  97. <h3>
  98. Vision
  99. </h3>
  100. <ul>
  101. <li>Most complete static HTML Renderer (no java script).</li>
  102. <li>Commercial web browser performance level.</li>
  103. </ul>
  104. <hr />
  105. <h3>
  106. 2015 - Nikita Tsukanov (Perspex Port)
  107. </h3>
  108. <blockquote>
  109. <a href="https://perspex.github.io/">https://perspex.github.io/</a>
  110. </blockquote>
  111. <h3>
  112. 2012 - Arthur Teplitzki
  113. </h3>
  114. <blockquote>
  115. <a href="http://theartofdev.com/">http://TheArtOfDev.com</a>
  116. </blockquote>
  117. <h3>
  118. 2009 - Jose Manuel Menendez Poo
  119. </h3>
  120. <blockquote>
  121. <a href="http://www.menendezpoo.com">www.menendezpoo.com</a>
  122. </blockquote>
  123. </blockquote>
  124. </body>
  125. </html>