summaryrefslogtreecommitdiff
path: root/src/select/computed.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove duplicate implementation in css_computed_float.Michael Drake2014-01-101-15/+6
|
* Remove 9.7 handling from get_display. Delete get_display_static. Remove ↵Michael Drake2014-01-101-30/+20
| | | | duplication in css_computed_display.
* Various changes for orphans and widows properties:Michael Drake2014-01-101-46/+4
| | | | | | + Keep as int internally, rather than css_fixed. + Fix get_widows to return widows instead of orphans. + Remove duplicate implementations in css_computed_ getters.
* Avoid duplicate implementations of computed style property getters.Michael Drake2014-01-101-1391/+158
|
* Various changes which modify API and ABI:Michael Drake2013-12-131-21/+13
| | | | | | | | | - Remove client allocation function. - Change node_classes callback not to yield array ownership to libcss. - Node bloom filters now built by, during selection libcss. - Added selection callbacks to get and set data on document nodes. Test suite, example, and documentation updated to match.
* Add computed style accessor for writing-mode and and writing-mode to the ↵Michael Drake2013-09-101-0/+21
| | | | property handler table.
* Complete widows and orphans support. Thanks to James Montgomerie.Michael Drake2012-04-131-0/+53
| | | | svn path=/trunk/libcss/; revision=13864
* Add support for selecting page-break-{before, after, inside}John Mark Bell2011-08-231-0/+64
| | | | | | Credit: James Montgomerie svn path=/trunk/libcss/; revision=12645
* Hide the CSS computed style itself. Only expose a few simple structures ↵Daniel Silverstone2011-03-121-0/+1847
| | | | | | which we can keep sane. All property accessors are thus hidden behind a link symbol for ABI safety svn path=/trunk/libcss/; revision=11969
* Centralise handling of transparent colours.John Mark Bell2011-01-291-5/+53
| | | | | | Add support for currentColor svn path=/trunk/libcss/; revision=11525
* Ensure there are zero global symbols without css_ or css__ in front of them. ↵Daniel Silverstone2011-01-201-2/+2
| | | | | | This helps prevent confusion if someone else wants a function called parse_background or similar svn path=/trunk/libcss/; revision=11416
* Simultaneously select styles for base + pseudo elements.John Mark Bell2011-01-051-2/+2
| | | | svn path=/trunk/libcss/; revision=11211
* Correct management of string references in computed styles.John Mark Bell2010-04-041-3/+75
| | | | svn path=/trunk/libcss/; revision=10240
* Clarify operationJohn Mark Bell2009-07-221-2/+3
| | | | svn path=/trunk/libcss/; revision=8706
* Remove pointless parameterJohn Mark Bell2009-07-211-5/+4
| | | | svn path=/trunk/libcss/; revision=8653
* Avoid division by zeroJohn Mark Bell2009-07-201-2/+5
| | | | svn path=/trunk/libcss/; revision=8624
* Store em and percentage values for properties in the computed style.John Mark Bell2009-07-171-336/+108
| | | | | | | | 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
* Add a flag to the font size computation callback to indicate that the ↵John Mark Bell2009-07-161-4/+5
| | | | | | 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
* Provide accessor for computed value of display assuming static position.John Mark Bell2009-07-151-56/+0
| | | | | | Modify css_computed_display to follow $9.7. svn path=/trunk/libcss/; revision=8568
* Provide some API to allow retrieval of an Initial styleJohn Mark Bell2009-07-121-0/+40
| | | | svn path=/trunk/libcss/; revision=8468
* Compute absolute values for all length properties.John Mark Bell2009-07-041-5/+1017
| | | | | | | Make initial border-*-color match the computed color. Compute correct value of display/float wrt position. svn path=/trunk/libcss/; revision=8317
* Add callback to make client compute the font size.John Mark Bell2009-07-041-6/+35
| | | | | | Some progress towards computing absolute values. svn path=/trunk/libcss/; revision=8311
* Move quotes property into common style block.John Mark Bell2009-07-041-4/+4
| | | | svn path=/trunk/libcss/; revision=8307
* Completely change the approach used for presentational hints.John Mark Bell2009-03-231-1/+1
| | | | | | | | This one stands a chance of working sanely. While this compiles, please don't expect it to link. svn path=/trunk/libcss/; revision=6820
* Add compose entry to property dispatch table.John Mark Bell2009-03-021-6/+25
| | | | | | | Implement css_computed_style_compose() in terms of this. Don't expect this to link -- none of the composition functions exist. svn path=/trunk/libcss/; revision=6675
* Move property dispatch table out of select.c so it can be used by the ↵John Mark Bell2009-02-151-0/+1
| | | | | | computed style composition code. svn path=/trunk/libcss/; revision=6523
* Lose redundant todosJohn Mark Bell2009-02-151-2/+0
| | | | svn path=/trunk/libcss/; revision=6521
* Drop css_error_handler and rename css_alloc to css_allocator_fnDaniel Silverstone2009-02-141-1/+1
| | | | svn path=/trunk/libcss/; revision=6482
* Er yeah, it probably helps to initialise your allocation function pointer.John Mark Bell2009-02-121-0/+3
| | | | svn path=/trunk/libcss/; revision=6458
* Change the representation of any data that includes a css_string. They're ↵John Mark Bell2009-02-111-16/+0
| | | | | | 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
* Oh look, I've changed my mind again.John Mark Bell2009-02-071-3/+4
| | | | | | 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
* More API changes.John Mark Bell2009-02-071-0/+130
Make css_computed_style_create() private. Implement css_computed_style_[create,destroy](). svn path=/trunk/libcss/; revision=6389