| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
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
|
|
|
|
|
|
| |
Some progress towards computing absolute values.
svn path=/trunk/libcss/; revision=8311
|
|
|
|
| |
svn path=/trunk/libcss/; revision=8307
|
|
|
|
|
|
| |
voice-family properties.
svn path=/trunk/libcss/; revision=8306
|
|
|
|
| |
svn path=/trunk/libcss/; revision=8228
|
|
|
|
|
|
| |
When a style is composed, this will be resolved to whatever color: computed to.
svn path=/trunk/libcss/; revision=8184
|
|
|
|
| |
svn path=/trunk/libcss/; revision=8091
|
|
|
|
| |
svn path=/trunk/libcss/; revision=8035
|
|
|
|
| |
svn path=/trunk/libcss/; revision=8024
|
|
|
|
|
|
|
| |
Lose trailing commas.
GCC 2.95 compatibility.
svn path=/trunk/libcss/; revision=7099
|
|
|
|
|
|
| |
Plug memory leaks.
svn path=/trunk/libcss/; revision=6823
|
|
|
|
|
|
|
|
| |
This one stands a chance of working sanely.
While this compiles, please don't expect it to link.
svn path=/trunk/libcss/; revision=6820
|
|
|
|
|
|
|
| |
The client will have to maintain some state to be able to calculate this struct for every node selection, but that shouldn't be overly onerous.
Also, the mess surrounding centering can only be sensibly solved through the addition of a new, prefixed, property.
svn path=/trunk/libcss/; revision=6816
|
|
|
|
|
|
| |
Compose width, word-spacing and z-index.
svn path=/trunk/libcss/; revision=6709
|
|
|
|
|
|
|
| |
Compose counter-increment and counter-reset.
Fix compose_content.
svn path=/trunk/libcss/; revision=6692
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6536
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6519
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6518
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6516
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6515
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6514
|
|
|
|
|
|
| |
Un-inline string->fixed conversion routine.
svn path=/trunk/libcss/; revision=6513
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6481
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6480
|
|
|
|
|
|
|
|
|
| |
saner, as any node may match a pseudo class, not just the immediate target of the selection.
Munge test data to no longer expect :active to match -- there's currently no way to specify which node(s) in the tree have which pseudo classes applying to them.
The pseudo classes on @page are no longer supported (namely, :left, :right, :first). These, and @page itself, probably want a dedicated API, as they are nothing to do with normal selection. Probably something like css_error css_select_page_margins(ctx, CSS_PAGE_LEFT, &computed);
svn path=/trunk/libcss/; revision=6476
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6474
|
|
|
|
|
|
| |
deprecated)
svn path=/trunk/libcss/; revision=6454
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6453
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6442
|
|
|
|
|
|
| |
Move list-style-position to make room for it.
svn path=/trunk/libcss/; revision=6440
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6435
|
|
|
|
|
|
| |
now either embedded directly in the computed style object, or are comprised of an array of objects (rather than pointers to objects)
svn path=/trunk/libcss/; revision=6432
|