Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | input size as presentational hint | bptato | 2023-06-18 | 1 | -0/+8 |
| | |||||
* | Fix various layout bugs, prepare for image support | bptato | 2023-06-12 | 1 | -1/+2 |
| | |||||
* | Use width, height for canvas in css | bptato | 2023-06-10 | 1 | -1/+1 |
| | |||||
* | Add support for width, height media query | bptato | 2023-06-07 | 1 | -23/+35 |
| | |||||
* | Add support for canvas and multipart | bptato | 2023-06-05 | 1 | -6/+6 |
| | | | | | | | | | | | | | | | Quite incomplete canvas implementation. Crucially, the layout engine can't do much with whatever is drawn because it doesn't support images yet. I've re-introduced multipart as well, with the FormData API. For the append function I've also introduced a hack to the JS binding generator that allows requesting the JSContext pointer in nim procs. Really I should just fix the union generator thing and add support for overloading. In conclusion, for now the only thing canvas can be used for is exporting it as PNG and uploading it somewhere. Also, we now have PNG encoding and decoding too. (Now if only we had sixels as well...) | ||||
* | css/cascade, layout/engine: add table align | bptato | 2023-01-08 | 1 | -0/+10 |
| | | | | Also fix margin-left/right: auto, to some extent. | ||||
* | css/cascade: remove scoped sheets | bptato | 2023-01-07 | 1 | -32/+2 |
| | | | | ...in favor of handling all style elements like other browsers | ||||
* | dom: add better attribute reflection | bptato | 2023-01-02 | 1 | -2/+4 |
| | | | | | Instead of creating a new function for each attribute, use a single magic function for reflected attributes. | ||||
* | selectorparser: support :link, :visited | bptato | 2023-01-01 | 1 | -4/+3 |
| | | | | I say "support", but :visited is never matched. | ||||
* | cascade: document a bit | bptato | 2023-01-01 | 1 | -2/+7 |
| | |||||
* | css/cascade: fix stylesheets not being copied in <head> | bptato | 2022-12-31 | 1 | -1/+3 |
| | |||||
* | css: fix some bugs and improve cascading a bit | bptato | 2022-12-29 | 1 | -11/+22 |
| | |||||
* | layout/engine: get rid of dom dependency | bptato | 2022-12-27 | 1 | -18/+39 |
| | | | | Layout should only depend on cascading. | ||||
* | Implement DOMTokenList, item functions for collections | bptato | 2022-12-26 | 1 | -1/+1 |
| | |||||
* | Add font color presentational hint | bptato | 2022-12-25 | 1 | -0/+6 |
| | |||||
* | More DOM work | bptato | 2022-12-19 | 1 | -3/+3 |
| | |||||
* | Display text for img tag, background-image | bptato | 2022-12-16 | 1 | -3/+15 |
| | |||||
* | Fix color contrast correction | bptato | 2022-12-12 | 1 | -0/+5 |
| | | | | | Instead of just inverting the color and hoping for the best, convert it to YUV and increase/decrease luminance based on results. | ||||
* | Add support for q, fix list-item counter behavior | bptato | 2022-12-12 | 1 | -4/+12 |
| | |||||
* | Add div align | bptato | 2022-12-11 | 1 | -0/+9 |
| | |||||
* | Support vertical-align on td | bptato | 2022-12-11 | 1 | -1/+14 |
| | |||||
* | Add textarea | bptato | 2022-11-28 | 1 | -5/+18 |
| | | | | Editing is implemented using an external editor (like vi). | ||||
* | Fix some table layout issues | bptato | 2022-11-25 | 1 | -0/+2 |
| | |||||
* | Add some quirks mode rules + presentational hints | bptato | 2022-11-25 | 1 | -1/+43 |
| | | | | Only as a POC for now. | ||||
* | Avoid forking child processes from the main process | bptato | 2022-11-24 | 1 | -1/+3 |
| | | | | Caveat: this breaks piped streams. | ||||
* | Make it compile... | bptato | 2022-10-19 | 1 | -2/+2 |
| | |||||
* | Re-enable media queries | bptato | 2022-10-19 | 1 | -2/+3 |
| | |||||
* | Fix nth-child bugs, rename select to match | bptato | 2022-08-23 | 1 | -1/+1 |
| | |||||
* | Fix incorrect selector parsing, remove httpclient from loader | bptato | 2022-08-03 | 1 | -9/+24 |
| | |||||
* | Implement revert value | bptato | 2022-07-30 | 1 | -59/+20 |
| | |||||
* | Fix cascading bugs & performance issues | bptato | 2022-07-28 | 1 | -3/+10 |
| | |||||
* | Fix StyledNode invalidation & others | bptato | 2022-07-27 | 1 | -44/+40 |
| | |||||
* | Optimize dom | bptato | 2022-07-21 | 1 | -3/+4 |
| | |||||
* | Fix forms | bptato | 2022-07-17 | 1 | -39/+17 |
| | |||||
* | Fix StyledNode caching | bptato | 2022-07-17 | 1 | -93/+37 |
| | |||||
* | Use StyledNodes instead of passing the entire DOM to the layout engine | bptato | 2022-07-16 | 1 | -30/+175 |
| | | | | | This moves pseudo element generation to the cascading phase. For now it also breaks style caching. | ||||
* | Implement HTML5 parsing | bptato | 2022-07-11 | 1 | -4/+6 |
| | | | | | | | Completely replaced the previous HTML2 (?) parser, which was a bad re-implementation of w3m's parser in the first place. Now we have a (sort of) compliant HTML5 parser. Needs tests, badly. | ||||
* | SpecifiedValue -> ComputedValue | bptato | 2022-05-13 | 1 | -2/+2 |
| | | | | Actually it's neither but ComputedValue is more accurate. | ||||
* | Rename conflicting source files | bptato | 2022-05-10 | 1 | -2/+2 |
| | | | | Nim can't really differentiate between them, unfortunately. | ||||
* | Fix stylesheet containment bug | bptato | 2022-01-25 | 1 | -32/+35 |
| | |||||
* | Fix author style sheet assignment | bptato | 2022-01-24 | 1 | -2/+9 |
| | |||||
* | Optimize cascading algorithm | bptato | 2022-01-24 | 1 | -61/+27 |
| | |||||
* | Refactor | bptato | 2022-01-24 | 1 | -1/+1 |
| | |||||
* | Fix ::before pseudo elem positioning | bptato | 2022-01-23 | 1 | -4/+7 |
| | |||||
* | Support external stylesheets | bptato | 2022-01-23 | 1 | -1/+12 |
| | |||||
* | Avoid unnecessary rendering on hover change etc | bptato | 2022-01-22 | 1 | -4/+24 |
| | |||||
* | Re-implement, height, fix pseudo on hover | bptato | 2022-01-22 | 1 | -0/+2 |
| | |||||
* | Fix media query bug, do not refresh page without css change (wip) | bptato | 2022-01-22 | 1 | -2/+2 |
| | |||||
* | Re-implement inline blocks | bptato | 2022-01-19 | 1 | -5/+1 |
| | |||||
* | Fix crash on reshape | bptato | 2022-01-19 | 1 | -2/+0 |
| |