summaryrefslogtreecommitdiff
path: root/content/handlers/css/hints.c
Commit message (Collapse)AuthorAgeFilesLines
* use attributes to indicate switch fall through instead of commentsVincent Sanders2024-03-051-5/+5
|
* css: Fix blocking of presentational hints for author_level_css=0Michael Drake2023-11-251-5/+7
|
* css: Add option to ignore author level CSSMichael Drake2023-11-251-0/+4
| | | | | | | | | | | | This adds a new config option, `author_level_css`. When it is disabled, NetSurf will ignore all CSS from the web page. In this case only the default CSS rules from the browser and user CSS rules will be applied. It is enabled by default. Tested by running: ./nsgtk3 --author_level_css=0
* css: hints: Add support for OL type attribute.Michael Drake2021-01-311-0/+47
|
* css: Support canvas width/height presentational hintsDaniel Silverstone2020-05-221-0/+65
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* CSS hints: Change css_hint_advance to advance pointer by parameter.Michael Drake2019-08-041-55/+55
|
* allow comments to supress implicit fallthrough warningsVincent Sanders2018-09-071-5/+5
|
* 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-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: 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.
* Table cell nowrap attribute is presentational hint, not UA style.Michael Drake2016-10-131-0/+17
|
* Allow include directories to be added by sub makefilesVincent Sanders2016-06-061-2/+2
|
* move the CSS content handlerVincent Sanders2016-05-261-0/+1604