| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
Fully compute them on access.
Introduce a swathe of internal accessors that don't perform the complete computation. Port property composition to these new APIs.
Reduce absolute value computation to making font sizes absolute and converting any EX units to EM.
svn path=/trunk/libcss/; revision=8601
|
|
|
|
|
|
|
| |
Firstly, the chains being processed are from a hashtable, so aren't guaranteed to apply to the element being selected.
Secondly, when processing combinators, we have a completely different node object to compare.
svn path=/trunk/libcss/; revision=8593
|
|
|
|
|
|
| |
selection.
svn path=/trunk/libcss/; revision=8592
|
|
|
|
|
|
| |
Add some helpful debug -- disabled by default.
svn path=/trunk/libcss/; revision=8591
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
for the client to tell us the sensitivity when creating the stylesheet.
svn path=/trunk/libcss/; revision=8573
|
|
|
|
| |
svn path=/trunk/libcss/; revision=8572
|
|
|
|
|
|
| |
Modify css_computed_display to follow $9.7.
svn path=/trunk/libcss/; revision=8568
|
|
|
|
| |
svn path=/trunk/libcss/; revision=8549
|