summaryrefslogtreecommitdiff
path: root/include/libcss/computed.h
Commit message (Collapse)AuthorAgeFilesLines
* Add support for SVG stroke-opacity propertyMichael Orlitzky2023-10-011-0/+4
| | | | | | | | https://www.w3.org/TR/SVGTiny12/painting.html#StrokeOpacityProperty This property is unique to SVG documents, but is otherwise analogous to the usual CSS "opacity" property (and the recently-added SVG fill-opacity property).
* Add support for SVG fill-opacity propertyMichael Orlitzky2023-10-011-0/+4
| | | | | | | https://www.w3.org/TR/SVGTiny12/painting.html#FillOpacityProperty This property is unique to SVG documents, but is otherwise analogous to the usual CSS "opacity" property.
* 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-4/+2
| | | | | | | 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.
* add text formatting of values with list stylesVincent Sanders2021-02-051-1/+24
|
* Selection: Add support for the flexbox properties.Lucas Neves2017-10-211-0/+35
|
* Interface: Add public API for getting box-sizing from computed style.Michael Drake2017-04-271-0/+3
|
* Remove redundant API surface.Michael Drake2016-11-191-4/+0
|
* Intern partial styles.Michael Drake2016-11-191-3/+4
| | | | | Note this changes the public API. We can't compose directly over child style now, since it may be interned.
* After composing styles, intern the result in the style sharing arena.Michael Drake2016-11-191-2/+2
| | | | | Note this changes the API. Selection tests updated.
* Remove trailing whitespace.Michael Drake2015-11-011-1/+1
|
* Add break-inside property support.Michael Drake2014-12-291-0/+3
|
* Add break-before property support.Michael Drake2014-12-291-0/+3
|
* Add break-after property support.Michael Drake2014-12-291-0/+3
|
* Add public accessor for column-width property.Michael Drake2014-12-061-0/+4
|
* Add public accessor for column-span property.Michael Drake2014-12-061-0/+3
|
* Add public computed style accessor for column-rule-width prop.Michael Drake2014-11-161-0/+4
|
* Add public computed style accessor for column-rule-style property.Michael Drake2014-11-161-0/+3
|
* Add public accessor for column-rule-color in computed styles.Michael Drake2014-11-151-0/+4
|
* Add public computed style access function for column-gap property.Michael Drake2014-11-071-0/+4
|
* Add public accessor for column-fill property value.Michael Drake2014-11-071-0/+3
|
* Add public accessor for column-count in computed styles.Michael Drake2014-10-041-0/+4
|
* Remove trailing whitespace.Michael Drake2014-10-041-127/+127
|
* Add support for CSS3 overflow-x and overflow-y properties.Michael Drake2014-06-011-3/+6
| | | | | | | | 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 which modify API and ABI:Michael Drake2013-12-131-2/+1
| | | | | | | | | - 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/+3
| | | | property handler table.
* Complete widows and orphans support. Thanks to James Montgomerie.Michael Drake2012-04-131-0/+7
| | | | svn path=/trunk/libcss/; revision=13864
* Add support for selecting page-break-{before, after, inside}John Mark Bell2011-08-231-0/+9
| | | | | | 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-2084/+258
| | | | | | which we can keep sane. All property accessors are thus hidden behind a link symbol for ABI safety svn path=/trunk/libcss/; revision=11969
* Add support for opacity propertyJohn Mark Bell2011-01-291-2/+26
| | | | svn path=/trunk/libcss/; revision=11527
* Sprinkle some C++ scoping aroundJohn Mark Bell2010-10-231-0/+9
| | | | svn path=/trunk/libcss/; revision=10901
* Namespace preprocessor macros. I'm not entirely sure why I didn't do this in ↵John Mark Bell2009-08-241-739/+740
| | | | | | the first place. svn path=/trunk/libcss/; revision=9437
* It turns out that using magic values for text-align is simpler than having ↵John Mark Bell2009-08-221-34/+16
| | | | | | an entirely new property for html alignment. svn path=/trunk/libcss/; revision=9387
* -libcss-alignJohn Mark Bell2009-08-211-3/+21
| | | | svn path=/trunk/libcss/; revision=9378
* Apparently, converting from int to enum requires a cast.John Mark Bell2009-08-021-45/+45
| | | | svn path=/trunk/libcss/; revision=8995
* Plug potential memory leaks in property settingJohn Mark Bell2009-07-301-0/+2
| | | | svn path=/trunk/libcss/; revision=8911
* Completely screw over any other client of libcss because NetSurf wants to ↵John Mark Bell2009-07-231-372/+0
| | | | | | | | | | | | | impose a minimum font size. Computed styles no longer contain fully computed units. The only computation that occurs is to convert EX units into EMs. This means that any EM units must be converted to PT by the client. Additionally, percentage line-height must be computed by the client. The client must also compute percentage vertical-align once they have fully resolved the line-height. svn path=/trunk/libcss/; revision=8741
* Remove pointless parameterJohn Mark Bell2009-07-211-1/+0
| | | | svn path=/trunk/libcss/; revision=8653
* Silence warnings in release modeJohn Mark Bell2009-07-171-64/+64
| | | | svn path=/trunk/libcss/; revision=8609
* Store em and percentage values for properties in the computed style.John Mark Bell2009-07-171-26/+515
| | | | | | | | 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-0/+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
* Provide accessor for computed value of display assuming static position.John Mark Bell2009-07-151-0/+41
| | | | | | 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/+4
| | | | svn path=/trunk/libcss/; revision=8468
* Compute absolute values for all length properties.John Mark Bell2009-07-041-1/+4
| | | | | | | 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-0/+6
| | | | | | Some progress towards computing absolute values. svn path=/trunk/libcss/; revision=8311
* Move quotes property into common style block.John Mark Bell2009-07-041-44/+36
| | | | svn path=/trunk/libcss/; revision=8307
* Query client for initial values of color, font-family, quotes, and ↵John Mark Bell2009-07-041-8/+12
| | | | | | voice-family properties. svn path=/trunk/libcss/; revision=8306
* Purge "colour" from the public API -- it's just confusingJohn Mark Bell2009-06-271-11/+11
| | | | svn path=/trunk/libcss/; revision=8035
* z-index is a signed int, not a css_fixed value.John Mark Bell2009-03-051-1/+1
| | | | | | Compose width, word-spacing and z-index. svn path=/trunk/libcss/; revision=6709
* Constify.John Mark Bell2009-03-041-2/+2
| | | | | | | Compose counter-increment and counter-reset. Fix compose_content. svn path=/trunk/libcss/; revision=6692