Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add support for SVG stroke-opacity property | Michael Orlitzky | 2023-10-01 | 1 | -0/+6 |
| | | | | | | | | 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 property | Michael Orlitzky | 2023-10-01 | 1 | -0/+6 |
| | | | | | | | 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. | ||||
* | properties: display: Add grid values | Michael Drake | 2022-10-29 | 1 | -0/+2 |
| | |||||
* | Select: Add computed style clone function | Michael Drake | 2022-08-29 | 1 | -0/+31 |
| | |||||
* | Selection: Don't duplicate unit conversion members in media descriptor. | Michael Drake | 2021-05-19 | 1 | -8/+8 |
| | |||||
* | Selection: Remove client callback for unit conversion. | Michael Drake | 2021-05-19 | 1 | -13/+21 |
| | | | | | | | 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. | ||||
* | select: computed: Squash use of uninitialised variable warning. | Michael Drake | 2020-11-13 | 1 | -1/+1 |
| | |||||
* | Computed styles: Check length pair getter type before using result. | Michael Drake | 2020-02-24 | 1 | -0/+4 |
| | | | | Fixes use of garbage value scan-build issue. | ||||
* | Computed styles: Handle invalid width types. | Michael Drake | 2020-02-24 | 1 | -0/+2 |
| | | | | Fixes scan-build use of garbage value. | ||||
* | Computed styles: Remove last traces of extension blocks. | Michael Drake | 2019-05-12 | 1 | -16/+1 |
| | |||||
* | Computed styles: Drop uncommon extension blocks. | Michael Drake | 2019-05-12 | 1 | -158/+112 |
| | | | | | | | | | | | | | | 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 | ||||
* | Media queries: Update selection API to support media queries. | Michael Drake | 2019-05-04 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | 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> | ||||
* | Selection: Add support for the flexbox properties. | Lucas Neves | 2017-10-21 | 1 | -2/+89 |
| | |||||
* | Strip trailing whitespace. | Michael Drake | 2017-09-04 | 1 | -35/+35 |
| | |||||
* | Interface: Add public API for getting box-sizing from computed style. | Michael Drake | 2017-04-27 | 1 | -0/+5 |
| | |||||
* | Remove redundant API surface. | Michael Drake | 2016-11-19 | 1 | -3/+3 |
| | |||||
* | Remove trailing whitespace. | Michael Drake | 2016-11-19 | 1 | -1/+1 |
| | |||||
* | Intern partial styles. | Michael Drake | 2016-11-19 | 1 | -9/+21 |
| | | | | | Note this changes the public API. We can't compose directly over child style now, since it may be interned. | ||||
* | Composition: Avoid extension block checks irrelevent to property group. | Michael Drake | 2016-11-19 | 1 | -14/+18 |
| | |||||
* | After composing styles, intern the result in the style sharing arena. | Michael Drake | 2016-11-19 | 1 | -4/+25 |
| | | | | | Note this changes the API. Selection tests updated. | ||||
* | Move trivially compared parts of computed styles to sub-structures. | Michael Drake | 2016-11-19 | 1 | -31/+51 |
| | |||||
* | Revert "Fix use of uninitialized values in style composition." | John-Mark Bell | 2015-03-10 | 1 | -4/+4 |
| | | | | This reverts commit 9a3112f46fcfce9952134fa230b5879ac33b8e3c. | ||||
* | Fix use of uninitialized values in style composition. | John-Mark Bell | 2015-03-10 | 1 | -4/+4 |
| | |||||
* | Simplify length absolutification. | Michael Drake | 2015-02-28 | 1 | -93/+19 |
| | | | | | | Prevents harmless "Conditional jump or move depends on uninitialised value(s)" in case of properties set to "normal". Now we only absolutify EX values if the there is a value set. | ||||
* | Use calloc instead of malloc/memset. | Michael Drake | 2015-01-24 | 1 | -3/+1 |
| | |||||
* | Add absolutification for column-gap. | Michael Drake | 2015-01-10 | 1 | -0/+8 |
| | |||||
* | Absolutification of column-width. | Michael Drake | 2015-01-10 | 1 | -0/+8 |
| | |||||
* | Improve comment. | Michael Drake | 2015-01-10 | 1 | -2/+2 |
| | |||||
* | Implement absolutification for column-rule-width. | Michael Drake | 2015-01-10 | 1 | -2/+18 |
| | |||||
* | Sync public getter wrapper's absolutification handling. | Michael Drake | 2015-01-10 | 1 | -17/+10 |
| | |||||
* | Need to pass normal property value though to the client. | Michael Drake | 2015-01-10 | 1 | -43/+2 |
| | | | | It has semantic meaning different from any absolute value (for justified text). | ||||
* | Avoid duplicate get_column_rule_color call. | Michael Drake | 2015-01-02 | 1 | -3/+1 |
| | |||||
* | Trivial optimisation. | Michael Drake | 2015-01-02 | 1 | -8/+13 |
| | |||||
* | Ensure letter and word spacing are always absolutified. | Michael Drake | 2015-01-02 | 1 | -2/+16 |
| | |||||
* | Add absolute value conversion of currentColor for column-rule-color. | Michael Drake | 2014-12-31 | 1 | -0/+8 |
| | |||||
* | Add break-inside property support. | Michael Drake | 2014-12-29 | 1 | -0/+5 |
| | |||||
* | Add break-before property support. | Michael Drake | 2014-12-29 | 1 | -0/+5 |
| | |||||
* | Add break-after property support. | Michael Drake | 2014-12-29 | 1 | -0/+5 |
| | |||||
* | Fix broken absolute valuification of letter and word spacing properties. | Michael Drake | 2014-12-29 | 1 | -4/+6 |
| | |||||
* | Tiny optimisation for computed style absolute valuification. | Michael Drake | 2014-12-29 | 1 | -3/+1 |
| | |||||
* | Add public accessor for column-width property. | Michael Drake | 2014-12-06 | 1 | -0/+6 |
| | |||||
* | Add public accessor for column-span property. | Michael Drake | 2014-12-06 | 1 | -0/+5 |
| | |||||
* | Add public computed style accessor for column-rule-width prop. | Michael Drake | 2014-11-16 | 1 | -0/+6 |
| | |||||
* | Add public computed style accessor for column-rule-style property. | Michael Drake | 2014-11-16 | 1 | -0/+5 |
| | |||||
* | Add public accessor for column-rule-color in computed styles. | Michael Drake | 2014-11-15 | 1 | -0/+6 |
| | |||||
* | Add public computed style access function for column-gap property. | Michael Drake | 2014-11-07 | 1 | -0/+6 |
| | |||||
* | Add public accessor for column-fill property value. | Michael Drake | 2014-11-07 | 1 | -0/+5 |
| | |||||
* | Cascade and compose column-count property into computed style. | Michael Drake | 2014-10-04 | 1 | -0/+6 |
| | |||||
* | Add support for CSS3 overflow-x and overflow-y properties. | Michael Drake | 2014-06-01 | 1 | -2/+7 |
| | | | | | | | | 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 implementation duplication in top/right/bottom/left property getters. | Michael Drake | 2014-01-10 | 1 | -115/+45 |
| |