Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove option to support not storing data on DOM nodes. | Michael Drake | 2016-11-19 | 5 | -31/+14 |
| | | | | It was complicating lifetimes and ownership. | ||||
* | Intern partial styles. | Michael Drake | 2016-11-19 | 1 | -1/+4 |
| | | | | | Note this changes the public API. We can't compose directly over child style now, since it may be interned. | ||||
* | After composing styles, intern the result in the style sharing arena. | Michael Drake | 2016-11-19 | 1 | -1/+1 |
| | | | | | Note this changes the API. Selection tests updated. | ||||
* | Change how presentational hints are handled. | Michael Drake | 2016-02-02 | 1 | -6/+7 |
| | | | | | | | | | | | | | | | 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. | ||||
* | Testutils: undef assert before use | John-Mark Bell | 2015-07-18 | 1 | -0/+1 |
| | |||||
* | Fix build with gcc2. | Adrien Destugues | 2015-03-21 | 1 | -3/+4 |
| | |||||
* | Implement absolutification for column-rule-width. | Michael Drake | 2015-01-10 | 1 | -47/+47 |
| | |||||
* | Sync public getter wrapper's absolutification handling. | Michael Drake | 2015-01-10 | 1 | -111/+111 |
| | |||||
* | Ensure letter and word spacing are always absolutified. | Michael Drake | 2015-01-02 | 1 | -32/+32 |
| | |||||
* | Fix up test data. | Michael Drake | 2014-12-31 | 1 | -1551/+1551 |
| | |||||
* | Make it compose styles. | Michael Drake | 2014-12-31 | 1 | -6/+37 |
| | |||||
* | Add break-* property selection tests. | Michael Drake | 2014-12-29 | 1 | -0/+309 |
| | |||||
* | Dump break-* properties from computed styles, and update test data. | Michael Drake | 2014-12-29 | 2 | -0/+240 |
| | |||||
* | Add test case. | Michael Drake | 2014-12-29 | 1 | -2/+102 |
| | |||||
* | Update test data for uncommon property default value fixes. | Michael Drake | 2014-12-29 | 1 | -122/+122 |
| | |||||
* | Add test for column-* properties. | Michael Drake | 2014-12-06 | 1 | -44/+143 |
| | |||||
* | Add column-width to computed style dumping, and update test data. | Michael Drake | 2014-12-06 | 2 | -0/+70 |
| | |||||
* | Add column-span to computed style dump and update test data. | Michael Drake | 2014-12-06 | 2 | -0/+62 |
| | |||||
* | Add column-rule-width to computed style dump, and update unit tests. | Michael Drake | 2014-11-16 | 2 | -0/+76 |
| | |||||
* | Add column-rule-style to computed style dumper, and update unit tests. | Michael Drake | 2014-11-16 | 2 | -0/+86 |
| | |||||
* | Fix column-fill computed style offset. | Michael Drake | 2014-11-16 | 1 | -22/+22 |
| | |||||
* | Add column-rule-color to computed style dumper and update unit tests. | Michael Drake | 2014-11-15 | 2 | -0/+60 |
| | |||||
* | Add column-gap dumping to test rig, and update test data. | Michael Drake | 2014-11-07 | 2 | -0/+70 |
| | |||||
* | Add dumping of column-fill property to selection test rig. Update test data. | Michael Drake | 2014-11-07 | 2 | -0/+62 |
| | |||||
* | Improve output when selection test fails. | Michael Drake | 2014-10-04 | 1 | -0/+38 |
| | | | | Makes it easier to spot where the difference is. | ||||
* | Update computed style dumper to dump column-count, and update test data. | Michael Drake | 2014-10-04 | 2 | -3/+66 |
| | |||||
* | Improve src/parse/important.c coverage to 98.4% | Michael Drake | 2014-07-24 | 2 | -0/+449 |
| | |||||
* | Add support for CSS3 overflow-x and overflow-y properties. | Michael Drake | 2014-06-01 | 6 | -58/+262 |
| | | | | | | | | 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. | ||||
* | print size_t values in a portable way | David Tardon | 2014-01-13 | 1 | -5/+7 |
| | | | | Signed-off-by: John-Mark Bell <jmb@netsurf-browser.org> | ||||
* | Update for new lpu API. | Michael Drake | 2013-12-14 | 2 | -19/+2 |
| | |||||
* | Various changes which modify API and ABI: | Michael Drake | 2013-12-13 | 12 | -1731/+119 |
| | | | | | | | | | - 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. | ||||
* | Add selection test using bloom filter. | Michael Drake | 2013-12-01 | 3 | -1/+1633 |
| | |||||
* | Update for new selection API. | Michael Drake | 2013-12-01 | 1 | -1/+7 |
| | |||||
* | Update test dumpers to output writing-mode. | Michael Drake | 2013-09-10 | 2 | -0/+36 |
| | |||||
* | Add tests for writing-mode. Update selection tests to handle writing-mode. | Michael Drake | 2013-09-10 | 3 | -0/+208 |
| | |||||
* | Fix test data for border shorthand property. | Michael Drake | 2013-09-10 | 1 | -0/+40 |
| | |||||
* | Add a couple of letter spacing tests. | Michael Drake | 2013-06-19 | 1 | -0/+184 |
| | |||||
* | Don't use the nonportable alloca() during tests. | Anthony J. Bentley | 2013-04-27 | 2 | -2/+6 |
| | |||||
* | Initialise variables used in lwc out params. | John-Mark Bell | 2012-07-19 | 1 | -8/+8 |
| | |||||
* | Update to new NSBUILD infrastructure | Daniel Silverstone | 2012-06-29 | 1 | -1/+1 |
| | | | | svn path=/trunk/libcss/; revision=14004 | ||||
* | Fix error reporting | John Mark Bell | 2012-05-08 | 1 | -5/+5 |
| | | | | svn path=/trunk/libcss/; revision=13916 | ||||
* | Add parsing of CSS3 Multi-column layout module shorthand properties. ↵ | Michael Drake | 2012-02-03 | 1 | -0/+638 |
| | | | | | | (columns & column-rule) svn path=/trunk/libcss/; revision=13416 | ||||
* | Add support for parsing CSS3 Multi-column layout properties: | Michael Drake | 2012-01-28 | 4 | -1/+1289 |
| | | | | | | | | | | | | | | | | | | + 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 | ||||
* | Add some tests. | Michael Drake | 2012-01-28 | 3 | -0/+22 |
| | | | | svn path=/trunk/libcss/; revision=13411 | ||||
* | Fix \!important for opacity property. | Michael Drake | 2012-01-27 | 1 | -0/+24 |
| | | | | svn path=/trunk/libcss/; revision=13410 | ||||
* | Fix test build. | Michael Drake | 2012-01-26 | 2 | -4/+4 |
| | | | | svn path=/trunk/libcss/; revision=13409 | ||||
* | @font-face support. Credit: James Montgomerie | John Mark Bell | 2011-12-04 | 3 | -4/+303 |
| | | | | | | Things missing: parser tests; the following descriptors: font-feature-settings, font-stretch, font-variant, unicode-range. svn path=/trunk/libcss/; revision=13244 | ||||
* | Add a few more tests. | Michael Drake | 2011-09-03 | 1 | -0/+1782 |
| | | | | svn path=/trunk/libcss/; revision=12706 | ||||
* | Fix cursor URL dump. | Michael Drake | 2011-09-03 | 1 | -1/+1 |
| | | | | svn path=/trunk/libcss/; revision=12705 | ||||
* | Add a few tests. | Michael Drake | 2011-05-26 | 1 | -0/+33 |
| | | | | svn path=/trunk/libcss/; revision=12446 |