summaryrefslogtreecommitdiff
path: root/src/select/properties
Commit message (Collapse)AuthorAgeFilesLines
* add css 3.1 complex predefined counter styles for addative systemsVincent Sanders2021-02-151-0/+15
|
* implement the remaining css 3.1 simple predefined counter stylesVincent Sanders2021-02-121-0/+54
|
* implement the firt half of the css 3.1 simple predefined counter stylesVincent Sanders2021-02-091-1/+42
|
* select: Split out bytecode to unit conversion helper.Michael Drake2020-12-042-41/+2
|
* Computed styles: Drop uncommon extension blocks.Michael Drake2019-05-1213-216/+109
| | | | | | | | | | | | | | 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
* Add support for new length units.Lucas Neves2017-11-131-0/+13
|
* Selection: Logic for the flexbox properties.Lucas Neves2017-10-2115-4/+750
|
* Strip trailing whitespace.Michael Drake2017-09-04114-259/+259
|
* Selection: Add support for the CSS3 box-sizing property.Michael Drake2017-04-271-13/+14
|
* Parsing: Add support for parsing the CSS3 box-sizing property.Michael Drake2017-04-273-0/+68
|
* Ensure computed content items are initialised to zero.Michael Drake2016-11-191-0/+1
| | | | This allows comparing them with memcmp.
* Move trivially compared parts of computed styles to sub-structures.Michael Drake2016-11-1913-39/+39
|
* Fix handling of currentColor.Michael Drake2014-12-311-4/+2
|
* Use appropriate enum labels.Michael Drake2014-12-291-5/+5
| | | | (They have the same values anyway.)
* Fixup break-inside.Michael Drake2014-12-291-2/+27
|
* Add break-inside property support.Michael Drake2014-12-291-30/+10
|
* Add break-before property support.Michael Drake2014-12-291-35/+10
|
* Add break-after property support.Michael Drake2014-12-291-35/+10
|
* Add helpers for selecting break-* properties.Michael Drake2014-12-292-0/+52
|
* Fix use of wrong enum value.Michael Drake2014-12-081-1/+1
| | | | Coverity: 1257106 Inferred misuse of enum.
* Add column-width property to computed styles.Michael Drake2014-12-061-34/+20
|
* Add column-span property to computed styles.Michael Drake2014-12-061-14/+15
|
* Add column-rule-width to computed styles.Michael Drake2014-11-161-36/+14
|
* Add column_rule_style to computed styles.Michael Drake2014-11-161-36/+11
|
* Add column-rule-color to computed styles.Michael Drake2014-11-151-18/+24
|
* Implement selection for column-gap property.Michael Drake2014-11-071-33/+19
|
* Implement selection for column-fill property.Michael Drake2014-11-071-13/+14
|
* Cascade and compose column-count property into computed style.Michael Drake2014-10-041-12/+19
|
* Add support for CSS3 overflow-x and overflow-y properties.Michael Drake2014-06-014-12/+86
| | | | | | | | 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 9.7 handling from get_display. Delete get_display_static. Remove ↵Michael Drake2014-01-101-2/+2
| | | | duplication in css_computed_display.
* Fix filename.Michael Drake2014-01-102-1/+1
|
* Various changes for orphans and widows properties:Michael Drake2014-01-102-6/+6
| | | | | | + 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-138-104/+82
| | | | | | | | | - 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/+1
| | | | property handler table.
* Add support for parsing the writing-mode property. Thanks to Caitlin Potter.Caitlin Potter2013-09-102-0/+71
|
* Update to new NSBUILD infrastructureDaniel Silverstone2012-06-291-1/+1
| | | | svn path=/trunk/libcss/; revision=14004
* correctly apply enum casts to avoid warnings about casting between Vincent Sanders2012-04-141-6/+6
| | | | | | disimmilar enumerations. svn path=/trunk/libcss/; revision=13868
* Complete widows and orphans support. Thanks to James Montgomerie.Michael Drake2012-04-132-28/+22
| | | | svn path=/trunk/libcss/; revision=13864
* Fix debug build (warnings about comparing different enums).François Revel2012-04-061-4/+6
| | | | svn path=/trunk/libcss/; revision=13810
* Use correct unit enum values for computed clip rectangleRob Kendrick2012-03-251-1/+1
| | | | svn path=/trunk/libcss/; revision=13651
* Add support for parsing CSS3 Multi-column layout properties:Michael Drake2012-01-2813-0/+788
| | | | | | | | | | | | | | | | | | + break-after + break-before + break-inside + column-count + column-fill + column-gap + column-rule-color + column-rule-style + column_rule-width + column_span + column_width TODO: Shorthand properties (columns, column-rule) TODO: Selection svn path=/trunk/libcss/; revision=13412
* Fall back to UA's default font family if no generic family is specified in ↵John Mark Bell2011-12-041-10/+48
| | | | | | | | the input CSS. Based on a patch from James Montgomerie. svn path=/trunk/libcss/; revision=13227
* Add support for selecting page-break-{before, after, inside}John Mark Bell2011-08-235-63/+49
| | | | | | Credit: James Montgomerie svn path=/trunk/libcss/; revision=12645
* Fix build with GCC 4.6John Mark Bell2011-07-2612-36/+1
| | | | svn path=/trunk/libcss/; revision=12627
* Fix cascade of clip rectangle valueJohn Mark Bell2011-03-121-0/+1
| | | | svn path=/trunk/libcss/; revision=11988
* Add support for opacity propertyJohn Mark Bell2011-01-293-0/+64
| | | | svn path=/trunk/libcss/; revision=11527
* Centralise handling of transparent colours.John Mark Bell2011-01-298-14/+36
| | | | | | Add support for currentColor svn path=/trunk/libcss/; revision=11525
* Rename all css_[^_] internal symbols to css__ so that they're nicely namespacedDaniel Silverstone2011-01-267-10/+10
| | | | svn path=/trunk/libcss/; revision=11492
* Fix cascade of counter-{increment,reset} on 64bit platformsJohn Mark Bell2011-01-241-3/+3
| | | | svn path=/trunk/libcss/; revision=11476
* Ensure there are zero global symbols without css_ or css__ in front of them. ↵Daniel Silverstone2011-01-20102-557/+557
| | | | | | This helps prevent confusion if someone else wants a function called parse_background or similar svn path=/trunk/libcss/; revision=11416