summaryrefslogtreecommitdiff
path: root/include/libcss/computed.h
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Some changes. No idea what they are, mind you.John Mark Bell2009-02-151-11/+11
| | | | svn path=/trunk/libcss/; revision=6536
* Fix maths in commentaryJohn Mark Bell2009-02-151-8/+6
| | | | svn path=/trunk/libcss/; revision=6518
* Port libcss to libwapcaplet.Daniel Silverstone2009-02-141-25/+27
| | | | | | | | | It passes the tests, perhaps we need more of them. Lifetimes of lwc_string objects really need attention before we can consider this finished. svn path=/trunk/libcss/; revision=6517
* Replace pointers to aural/page properties with pointers to void as placeholdersJohn Mark Bell2009-02-141-12/+2
| | | | svn path=/trunk/libcss/; revision=6516
* Finally, a representation of a computed content property.John Mark Bell2009-02-141-7/+66
| | | | svn path=/trunk/libcss/; revision=6515
* Fix clip: rect() with auto sidesJohn Mark Bell2009-02-141-21/+42
| | | | svn path=/trunk/libcss/; revision=6514
* Drop css_error_handler and rename css_alloc to css_allocator_fnDaniel Silverstone2009-02-141-2/+2
| | | | svn path=/trunk/libcss/; revision=6482
* Modify encoding of quotes. Move clip to accommodate.John Mark Bell2009-02-111-16/+15
| | | | svn path=/trunk/libcss/; revision=6442
* Change encoding of font-familyJohn Mark Bell2009-02-111-38/+38
| | | | | | Move list-style-position to make room for it. svn path=/trunk/libcss/; revision=6440
* Handle counter-increment/counter-resetJohn Mark Bell2009-02-111-2/+2
| | | | svn path=/trunk/libcss/; revision=6435
* Change the representation of any data that includes a css_string. They're ↵John Mark Bell2009-02-111-26/+30
| | | | | | 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-1/+3
| | | | | | 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-3/+1
| | | | | | | Make css_computed_style_create() private. Implement css_computed_style_[create,destroy](). svn path=/trunk/libcss/; revision=6389
* It probably helps to ensure the allocation routine is accessible.John Mark Bell2009-02-071-1/+4
| | | | | | Minor fix for an accessor. svn path=/trunk/libcss/; revision=6387
* More accessorsJohn Mark Bell2009-02-061-0/+102
| | | | svn path=/trunk/libcss/; revision=6386