| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
- Remove client allocation function.
- Change node_classes callback not to yield array ownership to libcss.
- Node bloom filters now built by, during selection libcss.
- Added selection callbacks to get and set data on document nodes.
Test suite, example, and documentation updated to match.
|
| |
|
|
|
|
|
|
| |
Things missing: parser tests; the following descriptors: font-feature-settings, font-stretch, font-variant, unicode-range.
svn path=/trunk/libcss/; revision=13244
|
|
|
|
| |
svn path=/trunk/libcss/; revision=12974
|
|
|
|
|
|
| |
Montgomerie.
svn path=/trunk/libcss/; revision=12697
|
|
|
|
| |
svn path=/trunk/libcss/; revision=12007
|
|
|
|
| |
svn path=/trunk/libcss/; revision=11972
|
|
|
|
| |
svn path=/trunk/libcss/; revision=11599
|
|
|
|
|
|
|
|
| |
selectors.
Fix dumping of these selectors when debugging selector chains
svn path=/trunk/libcss/; revision=11569
|
|
|
|
| |
svn path=/trunk/libcss/; revision=11557
|
|
|
|
| |
svn path=/trunk/libcss/; revision=11522
|
|
|
|
| |
svn path=/trunk/libcss/; revision=11492
|
|
|
|
|
|
| |
css__parser_parse_chunk
svn path=/trunk/libcss/; revision=11491
|
|
|
|
|
|
| |
This helps prevent confusion if someone else wants a function called parse_background or similar
svn path=/trunk/libcss/; revision=11416
|
|
|
|
|
|
| |
r=jmb,kinnison,vince
svn path=/trunk/libcss/; revision=11408
|
|
|
|
| |
svn path=/trunk/libcss/; revision=11210
|
|
|
|
|
|
| |
Move properties ready for split
svn path=/trunk/libcss/; revision=11005
|
|
|
|
|
|
| |
parallelise their processing
svn path=/trunk/libcss/; revision=10999
|
|
|
|
|
|
|
|
|
|
|
| |
These prevent stylesheets being used in multiple contexts simultaneously.
Their values can be inferred from the context in which the stylesheet is used.
Replace use of ownerRule to backtrack in style selection with a (fixed-size)
stack of rules to process. This prevents crashes when a sheet that was
previously imported somewhere is reused as a top-level sheet.
svn path=/trunk/libcss/; revision=10581
|
|
|
|
| |
svn path=/trunk/libcss/; revision=10367
|
|
|
|
| |
svn path=/trunk/libcss/; revision=10247
|
|
|
|
|
|
| |
to a rule's style.
svn path=/trunk/libcss/; revision=10174
|
|
|
|
| |
svn path=/trunk/libcss/; revision=10168
|
|
|
|
|
|
|
| |
TODO: update the tests to include a refcounting proof
svn path=/trunk/libcss/; revision=10162
|
|
|
|
|
|
|
|
|
| |
They are properties of the context in which the stylesheet is used.
Therefore, for top-level sheets, this information must be provided at selection
time. For child sheets, the origin is inherited from their parent and the
applicable media types are specified on the linking mechanism.
svn path=/trunk/libcss/; revision=9802
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2) Cache unused css_style objects with chunks of size 16, 32, 48, and 64 bytes
The above should reduce heap churn somewhat.
Further improvements are possible:
1) Make the property parsers write the parsed values direct into the output
bytecode, instead of into a temporary object which is then merged into
the output.
2) Perform similar caching for css_rule and selector objects.
3) Shrink-wrap finalised output styles rather than leaving them oversized.
4) Perform measurement to determine the optimal chunk sizes (power-of-2 makes
maths simple and 16 is plucked from thin air) and cache bucket count/sizes.
svn path=/trunk/libcss/; revision=9502
|
|
|
|
| |
svn path=/trunk/libcss/; revision=8830
|
|
|
|
|
|
| |
meant to work.
svn path=/trunk/libcss/; revision=8607
|
|
|
|
|
|
| |
ignored.
svn path=/trunk/libcss/; revision=8386
|
|
|
|
| |
svn path=/trunk/libcss/; revision=8231
|
|
|
|
| |
svn path=/trunk/libcss/; revision=8228
|
|
|
|
| |
svn path=/trunk/libcss/; revision=8024
|
|
|
|
| |
svn path=/trunk/libcss/; revision=8014
|
|
|
|
|
|
| |
they ought to be.
svn path=/trunk/libcss/; revision=6532
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6519
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
No longer is the client called back mid-parse. Instead, they must acquire details of and process imported stylesheets after css_stylesheet_data_done() has been called on the parent sheet. The return code of css_stylesheet_data_done() informs the client of the need to process imported sheets.
svn path=/trunk/libcss/; revision=6504
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6482
|
|
|
|
|
|
| |
More test data for selectors with pseudo elements
svn path=/trunk/libcss/; revision=6473
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6453
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6406
|
|
|
|
|
|
| |
specificity/rule index.
svn path=/trunk/libcss/; revision=6280
|
|
|
|
|
|
| |
This saves us having to calculate the specificity every time we want it.
svn path=/trunk/libcss/; revision=6278
|
|
|
|
|
|
| |
Squash leakage of selectors array in selector/page rules.
svn path=/trunk/libcss/; revision=6274
|
|
|
|
|
|
| |
hash.
svn path=/trunk/libcss/; revision=6273
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6271
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6269
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6268
|
|
|
|
|
|
|
|
| |
Note that we store the specificity on each simple selector. Thus the total specificity for a combinator chain is obtained by summing the specificity of each chain member.
TODO: distinguish between pseudo classes and elements.
svn path=/trunk/libcss/; revision=6267
|
|
|
|
|
|
| |
element selectors. Everything else is handled via detail.
svn path=/trunk/libcss/; revision=6266
|