summaryrefslogtreecommitdiff
path: root/src/parse/properties
Commit message (Collapse)AuthorAgeFilesLines
* Add support for SVG stroke-opacity propertyMichael Orlitzky2023-10-014-0/+89
| | | | | | | | 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-014-0/+89
| | | | | | | 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.
* Avoid integer types with platform dependent sizeDeltaVonNeumann2023-06-1736-240/+240
|
* properties: position: Add support for 'sticky' valueMichael Drake2022-11-031-1/+1
|
* properties: display: Add grid valuesMichael Drake2022-10-291-1/+1
|
* Parse: Nongenerated properties: Explicit defaultsMichael Drake2022-08-2931-135/+363
|
* Parse: Explicit default support for generated propertiesMichael Drake2022-08-291-93/+93
|
* Parse: Update code generator to support new valuesMichael Drake2022-08-291-4/+42
|
* Parse: Utils: Helper to get any value from flagsMichael Drake2022-08-291-0/+29
|
* Units: Remove units that nobody supports.Michael Drake2021-05-192-9/+0
|
* parse: Squash leak of system font names.Michael Drake2021-05-191-0/+3
|
* parse: Perform client to parse unit conversion for system fonts.Michael Drake2021-05-191-2/+45
|
* add css 3.1 complex predefined counter styles for addative systemsVincent Sanders2021-02-151-2/+7
|
* implement the remaining css 3.1 simple predefined counter stylesVincent Sanders2021-02-121-2/+20
|
* implement the firt half of the css 3.1 simple predefined counter stylesVincent Sanders2021-02-091-67/+49
|
* parse: properties: Add property-specific unit class masks.Michael Drake2020-11-154-22/+270
| | | | | | | | | There's a table we can index into for calc(): const uint32_t property_unit_mask[CSS_N_PROPERTIES] And there are #defines for where the code is already property-specific, avoiding the lookup.
* parse: properties.gen: Convert to using unit allow masks.Michael Drake2020-11-151-21/+21
|
* Parse: Add missing error checks for outline shorthand.Michael Drake2020-02-241-3/+12
| | | | | | Fixes scan-build: Value stored to 'error' is never read. Signed-off-by: Michael Drake <Michael Drake tlsa@netsurf-browser.org>
* Parse: Add missing error checks for list-style shorthand.Michael Drake2020-02-241-3/+12
| | | | | | Fixes scan-build: Value stored to 'error' is never read. Signed-off-by: Michael Drake <Michael Drake tlsa@netsurf-browser.org>
* Parse: Add missing error checks for flex-flow shorthand.Michael Drake2020-02-241-2/+8
| | | | | | Fixes scan-build: Value stored to 'error' is never read. Signed-off-by: Michael Drake <Michael Drake tlsa@netsurf-browser.org>
* Units: parse new unit namesJohn-Mark Bell2019-03-101-0/+8
|
* Parsing: Fix undefined shift in css__parse_hash_colour.Michael Drake2018-07-281-2/+2
| | | | | | | | | | uint a = 0xff; a << 24 `a` gets promoted to int, which can't store the value. src/parse/properties/utils.c:655:16: runtime error: left shift of 255 by 24 places cannot be represented in type 'int' src/parse/properties/utils.c:889:15: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
* Add support for new length units.Lucas Neves2017-11-131-0/+26
|
* Selection: Logic for the flexbox properties.Lucas Neves2017-10-211-1/+1
|
* Parsing: Add support for parsing the flexbox properties.Lucas Neves2017-10-216-5/+423
|
* Strip trailing whitespace.Michael Drake2017-09-0431-403/+403
|
* Parsing: Add support for parsing the CSS3 box-sizing property.Michael Drake2017-04-273-0/+6
|
* Perser generator: Squash coverity #1361551 Unused valueMichael Drake2016-08-131-1/+0
|
* Parse: Squash coverity #1361552: Unused valueMichael Drake2016-08-131-2/+3
|
* Update to use correct BUILD/HOST variables due to buildsystem changesVincent Sanders2014-12-191-1/+1
|
* strncasecmp is defined in strings.hVincent Sanders2014-09-051-0/+1
|
* Fix warning.Michael Drake2014-06-021-1/+2
|
* Add support for CSS3 overflow-x and overflow-y properties.Michael Drake2014-06-015-2/+110
| | | | | | | | 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.
* ensure generation tool exits if it cannot open its output file. (coverity ↵Vincent Sanders2014-01-241-0/+1
| | | | 1127066)
* Fix destruction of wrong style. Coverity #1137922.Michael Drake2013-12-151-1/+1
|
* Update for new lpu API.Michael Drake2013-12-141-1/+1
|
* 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.
* Handle css__stylesheet_style_append() returning error. Coverity #1127060.Michael Drake2013-11-081-4/+22
|
* 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/+4
|
* Apply slightly modified patch from Murat Gocmen.Michael Drake2013-09-101-4/+12
|
* ensure enough parameetrs to IDENT list existVincent Sanders2013-04-221-67/+75
|
* Hopefully silence a warningDaniel Silverstone2012-10-151-1/+1
|
* Update to new NSBUILD infrastructureDaniel Silverstone2012-06-291-1/+1
| | | | svn path=/trunk/libcss/; revision=14004
* Git ignoresDaniel Silverstone2012-06-041-0/+2
| | | | svn path=/trunk/libcss/; revision=13949
* Correct type of out parameterJohn Mark Bell2012-03-242-2/+2
| | | | svn path=/trunk/libcss/; revision=13644
* Dodgy bodge to shut clang upDaniel Silverstone2012-03-241-1/+3
| | | | svn path=/trunk/libcss/; revision=13642
* Remove out-of-sync sources comment. Make source list clearer and sort it.Michael Drake2012-02-031-27/+32
| | | | svn path=/trunk/libcss/; revision=13417
* Add parsing of CSS3 Multi-column layout module shorthand properties. ↵Michael Drake2012-02-035-1/+328
| | | | | | (columns & column-rule) svn path=/trunk/libcss/; revision=13416
* Add support for parsing CSS3 Multi-column layout properties:Michael Drake2012-01-283-0/+68
| | | | | | | | | | | | | | | | | | + 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