summaryrefslogtreecommitdiff
path: root/src/parse/properties
Commit message (Collapse)AuthorAgeFilesLines
* add css 3.1 complex predefined counter styles for addative systemsHEADmasterVincent 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
* @font-face support. Credit: James MontgomerieJohn Mark Bell2011-12-042-4/+55
| | | | | | Things missing: parser tests; the following descriptors: font-feature-settings, font-stretch, font-variant, unicode-range. svn path=/trunk/libcss/; revision=13244
* Fix build with GCC 4.6John Mark Bell2011-07-261-9/+0
| | | | svn path=/trunk/libcss/; revision=12627
* Saturated maths in css fixed point Vincent Sanders2011-03-123-21/+21
| | | | svn path=/trunk/libcss/; revision=11975
* Use $(GREP) instead of grepJohn Mark Bell2011-02-051-1/+1
| | | | svn path=/trunk/libcss/; revision=11614
* Use $(PERL), instead of perl.John Mark Bell2011-02-051-1/+1
| | | | | | Also, only compute the value of AUTOGEN_PARSERS once svn path=/trunk/libcss/; revision=11612
* add system font hookVincent Sanders2011-02-021-0/+172
| | | | svn path=/trunk/libcss/; revision=11599
* Add support for opacity propertyJohn Mark Bell2011-01-294-1/+84
| | | | svn path=/trunk/libcss/; revision=11527
* Centralise handling of transparent colours.John Mark Bell2011-01-295-38/+28
| | | | | | Add support for currentColor svn path=/trunk/libcss/; revision=11525
* Provide hook for system colour name -> RGB conversionJohn Mark Bell2011-01-291-8/+13
| | | | svn path=/trunk/libcss/; revision=11522
* Rename all css_[^_] internal symbols to css__ so that they're nicely namespacedDaniel Silverstone2011-01-2625-197/+197
| | | | svn path=/trunk/libcss/; revision=11492
* Trivial optimisation of HSL->RGB conversionJohn Mark Bell2011-01-221-3/+4
| | | | svn path=/trunk/libcss/; revision=11456
* Use css_fixed for fixed-point arithmetic. Simplify HSL->RGB conversion a little.John Mark Bell2011-01-211-112/+86
| | | | | | Add test data for white and black svn path=/trunk/libcss/; revision=11437