Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Parse/MQ: unknown media-types do not match | John-Mark Bell | 2022-05-24 | 1 | -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 identifiers | John-Mark Bell | 2022-05-24 | 4 | -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 Drake | 2021-05-19 | 1 | -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 Drake | 2021-05-19 | 2 | -30/+6 |
| | |||||
* | Add regression test for system font callback units. | Michael Drake | 2021-05-19 | 1 | -0/+109 |
| | | | | Thanks to Ralf Junker. | ||||
* | bytecode: Change unit representation, so that length has a bit set. | Michael Drake | 2020-11-15 | 1 | -100/+100 |
| | | | | This means that we can use a mask to check the unit class. | ||||
* | tests: Add test for dodgy media block | Daniel Silverstone | 2019-12-01 | 2 | -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 Drake | 2019-05-12 | 1 | -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 Bell | 2019-03-10 | 1 | -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 Neves | 2017-11-13 | 3 | -0/+2472 |
| | |||||
* | Tests: Fixes sizing of font-size: smaller in selection test. | Lucas Neves | 2017-10-21 | 1 | -1/+1 |
| | |||||
* | Tests: Remove invalid lines from selection test. | Lucas Neves | 2017-10-21 | 1 | -4/+0 |
| | |||||
* | Tests: Add support and selection tests for the flexbox properties. | Lucas Neves | 2017-10-21 | 1 | -0/+6213 |
| | |||||
* | Tests: Add support and parsing tests for the flexbox properties. | Lucas Neves | 2017-10-21 | 2 | -0/+1714 |
| | |||||
* | Unit tests: Add non-integer NUMBER parsing test. | Michael Drake | 2017-09-20 | 1 | -0/+8 |
| | |||||
* | Tests: Add box-sizing selection tests. | Michael Drake | 2017-04-27 | 1 | -0/+200 |
| | |||||
* | Tests: Dump box-sizing property in selection tests. | Michael Drake | 2017-04-27 | 1 | -0/+48 |
| | |||||
* | Tests: Add parser tests for box-sizing. | Michael Drake | 2017-04-27 | 1 | -0/+33 |
| | |||||
* | Tests: Add box-sizing bytecode unit tests. | Michael Drake | 2017-04-27 | 1 | -0/+58 |
| | |||||
* | 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 |
| | |||||
* | 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 | 1 | -0/+135 |
| | |||||
* | 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 | 1 | -0/+43 |
| | |||||
* | Add column-span to computed style dump and update test data. | Michael Drake | 2014-12-06 | 1 | -0/+43 |
| | |||||
* | Add column-rule-width to computed style dump, and update unit tests. | Michael Drake | 2014-11-16 | 1 | -0/+43 |
| | |||||
* | Add column-rule-style to computed style dumper, and update unit tests. | Michael Drake | 2014-11-16 | 1 | -0/+43 |
| | |||||
* | 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 | 1 | -0/+43 |
| | |||||
* | Add column-gap dumping to test rig, and update test data. | Michael Drake | 2014-11-07 | 1 | -0/+43 |
| | |||||
* | Add dumping of column-fill property to selection test rig. Update test data. | Michael Drake | 2014-11-07 | 1 | -0/+43 |
| | |||||
* | Update computed style dumper to dump column-count, and update test data. | Michael Drake | 2014-10-04 | 1 | -0/+44 |
| | |||||
* | 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 | 4 | -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 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 |
| | |||||
* | 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 | 3 | -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 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 | ||||
* | @font-face support. Credit: James Montgomerie | John Mark Bell | 2011-12-04 | 2 | -0/+143 |
| | | | | | | 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 | ||||
* | Add a few tests. | Michael Drake | 2011-05-26 | 1 | -0/+33 |
| | | | | svn path=/trunk/libcss/; revision=12446 | ||||
* | Fix selection tests | John Mark Bell | 2011-03-12 | 1 | -12/+370 |
| | | | | svn path=/trunk/libcss/; revision=12000 |