| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
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
|
|
|
|
|
|
| |
specificity/rule index.
svn path=/trunk/libcss/; revision=6280
|
|
|
|
|
|
| |
This saves us having to calculate the specificity every time we want it.
svn path=/trunk/libcss/; revision=6278
|
|
|
|
|
|
| |
Squash leakage of selectors array in selector/page rules.
svn path=/trunk/libcss/; revision=6274
|
|
|
|
|
|
| |
hash.
svn path=/trunk/libcss/; revision=6273
|
|
|
|
|
|
| |
it's simpler)
svn path=/trunk/libcss/; revision=6272
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6271
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6270
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6269
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6268
|
|
|
|
|
|
|
|
| |
Note that we store the specificity on each simple selector. Thus the total specificity for a combinator chain is obtained by summing the specificity of each chain member.
TODO: distinguish between pseudo classes and elements.
svn path=/trunk/libcss/; revision=6267
|
|
|
|
|
|
| |
element selectors. Everything else is handled via detail.
svn path=/trunk/libcss/; revision=6266
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6265
|
|
|
|
|
|
| |
we destroy the sheet.
svn path=/trunk/libcss/; revision=6264
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6263
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6259
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6258
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6245
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6243
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6242
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6240
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6239
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6233
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6232
|
|
|
|
|
|
| |
explicitly outlaw this, but it's clearly nonsensical.
svn path=/trunk/libcss/; revision=6230
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6229
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6228
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6227
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6226
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6214
|
|
|
|
|
|
| |
Fix assertion failure when the first token within a ruleset isn't an IDENT.
svn path=/trunk/libcss/; revision=6213
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6211
|
|
|
|
|
|
| |
There's a potential quirk required here to match Mozilla, at the very least.
svn path=/trunk/libcss/; revision=6209
|
|
|
|
|
|
| |
Add some more constants.
svn path=/trunk/libcss/; revision=6206
|