mirror of
https://github.com/m1ngsama/TUT.git
synced 2025-12-26 12:04:11 +00:00
Major improvements: - Add proper DOM tree structure (dom_tree.cpp/h) with hierarchical node representation - Refactor HTML parser to use DOM tree instead of flat ContentElement structure - Enhance text renderer with improved inline content handling and UTF-8 support - Improve browser interactive element tracking with byte-accurate positioning - Add comprehensive HTML entity decoding (80+ named entities + numeric) - Enhance form handling with better field tracking and submission Code quality improvements: - Fix all compiler warnings (unused parameters/variables) - Clean build with zero warnings - Better separation of concerns between parsing and rendering Testing: - Add test_table.html for table rendering verification This change enables better handling of complex HTML structures while maintaining the Unix philosophy of simplicity and focus.
24 lines
489 B
HTML
24 lines
489 B
HTML
<html>
|
|
<body>
|
|
<h1>Table Test</h1>
|
|
<p>This is a paragraph before the table.</p>
|
|
<table border="1">
|
|
<tr>
|
|
<th>ID</th>
|
|
<th>Name</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
<tr>
|
|
<td>1</td>
|
|
<td>Item One</td>
|
|
<td>This is a long description for item one to test wrapping.</td>
|
|
</tr>
|
|
<tr>
|
|
<td>2</td>
|
|
<td>Item Two</td>
|
|
<td>Short desc.</td>
|
|
</tr>
|
|
</table>
|
|
<p>This is a paragraph after the table.</p>
|
|
</body>
|
|
</html>
|