TUT/test_table.html
m1ngsama 0ecedb1aed feat: Add DOM tree implementation and fix compiler warnings
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.
2025-12-25 13:18:08 +08:00

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>