summaryrefslogtreecommitdiff
path: root/src/select/computed.h
Commit message (Collapse)AuthorAgeFilesLines
* Select: Add computed style clone functionMichael Drake2022-08-291-0/+4
|
* Selection: Don't duplicate unit conversion members in media descriptor.Michael Drake2021-05-191-1/+1
|
* Selection: Remove client callback for unit conversion.Michael Drake2021-05-191-3/+3
| | | | | | | Now clients provide a unit conversion context and libcss provides code to perform unit conversion. This reduces the amount of common code that clients have to write.
* Computed styles: Drop uncommon extension blocks.Michael Drake2019-05-121-7/+0
| | | | | | | | | | | | | | They were a space saving feature, but they became largely redundant with computed style sharing. They also made the code complex and buggy in many places. E.g. the cascade, inheritance / composition, and intial values all needed to behave corretly when they, or their parent, had or didn't have an uncommon block. Also, only the uncommon block was really used. Fixes: https://bugs.netsurf-browser.org/mantis/view.php?id=2641
* Select: include autogenerated content in header files.Lucas Neves2017-11-131-337/+1
|
* Selection: Add support for the flexbox properties.Lucas Neves2017-10-211-11/+32
|
* Strip trailing whitespace.Michael Drake2017-09-041-4/+4
|
* Selection: Add support for the CSS3 box-sizing property.Michael Drake2017-04-271-2/+3
|
* Make node data contain list of partial node styles.Michael Drake2016-11-191-0/+4
|
* Remove redundant API surface.Michael Drake2016-11-191-0/+6
|
* Intern partial styles.Michael Drake2016-11-191-0/+17
| | | | | Note this changes the public API. We can't compose directly over child style now, since it may be interned.
* Move trivially compared parts of computed styles to sub-structures.Michael Drake2016-11-191-7/+23
|
* Add break-after property support.Michael Drake2014-12-291-5/+10
|
* Add column-width property to computed styles.Michael Drake2014-12-061-6/+8
|
* Add column-span property to computed styles.Michael Drake2014-12-061-5/+7
|
* Add column-rule-width to computed styles.Michael Drake2014-11-161-12/+15
|
* Add column_rule_style to computed styles.Michael Drake2014-11-161-3/+4
|
* Add column-rule-color to computed styles.Michael Drake2014-11-151-5/+7
|
* Implement selection for column-gap property.Michael Drake2014-11-071-5/+8
|
* Implement selection for column-fill property.Michael Drake2014-11-071-3/+4
|
* Cascade and compose column-count property into computed style.Michael Drake2014-10-041-5/+9
|
* Length of computed bits array has increased by one byte.Michael Drake2014-06-011-2/+2
| | | | Reduce unused bytes from 2 to 1.
* Add support for CSS3 overflow-x and overflow-y properties.Michael Drake2014-06-011-1/+2
| | | | | | | | 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.
* Various changes for orphans and widows properties:Michael Drake2014-01-101-2/+2
| | | | | | + Keep as int internally, rather than css_fixed. + Fix get_widows to return widows instead of orphans. + Remove duplicate implementations in css_computed_ getters.
* Various changes which modify API and ABI:Michael Drake2013-12-131-3/+0
| | | | | | | | | - 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 support for parsing the writing-mode property. Thanks to Caitlin Potter.Caitlin Potter2013-09-101-1/+1
|
* Complete widows and orphans support. Thanks to James Montgomerie.Michael Drake2012-04-131-6/+9
| | | | svn path=/trunk/libcss/; revision=13864
* Add support for selecting page-break-{before, after, inside}John Mark Bell2011-08-231-1/+12
| | | | | | 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/+265
| | | | | | which we can keep sane. All property accessors are thus hidden behind a link symbol for ABI safety svn path=/trunk/libcss/; revision=11969
* Ensure there are zero global symbols without css_ or css__ in front of them. ↵Daniel Silverstone2011-01-201-1/+1
| | | | | | This helps prevent confusion if someone else wants a function called parse_background or similar svn path=/trunk/libcss/; revision=11416
* Remove pointless parameterJohn Mark Bell2009-07-211-1/+1
| | | | svn path=/trunk/libcss/; revision=8653
* Add a flag to the font size computation callback to indicate that the ↵John Mark Bell2009-07-161-1/+1
| | | | | | 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
* It helps if you add filesJohn Mark Bell2009-07-091-0/+20
| | | | svn path=/trunk/libcss/; revision=8411
* Oh look, I've changed my mind again.John Mark Bell2009-02-071-16/+0
| | | | | | 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/+16
Make css_computed_style_create() private. Implement css_computed_style_[create,destroy](). svn path=/trunk/libcss/; revision=6389