| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
1) element selectors
2) universal selectors with class names
3) universal selectors with ids
4) universal selectors
Only bother looking for matching selectors in 2 & 3 if the node being selected for has class names or an id, respectively.
In theory, this should speed up style selection somewhat.
svn path=/trunk/libcss/; revision=8882
|
|
|
|
| |
svn path=/trunk/libcss/; revision=8653
|
|
|
|
|
|
|
|
| |
another selection handler callback for this.
Change selector hash to use an ASCII case-insensitive hash function.
svn path=/trunk/libcss/; revision=8602
|
|
|
|
|
|
| |
resultant absolute font size should not be clamped to a fixed minimum (e.g. if the client has a minimum permissible font size)
svn path=/trunk/libcss/; revision=8586
|
|
|
|
|
|
| |
Some progress towards computing absolute values.
svn path=/trunk/libcss/; revision=8311
|
|
|
|
|
|
| |
voice-family properties.
svn path=/trunk/libcss/; revision=8306
|
|
|
|
| |
svn path=/trunk/libcss/; revision=8024
|
|
|
|
|
|
|
|
| |
This one stands a chance of working sanely.
While this compiles, please don't expect it to link.
svn path=/trunk/libcss/; revision=6820
|
|
|
|
|
|
|
| |
The client will have to maintain some state to be able to calculate this struct for every node selection, but that shouldn't be overly onerous.
Also, the mess surrounding centering can only be sensibly solved through the addition of a new, prefixed, property.
svn path=/trunk/libcss/; revision=6816
|
|
|
|
|
|
|
|
|
| |
It passes the tests, perhaps we need more of them.
Lifetimes of lwc_string objects really need attention before we can consider
this finished.
svn path=/trunk/libcss/; revision=6517
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6482
|
|
|
|
|
|
|
|
|
| |
saner, as any node may match a pseudo class, not just the immediate target of the selection.
Munge test data to no longer expect :active to match -- there's currently no way to specify which node(s) in the tree have which pseudo classes applying to them.
The pseudo classes on @page are no longer supported (namely, :left, :right, :first). These, and @page itself, probably want a dedicated API, as they are nothing to do with normal selection. Probably something like css_error css_select_page_margins(ctx, CSS_PAGE_LEFT, &computed);
svn path=/trunk/libcss/; revision=6476
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6474
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6407
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6404
|
|
|
|
|
|
|
|
| |
Refactor stuff while we're at it.
Selector chains containing universal simple components are expensive to match/reject, as they require matching details on every previous sibling/ancestor (depending on the combinator type). Thus, we aim to handle the universal case last, to have the best chance of avoiding it.
svn path=/trunk/libcss/; revision=6403
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6402
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6401
|
|
|
|
|
|
| |
It's far better that the client creates computed style objects which we then populate. This will allow more efficient composition of styles as, in the most common case, it won't require any memory allocation.
svn path=/trunk/libcss/; revision=6390
|
|
|
|
|
|
|
| |
Make css_computed_style_create() private.
Implement css_computed_style_[create,destroy]().
svn path=/trunk/libcss/; revision=6389
|
|
|
|
|
|
| |
complete.
svn path=/trunk/libcss/; revision=6289
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6286
|
|
svn path=/trunk/libcss/; revision=6284
|