summaryrefslogtreecommitdiff
path: root/test/data/parse2
Commit message (Collapse)AuthorAgeFilesLines
* Add support for SVG stroke-opacity propertyMichael Orlitzky2023-10-011-0/+40
| | | | | | | | 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-012-0/+40
| | | | | | | 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.
* 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
* Units: Remove units that nobody supports.Michael Drake2021-05-191-24/+0
|
* 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: 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-132-0/+183
|
* 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 parser tests for box-sizing.Michael Drake2017-04-271-0/+33
|
* Improve src/parse/important.c coverage to 98.4%Michael Drake2014-07-241-0/+8
|
* Add support for CSS3 overflow-x and overflow-y properties.Michael Drake2014-06-012-1/+99
| | | | | | | | 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-101-0/+21
|
* Fix test data for border shorthand property.Michael Drake2013-09-101-0/+40
|
* 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-282-1/+667
| | | | | | | | | | | | | | | | | | + 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
* Add a few tests.Michael Drake2011-05-261-0/+33
| | | | svn path=/trunk/libcss/; revision=12446
* Centralise handling of transparent colours.John Mark Bell2011-01-293-0/+82
| | | | | | Add support for currentColor svn path=/trunk/libcss/; revision=11525
* Merge parser autogeneration and string handling refactor branch ↵Vincent Sanders2011-01-199-0/+401
| | | | | | r=jmb,kinnison,vince svn path=/trunk/libcss/; revision=11408
* Fix testsuite in light of change to colour representationJohn Mark Bell2010-12-047-175/+175
| | | | svn path=/trunk/libcss/; revision=10987
* It turns out that using magic values for text-align is simpler than having ↵John Mark Bell2009-08-221-69/+0
| | | | | | an entirely new property for html alignment. svn path=/trunk/libcss/; revision=9387
* -libcss-alignJohn Mark Bell2009-08-211-0/+70
| | | | svn path=/trunk/libcss/; revision=9378
* More rigorous handling of EOF.John Mark Bell2009-07-311-0/+119
| | | | | | Expand test data for this. svn path=/trunk/libcss/; revision=8931
* A few inherit tests.Michael Drake2009-06-271-0/+71
| | | | svn path=/trunk/libcss/; revision=8072
* List property tests.Michael Drake2009-06-272-0/+489
| | | | svn path=/trunk/libcss/; revision=8071
* Fix test dataJohn Mark Bell2009-06-271-36/+0
| | | | svn path=/trunk/libcss/; revision=8070
* Font property tests.Michael Drake2009-06-272-0/+729
| | | | svn path=/trunk/libcss/; revision=8068
* Outline and border tests.Michael Drake2009-06-273-0/+2327
| | | | svn path=/trunk/libcss/; revision=8063
* Test one more line.Michael Drake2009-06-271-0/+32
| | | | svn path=/trunk/libcss/; revision=8056
* More aural tests.Michael Drake2009-06-271-0/+346
| | | | svn path=/trunk/libcss/; revision=8054
* Comment out non-automated tests for now. Add some aural property tests.Michael Drake2009-06-273-0/+361
| | | | svn path=/trunk/libcss/; revision=8050
* Move old shorthands test into margin test. Add a few general tests.Michael Drake2009-06-273-61/+84
| | | | svn path=/trunk/libcss/; revision=8047
* A few more margin tests.Michael Drake2009-06-271-0/+41
| | | | svn path=/trunk/libcss/; revision=8045
* Tests for padding property.Michael Drake2009-06-272-1/+205
| | | | svn path=/trunk/libcss/; revision=8044
* Tests for background property.Michael Drake2009-06-262-1/+211
| | | | svn path=/trunk/libcss/; revision=8028
* Inherit tests. At least one currently fails.Michael Drake2009-06-261-0/+50
| | | | svn path=/trunk/libcss/; revision=8022
* Fix test data.Michael Drake2009-06-261-7/+7
| | | | svn path=/trunk/libcss/; revision=8020
* Tests for Margin shorthand prop. Comment out test that is currently expected ↵Michael Drake2009-06-262-0/+113
| | | | | | to fail. svn path=/trunk/libcss/; revision=8019
* Some tweaks to the background-position parser, which will theoretically make ↵John Mark Bell2009-06-182-0/+22
| | | | | | | | it do the right thing when invoked by shorthand property parser, say. Some more tests for illegal background-position values, to make sure I haven't screwed up. svn path=/trunk/libcss/; revision=7859
* Support named colours.John Mark Bell2009-04-012-78/+76
| | | | | | Fix malformed declaration test data -- everything up to and including the next semicolon is dropped on the floor. svn path=/trunk/libcss/; revision=7020
* Discard selectors that contain pseudo elements in non-terminal simple selectors.John Mark Bell2009-02-142-0/+25
| | | | | | More test data for selectors with pseudo elements svn path=/trunk/libcss/; revision=6473
* Fix dumping of cursor values.John Mark Bell2009-02-111-0/+9
| | | | | | Testcase for this. svn path=/trunk/libcss/; revision=6437
* More font and voice family tests.Michael Drake2009-01-261-0/+39
| | | | svn path=/trunk/libcss/; revision=6279
* 0.1em is a perfectly legitimate word-spacingJohn Mark Bell2009-01-251-0/+1
| | | | svn path=/trunk/libcss/; revision=6260
* Fix test data for voice-family. This probably also wants to test with ↵John Mark Bell2009-01-241-3/+3
| | | | | | appropriate idents for voices, rather than just being a copy of the font-family tests. svn path=/trunk/libcss/; revision=6257
* CSS is case insensitive. Thus, HiDDen == hidden, and is a valid identifier.John Mark Bell2009-01-241-0/+1
| | | | svn path=/trunk/libcss/; revision=6256
* vertical-align: top is valid inputJohn Mark Bell2009-01-241-0/+1
| | | | svn path=/trunk/libcss/; revision=6255
* Test cases for margin shorthand property.Michael Drake2009-01-241-0/+61
| | | | svn path=/trunk/libcss/; revision=6253