Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Remove trailing whitespace. | Michael Drake | 2014-10-04 | 1 | -127/+127 |
| | |||||
* | Add support for CSS3 overflow-x and overflow-y properties. | Michael Drake | 2014-06-01 | 2 | -4/+8 |
| | | | | | | | | 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. | ||||
* | Various changes which modify API and ABI: | Michael Drake | 2013-12-13 | 6 | -222/+65 |
| | | | | | | | | | - 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. | ||||
* | Significantly optimise CSS selection performance. | Michael Drake | 2013-12-01 | 2 | -0/+3 |
| | | | | | | | | | | | | | | | | Now we pass a node bloom filter to css_get_style. That node bloom filter is filled with the node's ancestor element, class, and id names. Internally, libcss also generates a bloom filter for each selector chain. If the selector chain's bloom filter is not a subset of the node bloom filter, we know that the selector chain's rule does not apply to the node. This avoids the slow selector chain matching process. Other smaller optimisations to move the ruling out of selector chains for inapplicable media types and other reasons to before we start comparing rules from different sources to find the next rule. All this is now done in hash.c so select.c never sees the trivially ruled out rules. | ||||
* | Bloom filter implementation for selection optimisation. | Michael Drake | 2013-12-01 | 1 | -0/+205 |
| | |||||
* | Add computed style accessor for writing-mode and and writing-mode to the ↵ | Michael Drake | 2013-09-10 | 1 | -0/+3 |
| | | | | property handler table. | ||||
* | Add support for parsing the writing-mode property. Thanks to Caitlin Potter. | Caitlin Potter | 2013-09-10 | 1 | -0/+8 |
| | |||||
* | Complete widows and orphans support. Thanks to James Montgomerie. | Michael Drake | 2012-04-13 | 2 | -0/+17 |
| | | | | svn path=/trunk/libcss/; revision=13864 | ||||
* | Fix comma at end of enumerator list warning. | François Revel | 2012-03-25 | 1 | -1/+1 |
| | | | | svn path=/trunk/libcss/; revision=13709 | ||||
* | Add support for parsing CSS3 Multi-column layout properties: | Michael Drake | 2012-01-28 | 1 | -95/+197 |
| | | | | | | | | | | | | | | | | | | + 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 Montgomerie | John Mark Bell | 2011-12-04 | 4 | -1/+104 |
| | | | | | | Things missing: parser tests; the following descriptors: font-feature-settings, font-stretch, font-variant, unicode-range. svn path=/trunk/libcss/; revision=13244 | ||||
* | Explicitly narrow result | John Mark Bell | 2011-09-06 | 1 | -1/+1 |
| | | | | svn path=/trunk/libcss/; revision=12769 | ||||
* | Make "params" argument to css_stylesheet_create const. Thanks to James ↵ | Michael Drake | 2011-09-02 | 1 | -1/+1 |
| | | | | | | Montgomerie. svn path=/trunk/libcss/; revision=12697 | ||||
* | Add support for selecting page-break-{before, after, inside} | John Mark Bell | 2011-08-23 | 2 | -0/+33 |
| | | | | | | Credit: James Montgomerie svn path=/trunk/libcss/; revision=12645 | ||||
* | Add structure versioning for client input | John Mark Bell | 2011-03-13 | 2 | -0/+14 |
| | | | | svn path=/trunk/libcss/; revision=12007 | ||||
* | Saturated maths in css fixed point | Vincent Sanders | 2011-03-12 | 1 | -17/+105 |
| | | | | svn path=/trunk/libcss/; revision=11975 | ||||
* | CSS3 Namespaces | John Mark Bell | 2011-03-12 | 2 | -15/+34 |
| | | | | svn path=/trunk/libcss/; revision=11972 | ||||
* | Hide the CSS computed style itself. Only expose a few simple structures ↵ | Daniel Silverstone | 2011-03-12 | 1 | -2084/+258 |
| | | | | | | which we can keep sane. All property accessors are thus hidden behind a link symbol for ABI safety svn path=/trunk/libcss/; revision=11969 | ||||
* | Fix warning: comma at end of enumerator list | François Revel | 2011-02-09 | 1 | -1/+1 |
| | | | | svn path=/trunk/libcss/; revision=11639 | ||||
* | Minor documentation fixes. | John Mark Bell | 2011-02-02 | 2 | -8/+7 |
| | | | | | | Move typedef -- types.h was probably a bad idea, in hindsight. svn path=/trunk/libcss/; revision=11600 | ||||
* | add system font hook | Vincent Sanders | 2011-02-02 | 2 | -0/+36 |
| | | | | svn path=/trunk/libcss/; revision=11599 | ||||
* | CSS3 Selectors | John Mark Bell | 2011-01-31 | 1 | -1/+22 |
| | | | | svn path=/trunk/libcss/; revision=11557 | ||||
* | Add support for opacity property | John Mark Bell | 2011-01-29 | 3 | -3/+34 |
| | | | | svn path=/trunk/libcss/; revision=11527 | ||||
* | Centralise handling of transparent colours. | John Mark Bell | 2011-01-29 | 1 | -7/+7 |
| | | | | | | Add support for currentColor svn path=/trunk/libcss/; revision=11525 |