summaryrefslogtreecommitdiff
path: root/content/handlers/css
Commit message (Collapse)AuthorAgeFilesLines
* CSS: Update for change to libcss select style API.Michael Drake2019-05-042-2/+2
| | | | | | | LibCSS now takes the client media spec, rather than just the media type we're selecting for. Signed-off-by: Michael Drake <michael.drake@codethink.co.uk>
* CSS: Update for change to libcss imported sheet API.Michael Drake2019-05-042-5/+2
| | | | | | The media is not exposed and sent back into libcss now. Signed-off-by: Michael Drake <michael.drake@codethink.co.uk>
* allow comments to supress implicit fallthrough warningsVincent Sanders2018-09-071-5/+5
|
* CSS utils: Handle new units in length conversion routines.Michael Drake2018-01-052-16/+174
| | | | | This causes a ripple effect of all the callsites needing information they didn't have.
* CSS computed style composition: Update for new CSS units.Michael Drake2018-01-052-5/+48
| | | | | | | Since the nscss_compute_font_size callback now needs to convert new units to absolute values, and some of these units require info from the root element's style, there are knock-on changes to ensure that the required info is available where its needed.
* CSS: Add new libcss unit types to computed style dump.Michael Drake2018-01-021-0/+39
|
* CSS: Wrappers for computed style getters that return unsupported values.Michael Drake2017-10-202-3/+73
| | | | We don't yet handle the Flexbox-related values for certain properties.
* CSS hints: Ensure length and unit are initialised for vertical-align.Michael Drake2017-10-131-0/+2
|
* Use coccinelle to change logging macro calls in c filesVincent Sanders2017-09-063-13/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | for F in $(git ls-files '*.c');do spatch --sp-file foo.cocci --in-place ${F};done @@ expression E; @@ -LOG(E); +NSLOG(netsurf, INFO, E); @@ expression E, E1; @@ -LOG(E, E1); +NSLOG(netsurf, INFO, E, E1); @@ expression E, E1, E2; @@ -LOG(E, E1, E2); +NSLOG(netsurf, INFO, E, E1, E2); @@ expression E, E1, E2, E3; @@ -LOG(E, E1, E2, E3); +NSLOG(netsurf, INFO, E, E1, E2, E3); @@ expression E, E1, E2, E3, E4; @@ -LOG(E, E1, E2, E3, E4); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4); @@ expression E, E1, E2, E3, E4, E5; @@ -LOG(E, E1, E2, E3, E4, E5); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5); @@ expression E, E1, E2, E3, E4, E5, E6; @@ -LOG(E, E1, E2, E3, E4, E5, E6); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5, E6); @@ expression E, E1, E2, E3, E4, E5, E6, E7; @@ -LOG(E, E1, E2, E3, E4, E5, E6, E7); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5, E6, E7);
* CSS content handler: Convert to using content_broadcast_errorcode().Michael Drake2017-08-271-12/+5
|
* Content API: Make content_broadcast take pointer to content_msg_data.Michael Drake2017-08-261-4/+4
|
* CSS: Handle presentational hint for HR's "width" attribute.Michael Drake2017-04-101-0/+1
|
* Presentational hints: Ensure length is initialised for auto margins.Michael Drake2017-04-061-0/+2
| | | | | | | | | | | Although the length is unused when margin is auto, having uninitialised values present in a computed style means that the style hashing may give the same style different hashes depending on the unintitialised info. The effect of this would have been be to reduce the chance of computed style sharing. It would have had no effect on page rendering.
* move plot style header to netsurf include directoryVincent Sanders2017-01-131-0/+1
| | | | | move plotter style header and adjust all callers to use only what they actually require.
* fix spelling of retrivedVincent Sanders2016-11-211-2/+2
|
* Work in Progress: Update for style-sharing LibCSS API.Michael Drake2016-11-191-32/+23
|
* Table cell nowrap attribute is presentational hint, not UA style.Michael Drake2016-10-131-0/+17
|
* msplit public url database API out for frontendsVincent Sanders2016-06-131-1/+2
|
* Allow include directories to be added by sub makefilesVincent Sanders2016-06-066-13/+13
|
* move the CSS content handlerVincent Sanders2016-05-2613-0/+6568