| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
svn path=/trunk/libcss/; revision=11011
|
|
|
|
|
|
| |
Move properties ready for split
svn path=/trunk/libcss/; revision=11005
|
|
|
|
|
|
| |
parallelise their processing
svn path=/trunk/libcss/; revision=10999
|
|
|
|
| |
svn path=/trunk/libcss/; revision=10993
|
|
|
|
| |
svn path=/trunk/libcss/; revision=10985
|
|
|
|
|
|
| |
Fix testsuite to compile (it passes, too)
svn path=/trunk/libcss/; revision=10955
|
|
|
|
| |
svn path=/trunk/libcss/; revision=10856
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Ensure that hint is initialised before asking client to populate it (so as to guard against broken clients)
svn path=/trunk/libcss/; revision=10520
|
|
|
|
| |
svn path=/trunk/libcss/; revision=10513
|
|
|
|
| |
svn path=/trunk/libcss/; revision=10501
|
|
|
|
| |
svn path=/trunk/libcss/; revision=10367
|
|
|
|
| |
svn path=/trunk/libcss/; revision=10247
|
|
|
|
| |
svn path=/trunk/libcss/; revision=10240
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
Drop some dead code.
Avoid a potential NULL dereference.
Add missing "break" in initial substate of block context parser
svn path=/trunk/libcss/; revision=9678
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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=9405
|
|
|
|
|
|
| |
an entirely new property for html alignment.
svn path=/trunk/libcss/; revision=9387
|
|
|
|
| |
svn path=/trunk/libcss/; revision=9380
|
|
|
|
| |
svn path=/trunk/libcss/; revision=9379
|
|
|
|
| |
svn path=/trunk/libcss/; revision=9378
|
|
|
|
| |
svn path=/trunk/libcss/; revision=9028
|
|
|
|
| |
svn path=/trunk/libcss/; revision=9020
|
|
|
|
| |
svn path=/trunk/libcss/; revision=8996
|
|
|
|
| |
svn path=/trunk/libcss/; revision=8993
|
|
|
|
| |
svn path=/trunk/libcss/; revision=8991
|
|
|
|
|
|
| |
compilers.
svn path=/trunk/libcss/; revision=8990
|
|
|
|
|
|
| |
Expand test data for this.
svn path=/trunk/libcss/; revision=8931
|
|
|
|
| |
svn path=/trunk/libcss/; revision=8912
|
|
|
|
| |
svn path=/trunk/libcss/; revision=8911
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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=8830
|
|
|
|
|
|
| |
then the list must have been blank, which implies CSS_MEDIA_ALL.
svn path=/trunk/libcss/; revision=8822
|
|
|
|
|
|
| |
lwc_context_string_caseless_isequal, instead.
svn path=/trunk/libcss/; revision=8815
|
|
|
|
| |
svn path=/trunk/libcss/; revision=8715
|
|
|
|
| |
svn path=/trunk/libcss/; revision=8706
|
|
|
|
| |
svn path=/trunk/libcss/; revision=8696
|
|
|
|
| |
svn path=/trunk/libcss/; revision=8667
|
|
|
|
| |
svn path=/trunk/libcss/; revision=8653
|
|
|
|
| |
svn path=/trunk/libcss/; revision=8651
|
|
|
|
| |
svn path=/trunk/libcss/; revision=8624
|
|
|
|
| |
svn path=/trunk/libcss/; revision=8608
|
|
|
|
|
|
| |
meant to work.
svn path=/trunk/libcss/; revision=8607
|
|
|
|
| |
svn path=/trunk/libcss/; revision=8605
|
|
|
|
| |
svn path=/trunk/libcss/; revision=8604
|
|
|
|
|
|
|
|
| |
another selection handler callback for this.
Change selector hash to use an ASCII case-insensitive hash function.
svn path=/trunk/libcss/; revision=8602
|