| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Now we pass a node bloom filter to css_get_style. That node bloom
filter is filled with the node's ancestor element, class, and id
names. Internally, libcss also generates a bloom filter for each
selector chain. If the selector chain's bloom filter is not a
subset of the node bloom filter, we know that the selector chain's
rule does not apply to the node. This avoids the slow selector
chain matching process.
Other smaller optimisations to move the ruling out of selector
chains for inapplicable media types and other reasons to before
we start comparing rules from different sources to find the next
rule. All this is now done in hash.c so select.c never sees the
trivially ruled out rules.
|
| |
|
|
|
|
| |
property handler table.
|
| |
|
|
|
|
| |
svn path=/trunk/libcss/; revision=13864
|
|
|
|
| |
svn path=/trunk/libcss/; revision=13709
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
+ break-after
+ break-before
+ break-inside
+ column-count
+ column-fill
+ column-gap
+ column-rule-color
+ column-rule-style
+ column_rule-width
+ column_span
+ column_width
TODO: Shorthand properties (columns, column-rule)
TODO: Selection
svn path=/trunk/libcss/; revision=13412
|
|
|
|
|
|
| |
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=12769
|
|
|
|
|
|
| |
Montgomerie.
svn path=/trunk/libcss/; revision=12697
|
|
|
|
|
|
| |
Credit: James Montgomerie
svn path=/trunk/libcss/; revision=12645
|
|
|
|
| |
svn path=/trunk/libcss/; revision=12007
|
|
|
|
| |
svn path=/trunk/libcss/; revision=11975
|
|
|
|
| |
svn path=/trunk/libcss/; revision=11972
|
|
|
|
|
|
| |
which we can keep sane. All property accessors are thus hidden behind a link symbol for ABI safety
svn path=/trunk/libcss/; revision=11969
|
|
|
|
| |
svn path=/trunk/libcss/; revision=11639
|
|
|
|
|
|
| |
Move typedef -- types.h was probably a bad idea, in hindsight.
svn path=/trunk/libcss/; revision=11600
|
|
|
|
| |
svn path=/trunk/libcss/; revision=11599
|
|
|
|
| |
svn path=/trunk/libcss/; revision=11557
|
|
|
|
| |
svn path=/trunk/libcss/; revision=11527
|
|
|
|
|
|
| |
Add support for currentColor
svn path=/trunk/libcss/; revision=11525
|
|
|
|
| |
svn path=/trunk/libcss/; revision=11522
|
|
|
|
| |
svn path=/trunk/libcss/; revision=11214
|
|
|
|
| |
svn path=/trunk/libcss/; revision=11211
|
|
|
|
|
|
| |
parallelise their processing
svn path=/trunk/libcss/; revision=10999
|
|
|
|
| |
svn path=/trunk/libcss/; revision=10994
|
|
|
|
|
|
| |
Fix testsuite to compile (it passes, too)
svn path=/trunk/libcss/; revision=10955
|
|
|
|
| |
svn path=/trunk/libcss/; revision=10901
|
|
|
|
| |
svn path=/trunk/libcss/; revision=10513
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
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=9378
|
|
|
|
| |
svn path=/trunk/libcss/; revision=8996
|
|
|
|
| |
svn path=/trunk/libcss/; revision=8995
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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=8653
|
|
|
|
| |
svn path=/trunk/libcss/; revision=8609
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Modify css_computed_display to follow $9.7.
svn path=/trunk/libcss/; revision=8568
|
|
|
|
| |
svn path=/trunk/libcss/; revision=8468
|
|
|
|
| |
svn path=/trunk/libcss/; revision=8318
|
|
|
|
|
|
|
| |
Make initial border-*-color match the computed color.
Compute correct value of display/float wrt position.
svn path=/trunk/libcss/; revision=8317
|