| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
| |
heh
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Even if we don't do some z-ordering correctly, it's no excuse to paint
boxes incorrectly.
It's also extremely annoying when I try to use a menu and text bleeds
into the drop-down window.
|
| |
|
|
|
|
|
| |
Eventually the tree should be collapsed into the DOM, and StyledNode
should be created on the stack.
|
|
|
|
|
|
|
|
|
|
|
|
| |
font-size isn't very useful, but some scripts assume it exists.
opacity: 0 for now is special cased: it inhibits rendering of further
boxes. This isn't quite right, as it should just behave as a pseudo
visibility: hidden... nonetheless it's quite effective at hiding
garbage.
(Also, remove incorrect comment - it can be nil if the branch has no
variables.)
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
and once again, there was light...
Well, it barely works, but it's enough to get colors back on most sites.
Nested variables aren't supported for now, and shorthand expansion only
"works" for `background' (it's a hack).
Props to the W3C for introducing the C preprocessor to CSS - I was
starting to confuse it with JSSS after calc().
|
| |
|
| |
|
| |
|
|
|
|
| |
also remove some unused fields of Container
|
| |
|
|
|
|
| |
Unicode has no half-width hiragana :/
|
|
|
|
|
| |
Actually, I'm not sure if this can be nil, especially in anonymous
table boxes...
|
|
|
|
|
|
|
|
| |
Now StyledNode has an "element" reference, which refers to the element
it was derived from.
This reduces the object's size, removes the need for casting around
the "node" field, and also gets rid of a pointless cycle.
|
| |
|
|
|
|
|
|
|
|
|
| |
Untangled some nested arrays to reduce the number of intermediary seqs
in cascade, and collapsed the two rule def sorts into just one (per
pseudo element). This should make cascading somewhat faster.
Also, we now parse variables, but they aren't resolved yet.
Probably a seq won't cut it for var lookup...
|
| |
|
|
|
|
|
|
| |
largely unused
lent idea from nim-results
|
| |
|
| |
|
|
|
|
| |
Fixes acid3 test 57
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
We already need a camel -> kebab converter anyway.
Unfortunately this also changes JS binding names, so it's a breaking
change. Oh well.
|
| |
|
|
|
|
| |
they fit into 8 and 64 bits respectively
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* switch from float64 -> float32; other browsers use 32-bit floats too
* specify integer size as 32-bit
* use NetworkBitmap for background-image value (currently just an
invalid dummy value)
* remove "none" property & value types
CSSValue's payload is always one word (plus another for the type tag).
CSSValues keeps its size, but no longer has to heap-alloc + refcount
word-sized CSSValues.
(On 32-bit systems, CSSValues might actually be larger than before,
but I expect it's still a net benefit with the removal of refcounting
and the switch to 32-bit floats.)
|
| |
|
|
|
|
| |
less work for memset
|
| |
|
|
|
|
|
|
|
| |
The fds must be read before the other buffer resumes execution.
Also, for some reason, CMSG_SPACE/CMSG_LEN are inconsistent in their
size with controllen on BSDs...
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
One less unsafe/error prone construct. Refcounting the page as seq is
unfortunate, but still miles better than zero-filling a non-refcounted
array. (Plus it works better for base64 decoding.)
The len field is still necessary, because old runtime doesn't support
setLenUninit. Oh well, it's one wasted word, not the end of the world.
As for the chunks, it looks like the allocator still uses small ones for
the seq, so we're good.
|
| |
|
| |
|
|
|
|
|
|
| |
The goal is to get "SmallChunk" pages from the allocator.
I think I stole the idea from faststreams, but the overhead might be
different with raw pointers...
|
|
|
|
|
|
|
|
| |
Moves sendfd/recvfd out of C, and fixes some of its flaws too.
The main one is that now all file descriptors are sent together.
Also, I've decided to remove the ServerSocket after all; it's easy to
add it back if it's ever needed again.
|
|
|
|
| |
to mark nilable ref objects
|
| |
|
| |
|
|
|
|
| |
this should be all of them
|
|
|
|
|
|
|
| |
ok, now it works like in w3m. (mostly, barring CSS limitations...)
we'll see how this works out
Also adds/fixes some select and option DOM APIs.
|
|
|
|
|
|
|
|
|
| |
Regular select is now rendered as flex, and does not wrap.
This gets rid of the pointless whitespace before/after options.
multiple still looks weird, but maybe a bit less?
Probably we should just render it with pseudo-checkboxes, and drop the
special mode from select.nim.
|