| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
much better
|
|
|
|
|
|
|
| |
Probably not fully correct, but it's a good start.
Includes proprietary extension -cha-half-width, which converts
full-width characters to half-width ones.
|
|
|
|
|
|
| |
* Add clear CSS property
* Fix some margin resolution bugs
* Apply min-height, max-height to inner inline outer block boxes
|
|
|
|
| |
the error values were 100% unused
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
yay!!!!
* Add support for float: left, float: right
Also, misc stuff:
* Add support for display: flow-root
* Set line width to the maximum allowed width on line wrap
* Various refactorings
Still todo: support clear
|
|
|
|
|
|
|
|
|
| |
* Blocks are now positioned before their text contents would be
layouted
* Untangle calcAvailableSpaceSizes's results from BlockBox
* Move a couple of objects from box -> engine
* Use Size in a few more places
* Set display to block if float is not none
|
| |
|
|
|
|
|
|
| |
* rename module (window -> winattrs, to avoid conflict with env/window)
* do not use result
* remove unused cell_ratio
|
|
|
|
|
|
|
| |
Turns out you can't just throw the value into the CSS value parser.
(Also, correction for the previous commit message: it is not LI but UL
or OL.)
|
| |
|
|
|
|
|
|
|
|
| |
We did were not using it as a unicode value anywhere, it was just
making our life harder.
If we ever need unicode delimiter tokens, we can re-introduce them
as a different token type.
|
|
|
|
|
| |
It was used by mistake in a hundred percent of the cases we were
using it.
|
|
|
|
|
|
|
|
|
| |
px now converts to float64 before converting back to a layout unit
when calculating percentage values.
This should reduce overflow crashes somewhat.
(The real solution would be to not crash on overflow, but that's a
little more difficult problem to solve.)
|
|
|
|
|
|
|
|
|
|
| |
* ips -> io/
* loader related stuff -> loader/
* tempfile -> extern/
* buffer, forkserver -> server/
* lineedit, window -> display/
* cell -> types/
* opt -> types/
|
|
|
|
| |
For some reason I forgot about this.
|
| |
|
|
|
|
| |
This fixes interpretation of "@media (min/max-width: 1234px)".
|
|
|
|
| |
Reduces ugly rendering caused by rounding errors.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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...)
|
| |
|
|
|
|
| |
it had zero practical use and was annoying anyways
|
|
|
|
| |
it does nothing...
|
|
|
|
| |
Also fix margin-left/right: auto, to some extent.
|
| |
|
| |
|
|
|
|
|
| |
Options are great, but only if used consistently. This also fixes some
weird bugs where exceptions were handled incorrectly.
|
| |
|
|
|
|
| |
I say "support", but :visited is never matched.
|
|
|
|
|
| |
So that e.g. table valign overrides the user-agent vertical-align
value, but still respects user/author style.
|
| |
|
| |
|
|
|
|
| |
Layout should only depend on cascading.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|