summaryrefslogtreecommitdiff
path: root/src/select/computed.c
Commit message (Collapse)AuthorAgeFilesLines
* Selection: Add support for the flexbox properties.Lucas Neves2017-10-211-2/+89
|
* Strip trailing whitespace.Michael Drake2017-09-041-35/+35
|
* Interface: Add public API for getting box-sizing from computed style.Michael Drake2017-04-271-0/+5
|
* Remove redundant API surface.Michael Drake2016-11-191-3/+3
|
* Remove trailing whitespace.Michael Drake2016-11-191-1/+1
|
* Intern partial styles.Michael Drake2016-11-191-9/+21
| | | | | Note this changes the public API. We can't compose directly over child style now, since it may be interned.
* Composition: Avoid extension block checks irrelevent to property group.Michael Drake2016-11-191-14/+18
|
* After composing styles, intern the result in the style sharing arena.Michael Drake2016-11-191-4/+25
| | | | | Note this changes the API. Selection tests updated.
* Move trivially compared parts of computed styles to sub-structures.Michael Drake2016-11-191-31/+51
|
* Revert "Fix use of uninitialized values in style composition."John-Mark Bell2015-03-101-4/+4
| | | | This reverts commit 9a3112f46fcfce9952134fa230b5879ac33b8e3c.
* Fix use of uninitialized values in style composition.John-Mark Bell2015-03-101-4/+4
|
* Simplify length absolutification.Michael Drake2015-02-281-93/+19
| | | | | | Prevents harmless "Conditional jump or move depends on uninitialised value(s)" in case of properties set to "normal". Now we only absolutify EX values if the there is a value set.
* Use calloc instead of malloc/memset.Michael Drake2015-01-241-3/+1
|
* Add absolutification for column-gap.Michael Drake2015-01-101-0/+8
|
* Absolutification of column-width.Michael Drake2015-01-101-0/+8
|
* Improve comment.Michael Drake2015-01-101-2/+2
|
* Implement absolutification for column-rule-width.Michael Drake2015-01-101-2/+18
|
* Sync public getter wrapper's absolutification handling.Michael Drake2015-01-101-17/+10
|
* Need to pass normal property value though to the client.Michael Drake2015-01-101-43/+2
| | | | It has semantic meaning different from any absolute value (for justified text).
* Avoid duplicate get_column_rule_color call.Michael Drake2015-01-021-3/+1
|
* Trivial optimisation.Michael Drake2015-01-021-8/+13
|
* Ensure letter and word spacing are always absolutified.Michael Drake2015-01-021-2/+16
|
* Add absolute value conversion of currentColor for column-rule-color.Michael Drake2014-12-311-0/+8
|
* Add break-inside property support.Michael Drake2014-12-291-0/+5
|
* Add break-before property support.Michael Drake2014-12-291-0/+5
|
* Add break-after property support.Michael Drake2014-12-291-0/+5
|
* Fix broken absolute valuification of letter and word spacing properties.Michael Drake2014-12-291-4/+6
|
* Tiny optimisation for computed style absolute valuification.Michael Drake2014-12-291-3/+1
|
* Add public accessor for column-width property.Michael Drake2014-12-061-0/+6
|
* Add public accessor for column-span property.Michael Drake2014-12-061-0/+5
|
* Add public computed style accessor for column-rule-width prop.Michael Drake2014-11-161-0/+6
|
* Add public computed style accessor for column-rule-style property.Michael Drake2014-11-161-0/+5
|
* Add public accessor for column-rule-color in computed styles.Michael Drake2014-11-151-0/+6
|
* Add public computed style access function for column-gap property.Michael Drake2014-11-071-0/+6
|
* Add public accessor for column-fill property value.Michael Drake2014-11-071-0/+5
|
* Cascade and compose column-count property into computed style.Michael Drake2014-10-041-0/+6
|
* Add support for CSS3 overflow-x and overflow-y properties.Michael Drake2014-06-011-2/+7
| | | | | | | | Now, overflow is a shorthand property setting both overflow-x and overflow-y. The getter for the computed overflow has been removed, and replaced with two for overflow-x and overflow-y.
* Remove implementation duplication in top/right/bottom/left property getters.Michael Drake2014-01-101-115/+45
|
* 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