| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
svn path=/trunk/libcss/; revision=10814
|
|
|
|
| |
svn path=/trunk/libcss/; revision=10783
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn path=/trunk/libcss/; revision=9702
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It is a more descriptive synonym for -W.
Use -W instead which is understood by all common versions of GCC
(i.e. GCC 2.95 supports it, which is the oldest GCC version we have to support)
Additionally, conditionalise our -Werror usage on whether we're building for
BeOS/Haiku. On these platforms, the standard library headers result in warnings.
GCC 2 is quite happy to build this code on other platforms, so shouldn't be
the trigger for dropping -Werror (even if BeOS is the only target where GCC2 is
likely to be used).
svn path=/trunk/libcss/; revision=9665
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
the first place.
svn path=/trunk/libcss/; revision=9437
|
|
|
|
| |
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=9134
|
|
|
|
| |
svn path=/trunk/libcss/; revision=9028
|
|
|
|
| |
svn path=/trunk/libcss/; revision=9020
|
|
|
|
| |
svn path=/trunk/libcss/; revision=9019
|
|
|
|
| |
svn path=/trunk/libcss/; revision=8996
|
|
|
|
| |
svn path=/trunk/libcss/; revision=8995
|
|
|
|
| |
svn path=/trunk/libcss/; revision=8993
|
|
|
|
| |
svn path=/trunk/libcss/; revision=8991
|
|
|
|
|
|
| |
compilers.
svn path=/trunk/libcss/; revision=8990
|
|
|
|
|
|
| |
invalid in ANSI C.
svn path=/trunk/libcss/; revision=8982
|
|
|
|
|
|
| |
This avoids build failures when our local headers have changed but the buildsystem settings point to an include path that includes headers from a previous version.
svn path=/trunk/libcss/; revision=8958
|
|
|
|
|
|
| |
Expand test data for this.
svn path=/trunk/libcss/; revision=8931
|
|
|
|
| |
svn path=/trunk/libcss/; revision=8913
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
impose a minimum font size.
Computed styles no longer contain fully computed units.
The only computation that occurs is to convert EX units into EMs.
This means that any EM units must be converted to PT by the client.
Additionally, percentage line-height must be computed by the client.
The client must also compute percentage vertical-align once they have fully resolved the line-height.
svn path=/trunk/libcss/; revision=8741
|
|
|
|
| |
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
|