summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Change how presentational hints are handled.Michael Drake2016-02-021-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 useJohn-Mark Bell2015-07-181-0/+1
|
* Fix build with gcc2.Adrien Destugues2015-03-211-3/+4
|
* Implement absolutification for column-rule-width.Michael Drake2015-01-101-47/+47
|
* Sync public getter wrapper's absolutification handling.Michael Drake2015-01-101-111/+111
|
* Ensure letter and word spacing are always absolutified.Michael Drake2015-01-021-32/+32
|
* Fix up test data.Michael Drake2014-12-311-1551/+1551
|
* Make it compose styles.Michael Drake2014-12-311-6/+37
|
* Add break-* property selection tests.Michael Drake2014-12-291-0/+309
|
* Dump break-* properties from computed styles, and update test data.Michael Drake2014-12-292-0/+240
|
* Add test case.Michael Drake2014-12-291-2/+102
|
* Update test data for uncommon property default value fixes.Michael Drake2014-12-291-122/+122
|
* Add test for column-* properties.Michael Drake2014-12-061-44/+143
|
* Add column-width to computed style dumping, and update test data.Michael Drake2014-12-062-0/+70
|
* Add column-span to computed style dump and update test data.Michael Drake2014-12-062-0/+62
|
* Add column-rule-width to computed style dump, and update unit tests.Michael Drake2014-11-162-0/+76
|
* Add column-rule-style to computed style dumper, and update unit tests.Michael Drake2014-11-162-0/+86
|
* Fix column-fill computed style offset.Michael Drake2014-11-161-22/+22
|
* Add column-rule-color to computed style dumper and update unit tests.Michael Drake2014-11-152-0/+60
|
* Add column-gap dumping to test rig, and update test data.Michael Drake2014-11-072-0/+70
|
* Add dumping of column-fill property to selection test rig. Update test data.Michael Drake2014-11-072-0/+62
|
* Improve output when selection test fails.Michael Drake2014-10-041-0/+38
| | | | Makes it easier to spot where the difference is.
* Update computed style dumper to dump column-count, and update test data.Michael Drake2014-10-042-3/+66
|
* Improve src/parse/important.c coverage to 98.4%Michael Drake2014-07-242-0/+449
|
* Add support for CSS3 overflow-x and overflow-y properties.Michael Drake2014-06-016-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 wayDavid Tardon2014-01-131-5/+7
| | | | Signed-off-by: John-Mark Bell <jmb@netsurf-browser.org>
* Update for new lpu API.Michael Drake2013-12-142-19/+2
|
* Various changes which modify API and ABI:Michael Drake2013-12-1312-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 Drake2013-12-013-1/+1633
|
* Update for new selection API.Michael Drake2013-12-011-1/+7
|
* Update test dumpers to output writing-mode.Michael Drake2013-09-102-0/+36
|
* Add tests for writing-mode. Update selection tests to handle writing-mode.Michael Drake2013-09-103-0/+208
|
* Fix test data for border shorthand property.Michael Drake2013-09-101-0/+40
|
* Add a couple of letter spacing tests.Michael Drake2013-06-191-0/+184
|
* Don't use the nonportable alloca() during tests.Anthony J. Bentley2013-04-272-2/+6
|
* Initialise variables used in lwc out params.John-Mark Bell2012-07-191-8/+8
|
* Update to new NSBUILD infrastructureDaniel Silverstone2012-06-291-1/+1
| | | | svn path=/trunk/libcss/; revision=14004
* Fix error reportingJohn Mark Bell2012-05-081-5/+5
| | | | svn path=/trunk/libcss/; revision=13916
* Add parsing of CSS3 Multi-column layout module shorthand properties. ↵Michael Drake2012-02-031-0/+638
| | | | | | (columns & column-rule) svn path=/trunk/libcss/; revision=13416
* Add support for parsing CSS3 Multi-column layout properties:Michael Drake2012-01-284-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 Drake2012-01-283-0/+22
| | | | svn path=/trunk/libcss/; revision=13411
* Fix \!important for opacity property.Michael Drake2012-01-271-0/+24
| | | | svn path=/trunk/libcss/; revision=13410
* Fix test build.Michael Drake2012-01-262-4/+4
| | | | svn path=/trunk/libcss/; revision=13409
* @font-face support. Credit: James MontgomerieJohn Mark Bell2011-12-043-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 Drake2011-09-031-0/+1782
| | | | svn path=/trunk/libcss/; revision=12706
* Fix cursor URL dump.Michael Drake2011-09-031-1/+1
| | | | svn path=/trunk/libcss/; revision=12705
* Add a few tests.Michael Drake2011-05-261-0/+33
| | | | svn path=/trunk/libcss/; revision=12446
* Fix a bunch of warnings.Michael Drake2011-05-261-35/+109
| | | | svn path=/trunk/libcss/; revision=12445
* Fix warning.Michael Drake2011-05-261-1/+2
| | | | svn path=/trunk/libcss/; revision=12444
* Add structure versioning for client inputJohn Mark Bell2011-03-134-0/+6
| | | | svn path=/trunk/libcss/; revision=12007