about summary refs log tree commit diff stats
path: root/src/css
Commit message (Collapse)AuthorAgeFilesLines
* selectorparser: support :link, :visitedbptato2023-01-014-7/+22
| | | | I say "support", but :visited is never matched.
* css/values: apply presentational hints after UA stylebptato2023-01-011-4/+5
| | | | | So that e.g. table valign overrides the user-agent vertical-align value, but still respects user/author style.
* cascade: document a bitbptato2023-01-011-2/+7
|
* css/cascade: fix stylesheets not being copied in <head>bptato2022-12-311-1/+3
|
* selectorparser: accept less invalid selectorsbptato2022-12-311-2/+14
|
* css: fix some bugs and improve cascading a bitbptato2022-12-297-18/+78
|
* css/values: fix length shorthand handlingbptato2022-12-281-10/+15
|
* selectorparser: fix pseudo elements on combinator selectorsbptato2022-12-281-2/+5
|
* layout/engine: get rid of dom dependencybptato2022-12-273-23/+73
| | | | Layout should only depend on cascading.
* Implement DOMTokenList, item functions for collectionsbptato2022-12-261-1/+1
|
* Fix broken css color function parsingbptato2022-12-251-31/+49
|
* Add font color presentational hintbptato2022-12-251-0/+6
|
* css/values: fix some incorrectly accepted valuesbptato2022-12-211-18/+29
|
* More DOM workbptato2022-12-193-8/+12
|
* Add JS support to documentsbptato2022-12-181-1/+1
|
* Display text for img tag, background-imagebptato2022-12-164-17/+55
|
* layout/engine: fix a <br> bug that ate inline boxes, add broken ↵bptato2022-12-161-4/+32
| | | | | | | | | min-width/max-width min-width, max-width, min-height, max-height are mostly broken, because they aren't enforced on inline level. Though really the whole size calculation mechanism needs to be refactored, its current state is horrible.
* cssparser: check for EOF in first read chunkbptato2022-12-141-1/+4
| | | | To-do: use decoderstream...
* Fix stream error handling confusion, title displaybptato2022-12-131-2/+5
| | | | Also probably other fixes.
* cssparser: fix a parseAnB bugbptato2022-12-121-1/+1
| | | | Just a typo...
* Fix color contrast correctionbptato2022-12-121-0/+5
| | | | | Instead of just inverting the color and hoping for the best, convert it to YUV and increase/decrease luminance based on results.
* Make background-color non-inherited; fix {}= for CSSComputedValuesbptato2022-12-121-7/+8
|
* Add support for q, fix list-item counter behaviorbptato2022-12-123-25/+154
|
* Add border-collapse, border-spacing; fix fd sending hackbptato2022-12-111-9/+59
| | | | | | Note that they don't actually work correctly because of rounding errors. The fd sending hack now emits C directly. Let's hope this actually works.
* Add div alignbptato2022-12-112-1/+11
|
* Support vertical-align on tdbptato2022-12-112-4/+17
|
* Add caption-sidebptato2022-12-111-95/+119
|
* Add support for margin-left/right: autobptato2022-12-111-16/+70
|
* Fix blocking socketstream recv/send, clean up ips/serialize & types/colorbptato2022-12-101-3/+0
| | | | Write always blocks for now, as it's too big of a footgun not to
* css/values: better shorthand handlingbptato2022-12-081-102/+122
|
* Add multiple text-decoration, overline emulationbptato2022-12-071-12/+12
|
* Fix parsing of empty combinator selectorsbptato2022-12-051-1/+6
|
* Fix index error in parseDimensionValuesbptato2022-12-031-1/+1
|
* Fix initial values for left, right, top, bottombptato2022-11-291-1/+6
|
* Add position css property, inline block fixesbptato2022-11-281-3/+31
| | | | | More specifically, inline block white-space is no longer incorrectly determined by its computed values, but rather by its parent's values.
* Add textareabptato2022-11-282-6/+19
| | | | Editing is implemented using an external editor (like vi).
* Fix some table layout issuesbptato2022-11-252-14/+26
|
* Add some quirks mode rules + presentational hintsbptato2022-11-252-11/+56
| | | | Only as a POC for now.
* Avoid forking child processes from the main processbptato2022-11-241-1/+3
| | | | Caveat: this breaks piped streams.
* Table improvementsbptato2022-11-221-0/+23
|
* Color & term improvementsbptato2022-11-211-17/+4
|
* Terminal refactoringsbptato2022-11-201-18/+18
|
* Fix table cell size calculationbptato2022-11-191-2/+2
|
* Very much WIP table implementationbptato2022-11-151-9/+9
|
* Make it compile...bptato2022-10-191-2/+2
|
* Re-enable media queriesbptato2022-10-191-2/+3
|
* More JS bindingsbptato2022-09-131-4/+6
|
* Fix combinator bugs + reimplement querySelectorAllbptato2022-09-012-119/+51
|
* Fix :nth-last-childbptato2022-08-231-3/+9
|
* Use more accurate selector terminologybptato2022-08-233-31/+39
|