| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously, we performed normal selection from CSS sources, and then iterated
over all the properties in the populated computed style. If the properties were
unset or their values were not from either a UA stylesheet or user stylesheet
with !important set, then we asked the client program (e.g. NetSurf) if there
were any presentational hints for that node, for each such property.
In the worst case this triggered N_PROPERTIES * N_NODES calls back to the client
program, even for properties that can't be set via HTML attributes.
The new API asks the client to supply a list of all the presentational hints
that apply to the given node. For most nodes on modern documents, this is 0.
Any presentational hints are applied before selection from CSS sources.
|
|
|
|
| |
svn path=/trunk/libcss/; revision=11527
|
|
|
|
| |
svn path=/trunk/libcss/; revision=10901
|
|
|
|
| |
svn path=/trunk/libcss/; revision=10513
|
|
|
|
| |
svn path=/trunk/libcss/; revision=8035
|
|
|
|
|
|
| |
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
|