summaryrefslogtreecommitdiff
path: root/test/data
Commit message (Collapse)AuthorAgeFilesLines
* Add support for SVG stroke-opacity propertyMichael Orlitzky2023-10-013-0/+180
| | | | | | | | 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 propertyMichael Orlitzky2023-10-014-0/+180
| | | | | | | 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.
* tests: Add tests for position:stickyMichael Drake2022-11-032-0/+117
|
* test: Add test for display property grid valuesMichael Drake2022-10-291-0/+111
|
* Tests: Add tests for explicit defaultingMichael Drake2022-08-292-0/+1453
|
* Parse/MQ: unknown media-types do not matchJohn-Mark Bell2022-05-241-0/+21
| | | | | | | | Per https://www.w3.org/TR/mediaqueries-4/#error-handling, "An unknown <media-type> must be treated as not matching" Ensure, however, that a rule with a condition and no type behaves as if type was all.
* Parse/MQ: reject forbidden media-type identifiersJohn-Mark Bell2022-05-244-16/+79
| | | | | | "and" / "not" / "only" / "or" are forbidden, so must be rejected Add tests for these scenarios
* Selection: Remove client callback for unit conversion.Michael Drake2021-05-191-123/+123
| | | | | | | 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 Drake2021-05-192-30/+6
|
* Add regression test for system font callback units.Michael Drake2021-05-191-0/+109
| | | | Thanks to Ralf Junker.
* bytecode: Change unit representation, so that length has a bit set.Michael Drake2020-11-151-100/+100
| | | | This means that we can use a mask to check the unit class.
* tests: Add test for dodgy media blockDaniel Silverstone2019-12-012-0/+10
| | | | | | | To ensure we don't regress and fail on media blocks which end with selectors with no ruleset, add a test to that effect. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Tests: Add test for non-inherited properties.Michael Drake2019-05-121-0/+128
| | | | | | | These were broken before the uncommon extension block was dropped. Based on test provided by: https://bugs.netsurf-browser.org/mantis/view.php?id=2641
* Tests: fix illegal display value test.John-Mark Bell2019-03-101-1/+1
| | | | | | | | | Recovery from malformed property values involves matching the various nesting mechanisms. Thanks to the bug in the parseAny state machine, this code was never run. The test data contained mismatched open parentheses, causing the recovery logic to continue reading until EOF. Fix the test input to match the expectations of the test assertions.
* Tests: add tests for new length units.Lucas Neves2017-11-133-0/+2472
|
* Tests: Fixes sizing of font-size: smaller in selection test.Lucas Neves2017-10-211-1/+1
|
* Tests: Remove invalid lines from selection test.Lucas Neves2017-10-211-4/+0
|
* Tests: Add support and selection tests for the flexbox properties.Lucas Neves2017-10-211-0/+6213
|
* Tests: Add support and parsing tests for the flexbox properties.Lucas Neves2017-10-212-0/+1714
|
* Unit tests: Add non-integer NUMBER parsing test.Michael Drake2017-09-201-0/+8
|
* Tests: Add box-sizing selection tests.Michael Drake2017-04-271-0/+200
|
* Tests: Dump box-sizing property in selection tests.Michael Drake2017-04-271-0/+48
|
* Tests: Add parser tests for box-sizing.Michael Drake2017-04-271-0/+33
|
* Tests: Add box-sizing bytecode unit tests.Michael Drake2017-04-271-0/+58
|
* 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
|
* Add break-* property selection tests.Michael Drake2014-12-291-0/+309
|
* Dump break-* properties from computed styles, and update test data.Michael Drake2014-12-291-0/+135
|
* 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-061-0/+43
|
* Add column-span to computed style dump and update test data.Michael Drake2014-12-061-0/+43
|
* Add column-rule-width to computed style dump, and update unit tests.Michael Drake2014-11-161-0/+43
|
* Add column-rule-style to computed style dumper, and update unit tests.Michael Drake2014-11-161-0/+43
|
* 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-151-0/+43
|
* Add column-gap dumping to test rig, and update test data.Michael Drake2014-11-071-0/+43
|
* Add dumping of column-fill property to selection test rig. Update test data.Michael Drake2014-11-071-0/+43
|
* Update computed style dumper to dump column-count, and update test data.Michael Drake2014-10-041-0/+44
|
* 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-014-49/+226
| | | | | | | | 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.
* 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
|
* 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-283-1/+1111
| | | | | | | | | | | | | | | | | | + 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