summaryrefslogtreecommitdiff
path: root/test/css21.c
Commit message (Collapse)AuthorAgeFilesLines
* Media Queries: API for stylesheet import doesn't take media now.Michael Drake2019-03-101-3/+1
|
* Strip trailing whitespace.Michael Drake2017-09-041-4/+4
|
* Various changes which modify API and ABI:Michael Drake2013-12-131-10/+2
| | | | | | | | | - 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.
* Don't use the nonportable alloca() during tests.Anthony J. Bentley2013-04-271-1/+3
|
* Add structure versioning for client inputJohn Mark Bell2011-03-131-0/+1
| | | | svn path=/trunk/libcss/; revision=12007
* Initialise font callback pointersJohn Mark Bell2011-02-031-0/+2
| | | | svn path=/trunk/libcss/; revision=11607
* Provide hook for system colour name -> RGB conversionJohn Mark Bell2011-01-291-7/+19
| | | | svn path=/trunk/libcss/; revision=11522
* Provide notification hook for imported stylesheets, to enable clients to ↵John Mark Bell2010-12-051-2/+3
| | | | | | parallelise their processing svn path=/trunk/libcss/; revision=10999
* Remove Aliases file nonsenseJohn Mark Bell2010-12-041-5/+5
| | | | svn path=/trunk/libcss/; revision=10983
* Remove use of lwc_initialise and also parserutils.h includes. r=vinceDaniel Silverstone2010-12-041-4/+0
| | | | svn path=/trunk/libcss/; revision=10964
* Remove initialisation of libparserutils from testsDaniel Silverstone2010-12-041-4/+0
| | | | svn path=/trunk/libcss/; revision=10962
* Remove libcss_initialise/finalise.John Mark Bell2010-12-041-2/+3
| | | | | | Fix testsuite to compile (it passes, too) svn path=/trunk/libcss/; revision=10955
* Ownership of imported stylesheets is retained by the client.John Mark Bell2010-04-111-0/+2
| | | | svn path=/trunk/libcss/; revision=10367
* Fix libcss to use new libwapcaplet behaviour.Daniel Silverstone2010-03-271-10/+5
| | | | | | | TODO: update the tests to include a refcounting proof svn path=/trunk/libcss/; revision=10162
* Origin and media are not properties of the stylesheet. John Mark Bell2010-01-121-5/+3
| | | | | | | | | They are properties of the context in which the stylesheet is used. Therefore, for top-level sheets, this information must be provided at selection time. For child sheets, the origin is inherited from their parent and the applicable media types are specified on the linking mechanism. svn path=/trunk/libcss/; revision=9802
* Make all URIs absoluteJohn Mark Bell2009-07-011-2/+16
| | | | svn path=/trunk/libcss/; revision=8228
* Support for parsing inline stylesJohn Mark Bell2009-06-261-3/+3
| | | | svn path=/trunk/libcss/; revision=8024
* Border and outline shorthand property parsersJohn Mark Bell2009-06-251-4/+8
| | | | svn path=/trunk/libcss/; revision=7956
* Hacky increase to buffer size to stop overflow when dumping shorthand ↵John Mark Bell2009-06-191-3/+3
| | | | | | properties. Please look away now. svn path=/trunk/libcss/; revision=7873
* Pretend we care about fread/fwrite succeedingJohn Mark Bell2009-04-171-3/+7
| | | | svn path=/trunk/libcss/; revision=7124
* More c89ismsJohn Mark Bell2009-04-151-9/+12
| | | | svn path=/trunk/libcss/; revision=7100
* Initialise variables.John Mark Bell2009-03-021-4/+6
| | | | | | Actually make disabling of CSS dumping work. svn path=/trunk/libcss/; revision=6670
* Quirks mode parsingJohn Mark Bell2009-02-151-5/+6
| | | | svn path=/trunk/libcss/; revision=6519
* Port libcss to libwapcaplet.Daniel Silverstone2009-02-141-14/+15
| | | | | | | | | It passes the tests, perhaps we need more of them. Lifetimes of lwc_string objects really need attention before we can consider this finished. svn path=/trunk/libcss/; revision=6517
* Rework handling of imported stylesheets.John Mark Bell2009-02-141-3/+34
| | | | | | No longer is the client called back mid-parse. Instead, they must acquire details of and process imported stylesheets after css_stylesheet_data_done() has been called on the parent sheet. The return code of css_stylesheet_data_done() informs the client of the need to process imported sheets. svn path=/trunk/libcss/; revision=6504
* Purge stylesheet dumping code from the library.John Mark Bell2009-01-191-1/+8
| | | | | | | Create a common header for the test harnesses to use, instead. Fix z-index dumping while we're at it. svn path=/trunk/libcss/; revision=6146
* Divorce css_string from whatever gets stored in lpu hashes.John Mark Bell2008-12-011-3/+3
| | | | | | | | | | | | | | | | | | Use pointers to parserutils_hash_entry directly in stylesheet datastructures. The upshot of this for allzengarden.css is: 5506 slots used (of 8192 => 67.211914%) Data: 8 full blocks: 32768 bytes 9 partial blocks: 35124 bytes (of 36864 => 95.279945%) Total: 69936 (4112) (32) Hash structures: 65584 i.e. a total string dictionary size of 135,520 bytes, which is some 74,056 bytes less than before. svn path=/trunk/libcss/; revision=5859
* More modifications to allow numerous iterations for profiling.John Mark Bell2008-11-301-2/+2
| | | | | | | | | | | Overall time breakdown for allzengarden.css is approximately: lex : 37% core : 43% lang : 20% svn path=/trunk/libcss/; revision=5857
* Modify to allow a configurable number of iterations for profiling.John Mark Bell2008-11-301-27/+43
| | | | svn path=/trunk/libcss/; revision=5856
* Port css21 frontend to new object APIJohn Mark Bell2008-11-091-3/+2
| | | | svn path=/trunk/libcss/; revision=5676
* Provide an internal mechanism for dumping stylesheets to a file handle.John Mark Bell2008-10-191-1/+3
| | | | | | Make the css21 test driver call this so we can see if it's working. svn path=/trunk/libcss/; revision=5602
* Modify CSS2.1 frontend test driver to use the public stylesheet API.John Mark Bell2008-09-251-21/+9
| | | | | | Media type handling may need to change -- 32bits may not be large enough in the long term, and there's no sensible way of extending this without causing ABI breakage in the future. svn path=/trunk/libcss/; revision=5439
* Stub out a CSS 2.1 stage 2 parser.John Mark Bell2008-08-011-0/+90
Parser core doesn't need to know about css_stylesheet, so change its API. svn path=/trunk/libcss/; revision=4854