| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
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
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6413
|
|
|
|
|
|
| |
as if there's a dearth of opcode space.
svn path=/trunk/libcss/; revision=6410
|
|
|
|
|
|
|
|
| |
Dispatch property handling through a table.
Implement cascade_style.
All property handlers are stubs at present.
svn path=/trunk/libcss/; revision=6409
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6406
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6405
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6404
|
|
|
|
|
|
|
|
| |
Refactor stuff while we're at it.
Selector chains containing universal simple components are expensive to match/reject, as they require matching details on every previous sibling/ancestor (depending on the combinator type). Thus, we aim to handle the universal case last, to have the best chance of avoiding it.
svn path=/trunk/libcss/; revision=6403
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6402
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6401
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6400
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6399
|
|
|
|
|
|
| |
got set so that we can determine whether a subsequently defined rule overrides it.
svn path=/trunk/libcss/; revision=6395
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6392
|
|
|
|
|
|
| |
Sketch out a struct containing the state needed during selection. We need to know the specificity, origin, and importance of the source of the current property value. We also need to know whether the property has been set at all (as this is not available by simply inspecting the computed style struct).
svn path=/trunk/libcss/; revision=6391
|
|
|
|
|
|
| |
It's far better that the client creates computed style objects which we then populate. This will allow more efficient composition of styles as, in the most common case, it won't require any memory allocation.
svn path=/trunk/libcss/; revision=6390
|
|
|
|
|
|
|
| |
Make css_computed_style_create() private.
Implement css_computed_style_[create,destroy]().
svn path=/trunk/libcss/; revision=6389
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6388
|
|
|
|
|
|
| |
Add a couple of types to types.h -- the fixed point stuff needs thinking about.
svn path=/trunk/libcss/; revision=6365
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6285
|
|
svn path=/trunk/libcss/; revision=6284
|