| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
svn path=/trunk/libcss/; revision=11492
|
|
|
|
|
|
| |
This helps prevent confusion if someone else wants a function called parse_background or similar
svn path=/trunk/libcss/; revision=11416
|
|
|
|
|
|
| |
r=jmb,kinnison,vince
svn path=/trunk/libcss/; revision=11408
|
|
|
|
| |
svn path=/trunk/libcss/; revision=11214
|
|
|
|
| |
svn path=/trunk/libcss/; revision=11211
|
|
|
|
|
|
| |
presentational hints must not be applied to pseudo elements.
svn path=/trunk/libcss/; revision=11181
|
|
|
|
|
|
| |
the pseudo element, and not the raw node as well.
svn path=/trunk/libcss/; revision=11177
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn path=/trunk/libcss/; revision=9020
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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=8667
|
|
|
|
|
|
|
|
| |
another selection handler callback for this.
Change selector hash to use an ASCII case-insensitive hash function.
svn path=/trunk/libcss/; revision=8602
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn path=/trunk/libcss/; revision=8549
|
|
|
|
|
|
| |
ignored.
svn path=/trunk/libcss/; revision=8386
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
set to their initial values.
svn path=/trunk/libcss/; revision=8309
|
|
|
|
|
|
| |
voice-family properties.
svn path=/trunk/libcss/; revision=8306
|
|
|
|
|
|
| |
Invert logic, so that "continue" does not occur.
svn path=/trunk/libcss/; revision=8295
|
|
|
|
| |
svn path=/trunk/libcss/; revision=8294
|
|
|
|
| |
svn path=/trunk/libcss/; revision=8244
|
|
|
|
|
|
| |
have no bytecode. This is perfectly legitimate, so should not result in an error.
svn path=/trunk/libcss/; revision=8243
|
|
|
|
| |
svn path=/trunk/libcss/; revision=8158
|
|
|
|
| |
svn path=/trunk/libcss/; revision=8024
|
|
|
|
| |
svn path=/trunk/libcss/; revision=8015
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6536
|
|
|
|
|
|
| |
computed style composition code.
svn path=/trunk/libcss/; revision=6523
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6520
|
|
|
|
|
|
|
|
|
| |
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=6505
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6482
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6472
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6471
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
+ Add config makefile (not that there's anything to configure at present :)
+ Fix dumping of UNIT_MS to actually use sprintf and not printf
+ Extend computed style dumping (still loads of properties missing)
+ Make result buffer larger in select-auto.c -- avoids buffer overflows
when there's way more output than expected
+ Expand expected test output to contain defaulted properties (more of this
will be needed once the computed style dumping is complete)
+ Store interned string pointers in css_select_state.
+ Intern pseudo class/element names at start of selecting styles for a sheet
+ Group properties so we know which ones appear in the extension blocks
+ Fixup unset properties once the cascade has completed
+ Implement matching of pseudo class/element selectors
+ Fix setting of background-image and list-style-image when there's no URL.
svn path=/trunk/libcss/; revision=6470
|
|
|
|
|
|
| |
Ensure that plain element selectors match.
svn path=/trunk/libcss/; revision=6467
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6460
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6459
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6439
|
|
|
|
|
|
|
|
| |
handlers after all. Remove that, then.
Implement handlers for a few properties.
svn path=/trunk/libcss/; revision=6414
|