Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | api: fpmath: Add macro to get fractional partHEADmaster | Michael Drake | 2022-12-16 | 1 | -0/+2 |
| | |||||
* | properties: Define align-self values in terms of align-items | Michael Drake | 2022-11-03 | 1 | -6/+6 |
| | |||||
* | properties: position: Add support for 'sticky' value | Michael Drake | 2022-11-03 | 1 | -1/+2 |
| | |||||
* | properties: display: Add grid values | Michael Drake | 2022-10-29 | 1 | -1/+3 |
| | |||||
* | Floating point maths: Squash clang warning | Michael Drake | 2022-10-22 | 1 | -3/+5 |
| | | | | | Implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Werror,-Wimplicit-const-int-float-conversion] | ||||
* | API: Client media spec: Allow colour scheme preference | Michael Drake | 2022-07-31 | 1 | -0/+2 |
| | |||||
* | Selection: Don't duplicate unit conversion members in media descriptor. | Michael Drake | 2021-05-19 | 4 | -12/+10 |
| | |||||
* | Selection: Remove client callback for unit conversion. | Michael Drake | 2021-05-19 | 3 | -7/+160 |
| | | | | | | | 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. | ||||
* | Units: Remove units that nobody supports. | Michael Drake | 2021-05-19 | 1 | -14/+11 |
| | |||||
* | add css 3.1 complex predefined counter styles for addative systems | Vincent Sanders | 2021-02-15 | 1 | -1/+6 |
| | |||||
* | implement the remaining css 3.1 simple predefined counter styles | Vincent Sanders | 2021-02-12 | 1 | -2/+19 |
| | |||||
* | implement the firt half of the css 3.1 simple predefined counter styles | Vincent Sanders | 2021-02-09 | 1 | -1/+16 |
| | |||||
* | add text formatting of values with list styles | Vincent Sanders | 2021-02-05 | 1 | -1/+24 |
| | |||||
* | Media queries: Feature matching: Compare lengths in pixels. | Michael Drake | 2019-05-07 | 1 | -8/+7 |
| | | | | | | | | Clients now provide viewport dimensions in pixels. LibCSS can now convert the units from the stylesheet to pixels. Client must also provide default font size and line height for handling viewport and root element relative sizes. | ||||
* | Media queries: Update selection API to support media queries. | Michael Drake | 2019-05-04 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | | | | | | | The API changes are: 1. When building a selection context, stylesheets added with `css_select_ctx_{append|insert}_sheet()` now have to have media strings associcated with them. Previously they took a simple bitfield for CSS media type. 2. When selecting for an element, the client needs to specify the current media requirements. Previously it only had to provide the bitfield for CSS media type. 3. Same for the css_select_font_faces API. The selection handling has been updated to handle the new API, however it is currently only looking at the media type when performing selection. Signed-off-by: Michael Drake <michael.drake@codethink.co.uk> | ||||
* | Media queries: Add media type member to struct css_media. | Michael Drake | 2019-03-10 | 1 | -0/+3 |
| | |||||
* | Media Queries: Client media specification structure. | Michael Drake | 2019-03-10 | 1 | -0/+126 |
| | |||||
* | Code style: Use spaces for alignment. | Michael Drake | 2019-03-10 | 1 | -4/+4 |
| | |||||
* | Media Queries: datastructures and plumbing. | John-Mark Bell | 2019-03-10 | 1 | -3/+2 |
| | | | | | | | | | | | | | No parse implementation as yet. Selection hasn't been updated, either. One item of note in that area is that a client currently provides the media for top-level sheets being added to a selection context. This probably needs to change to providing a lwc_string containing the verbatim media query from the containing document's import mechanism. That way, the internal representation of media queries can remain opaque to clients. | ||||
* | Fixed point: Squash undefined shift error. | Michael Drake | 2018-07-28 | 1 | -1/+1 |
| | | | | /include/libcss/fpmath.h:86:29: runtime error: left shift of negative value -1 | ||||
* | Fixed point: Squash undefined left shift of -ve value error. | Michael Drake | 2018-07-28 | 1 | -1/+1 |
| | | | | include/libcss/fpmath.h:60:27: runtime error: left shift of negative value -2611200 | ||||
* | Add support for new length units. | Lucas Neves | 2017-11-13 | 1 | -20/+33 |
| | |||||
* | Selection: Add support for the flexbox properties. | Lucas Neves | 2017-10-21 | 1 | -0/+35 |
| | |||||
* | Add codes to flexbox properties. | Lucas Neves | 2017-10-21 | 1 | -3/+93 |
| | |||||
* | Strip trailing whitespace. | Michael Drake | 2017-09-04 | 4 | -40/+40 |
| | |||||
* | Interface: Add public API for getting box-sizing from computed style. | Michael Drake | 2017-04-27 | 1 | -0/+3 |
| | |||||
* | Parsing: Add support for parsing the CSS3 box-sizing property. | Michael Drake | 2017-04-27 | 1 | -0/+7 |
| | |||||
* | Remove redundant API surface. | Michael Drake | 2016-11-19 | 1 | -4/+0 |
| | |||||
* | Intern partial styles. | Michael Drake | 2016-11-19 | 2 | -3/+7 |
| | | | | | Note this changes the public API. We can't compose directly over child style now, since it may be interned. | ||||
* | Remove trailing tab. | Michael Drake | 2016-11-19 | 1 | -1/+1 |
| | |||||
* | After composing styles, intern the result in the style sharing arena. | Michael Drake | 2016-11-19 | 1 | -2/+2 |
| | | | | | Note this changes the API. Selection tests updated. | ||||
* | Change how presentational hints are handled. | Michael Drake | 2016-02-02 | 2 | -3/+4 |
| | | | | | | | | | | | | | | | Previously, we performed normal selection from CSS sources, and then iterated over all the properties in the populated computed style. If the properties were unset or their values were not from either a UA stylesheet or user stylesheet with !important set, then we asked the client program (e.g. NetSurf) if there were any presentational hints for that node, for each such property. In the worst case this triggered N_PROPERTIES * N_NODES calls back to the client program, even for properties that can't be set via HTML attributes. The new API asks the client to supply a list of all the presentational hints that apply to the given node. For most nodes on modern documents, this is 0. Any presentational hints are applied before selection from CSS sources. | ||||
* | Remove trailing whitespace. | Michael Drake | 2015-11-01 | 1 | -1/+1 |
| | |||||
* | Add "96" to useful DPI values. (CSS pixels are 1/96 inch.) | Michael Drake | 2015-08-05 | 1 | -0/+1 |
| | |||||
* | Add break-inside property support. | Michael Drake | 2014-12-29 | 1 | -0/+3 |
| | |||||
* | Add break-before property support. | Michael Drake | 2014-12-29 | 1 | -0/+3 |
| | |||||
* | Add break-after property support. | Michael Drake | 2014-12-29 | 1 | -0/+3 |
| | |||||
* | Delete trailing whitespace. | Michael Drake | 2014-12-07 | 1 | -4/+4 |
| | |||||
* | Add public accessor for column-width property. | Michael Drake | 2014-12-06 | 1 | -0/+4 |
| | |||||
* | Fix column-width enum values. | Michael Drake | 2014-12-06 | 1 | -2/+2 |
| | |||||
* | Add public accessor for column-span property. | Michael Drake | 2014-12-06 | 1 | -0/+3 |
| | |||||
* | Add public computed style accessor for column-rule-width prop. | Michael Drake | 2014-11-16 | 1 | -0/+4 |
| | |||||
* | Add public computed style accessor for column-rule-style property. | Michael Drake | 2014-11-16 | 1 | -0/+3 |
| | |||||
* | Add missing CSS_COLUMN_RULE_STYLE_HIDDEN value. | Michael Drake | 2014-11-16 | 1 | -0/+1 |
| | |||||
* | Add public accessor for column-rule-color in computed styles. | Michael Drake | 2014-11-15 | 1 | -0/+4 |
| | |||||
* | Share enum values for another property. | Michael Drake | 2014-11-07 | 1 | -3/+3 |
| | |||||
* | Add public computed style access function for column-gap property. | Michael Drake | 2014-11-07 | 1 | -0/+4 |
| | |||||
* | Make enums for length/normal values match up. | Michael Drake | 2014-11-07 | 1 | -5/+5 |
| | |||||
* | Add public accessor for column-fill property value. | Michael Drake | 2014-11-07 | 1 | -0/+3 |
| | |||||
* | Add public accessor for column-count in computed styles. | Michael Drake | 2014-10-04 | 1 | -0/+4 |
| |