summaryrefslogtreecommitdiff
path: root/css
Commit message (Collapse)AuthorAgeFilesLines
* Check correct variable for error.John Mark Bell2010-04-181-1/+1
| | | | svn path=/trunk/netsurf/; revision=10428
* Now that we own imported stylesheets, we can get away with allocating a ↵John Mark Bell2010-04-111-7/+14
| | | | | | single blank import and registering that. svn path=/trunk/netsurf/; revision=10370
* Pedantic line breakJohn Mark Bell2010-04-111-1/+2
| | | | svn path=/trunk/netsurf/; revision=10368
* Merge jmb/kill-reentrancy. r=vinceJohn Mark Bell2010-04-112-109/+203
| | | | svn path=/trunk/netsurf/; revision=10346
* Cover our backs in the charset == NULL caseDaniel Silverstone2010-04-081-0/+2
| | | | svn path=/trunk/netsurf/; revision=10319
* Allow nscss to retain charset and nscss_clone to use itDaniel Silverstone2010-04-082-4/+7
| | | | svn path=/trunk/netsurf/; revision=10318
* Prevent assertion when imported stylesheet fails to load.John Mark Bell2010-04-061-4/+6
| | | | svn path=/trunk/netsurf/; revision=10256
* Make the high-level cache drop contents of unacceptable type on the floor.John Mark Bell2010-04-041-1/+3
| | | | svn path=/trunk/netsurf/; revision=10238
* Most of a stop implementation.John Mark Bell2010-04-042-0/+29
| | | | | | | | | Remaining work: 1) Clone content_html_data 2) Cloning content_css_data requires the charset of the old content 3) Calling hlcache_handle_abort() before a content has been created must clean up the retrieval context. svn path=/trunk/netsurf/; revision=10236
* Constify data parameter to *_process_dataJohn Mark Bell2010-04-032-4/+4
| | | | svn path=/trunk/netsurf/; revision=10234
* The convert stage of a content's state progression no longer reflows the ↵John Mark Bell2010-03-292-10/+6
| | | | | | | | | | | | | content to the provided dimensions. It is now defined as converting the content into a state in which it is ready for use. The user of the content is now responsible for performing an initial reformat (sic) of the content before it can be redrawn. Purge width/height parameters from hlcache_handle_retrieve/content_convert/*_convert APIs. Fix up content handlers affected by the above change in semantics. Ensure that browser_window_callback performs an initial reformat of its content. svn path=/trunk/netsurf/; revision=10207
* Only obey size property on input elements that are either text or password. ↵Rob Kendrick2010-03-281-0/+4
| | | | | | Fixes submit buttons with size properties being too small/large. svn path=/trunk/netsurf/; revision=10191
* Replace fetch_poll with llcache_poll throughout. Allow CONTENT_OTHER to ↵Daniel Silverstone2010-03-281-1/+1
| | | | | | complete properly. svn path=/trunk/netsurf/; revision=10187
* Merge jmb/new-cache; r=dsilvers,rs=vinceDaniel Silverstone2010-03-286-269/+241
| | | | svn path=/trunk/netsurf/; revision=10180
* Fix erroneous switch fallthroughJohn Mark Bell2009-11-221-0/+2
| | | | svn path=/trunk/netsurf/; revision=9694
* Log failuresJohn Mark Bell2009-10-121-1/+6
| | | | svn path=/trunk/netsurf/; revision=9629
* Yet more case insensitivityJohn Mark Bell2009-09-061-1/+1
| | | | svn path=/trunk/netsurf/; revision=9549
* Fix for percentage values.Michael Drake2009-09-051-2/+4
| | | | svn path=/trunk/netsurf/; revision=9546
* Remove redundant line.Michael Drake2009-09-051-1/+0
| | | | svn path=/trunk/netsurf/; revision=9545
* Fix table border=0.Michael Drake2009-09-051-5/+6
| | | | svn path=/trunk/netsurf/; revision=9544
* Fix defualt table cell border width and move border style from default css ↵Michael Drake2009-09-051-33/+46
| | | | | | to code. svn path=/trunk/netsurf/; revision=9543
* Attribute value comparisons should be case insensitiveJohn Mark Bell2009-09-051-32/+38
| | | | svn path=/trunk/netsurf/; revision=9537
* Sync with libcss.John Mark Bell2009-08-231-2/+2
| | | | svn path=/trunk/netsurf/; revision=9406
* Fix buildJohn Mark Bell2009-08-221-22/+9
| | | | svn path=/trunk/netsurf/; revision=9392
* Use new alignment schemeJohn Mark Bell2009-08-221-82/+81
| | | | svn path=/trunk/netsurf/; revision=9390
* Support HTML alignment hints.John Mark Bell2009-08-212-15/+304
| | | | svn path=/trunk/netsurf/; revision=9381
* Sync with new libcss API. There's huge amounts of room for improvement in ↵John Mark Bell2009-07-291-0/+175
| | | | | | this implementation. svn path=/trunk/netsurf/; revision=8883
* Add stylesheet size + size of imported sheets onto CSS content size.John Mark Bell2009-07-271-1/+31
| | | | | | Remove imported contents once we've fetched them and imported them into their parent (once this has happened, the content object is just an empty shell, so not worth keeping around). svn path=/trunk/netsurf/; revision=8831
* Slight optimisationJohn Mark Bell2009-07-271-3/+9
| | | | svn path=/trunk/netsurf/; revision=8824
* Retrieve charset specified on the HTTP layer.John Mark Bell2009-07-271-2/+9
| | | | svn path=/trunk/netsurf/; revision=8821
* Consider stylesheet media typesJohn Mark Bell2009-07-272-23/+45
| | | | svn path=/trunk/netsurf/; revision=8820
* Something approximating error reporting. This really needs addressing properly.John Mark Bell2009-07-251-3/+37
| | | | svn path=/trunk/netsurf/; revision=8791
* Make round-to-nearest clearer.John Mark Bell2009-07-251-1/+1
| | | | svn path=/trunk/netsurf/; revision=8786
* Now that libwapcaplet guarantees NUL-termination of strings, stop copying ↵John Mark Bell2009-07-253-72/+8
| | | | | | them unnecessarily. svn path=/trunk/netsurf/; revision=8785
* More consistent conversion of lengths to pixels.John Mark Bell2009-07-251-15/+34
| | | | | | | We now calculate the nearest whole number of pixels required for 1 unit, then multiply that by the requested length. This means that 2 * len2px(1, cm) == len2px(2, cm), for example. svn path=/trunk/netsurf/; revision=8782
* Merge LibCSS port to trunk.John Mark Bell2009-07-2317-7903/+4379
| | | | svn path=/trunk/netsurf/; revision=8752
* Rename TRANSPARENT to NS_TRANSPARENT to avoid clash on Windows. By MarkieB.Michael Drake2009-07-143-7/+7
| | | | svn path=/trunk/netsurf/; revision=8513
* Replace parent_url with a pointer to the parent content.John Mark Bell2009-07-101-1/+1
| | | | svn path=/trunk/netsurf/; revision=8428
* Tidy up background-position parsingJohn Mark Bell2009-05-281-15/+21
| | | | svn path=/trunk/netsurf/; revision=7601
* Limit scope of manually-defined NDEBUG. Purge a bunch of redundant #undef ↵John Mark Bell2009-05-282-4/+2
| | | | | | NDEBUG. svn path=/trunk/netsurf/; revision=7593
* Purge WITH_AUTHJohn Mark Bell2009-02-221-3/+1
| | | | svn path=/trunk/netsurf/; revision=6600
* Purge NETSURF_USE_SSL and WITH_SSLJohn Mark Bell2009-02-221-2/+0
| | | | svn path=/trunk/netsurf/; revision=6599
* Squash leaksJohn Mark Bell2009-02-181-0/+3
| | | | svn path=/trunk/netsurf/; revision=6559
* Ensure URLs are normalized prior to fetching.John Mark Bell2009-02-101-1/+15
| | | | | | Squash memory leaks. svn path=/trunk/netsurf/; revision=6411
* Blah.John Mark Bell2009-02-051-39/+39
| | | | svn path=/trunk/netsurf/; revision=6366
* Handle no units in CSS as px. This is a temporary measure until the new CSS ↵Michael Drake2009-01-221-5/+9
| | | | | | parser is used, which will handle this properly. svn path=/trunk/netsurf/; revision=6173
* Fix css_len2pt conversion from px and use it in the RO front end code.Michael Drake2008-12-161-1/+1
| | | | svn path=/trunk/netsurf/; revision=5914
* Rename library to avoid confusion.John Mark Bell2008-11-281-3/+8
| | | | | | Require make test to actually do anything. Will error out by default. svn path=/trunk/netsurf/; revision=5814
* Extract test code from css.c into a separate source file.John Mark Bell2008-11-283-17/+220
| | | | | | | Modify test driver to take stylesheet filename on the command line. Makefile to build a library from the css parser sources and link the test driver against it. svn path=/trunk/netsurf/; revision=5812
* Implement percentage heights for block level elements in normal flow, floats ↵Michael Drake2008-10-123-7/+18
| | | | | | and positioned boxes. Percentage min/max-height not yet handled. svn path=/trunk/netsurf/; revision=5550