The worlds worst browser engine.
Currently it is able to:
- Read in and parse a HTML file
- Access any element by tag name
- Get styles from style tags on the page
- Parse styles into a selector and rules
- Apply styles to the correct HTML elements
- Render text nodes only
- Render with correct CSS styles, but with very basic cascading
- Supports CSS to change font style/size/weight, color and margins
- Wrap paragraphs into multiple lines
To do:
-
Add support for img tags
-
Selector specificity
-
Make a distinction between block and inline elements
-
Make the parser able to have text and nodes alongside each other