summaryrefslogtreecommitdiff
path: root/content/handlers/html/box_construct.c
Commit message (Collapse)AuthorAgeFilesLines
* css: Add option to ignore author level CSSMichael Drake2023-11-251-5/+8
| | | | | | | | | | | | 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
* html: layout: Initial implementation of display: flexMichael Drake2022-10-291-37/+71
|
* Switch to new libcss API for unit conversion.Michael Drake2021-05-301-1/+2
|
* html: Do list item counting at layout time.Michael Drake2021-02-091-98/+3
|
* use list style formatting from libcssVincent Sanders2021-02-071-18/+29
|
* change list counter style formatting to be table drivenVincent Sanders2021-02-021-8/+25
|
* split counter style handling out of the box codeVincent Sanders2021-01-311-278/+8
|
* implement list marker counting for roman, latin and greekVincent Sanders2021-01-301-54/+344
|
* use the ascii locale safe handling instead of ctype APIVincent Sanders2020-06-241-5/+6
|
* remove box handling from browser windowVincent Sanders2020-05-251-6/+0
|
* clean up content headers and documentation commentsVincent Sanders2020-05-061-1/+2
| | | | pure formatting and documentation changes, no code difference
* improve html content handler private headersVincent Sanders2020-05-021-1/+1
|
* put html content handler object interface into its own headerVincent Sanders2020-05-011-0/+1
|
* remove unused available width and height parameters from html_fecth_object()Vincent Sanders2020-04-301-7/+10
|
* split html box processing codeVincent Sanders2020-04-291-1851/+6
| | | | | | | reduce the module size of the html box handling code by splitting into smaller sections. No functional code change.
* Initial special canvas handling to not show fallbackVincent Sanders2020-04-281-3/+27
|
* clean up html box, no functionality change just cosmeticVincent Sanders2020-04-281-56/+6
| | | | | | split up the html box headers tidy up the documentation comments avoid forward declarations in normalisation implementation
* use dom type interface instead of strcasecmpVincent Sanders2020-04-261-52/+87
|
* remove forward declarationsVincent Sanders2020-04-261-2044/+2158
| | | | | reorder module to remove need for forward function declarations. remove unecessary and confusing parameter macros
* HTML: box_consturction: cleanup name dom_string in box_object.Michael Drake2019-12-101-0/+2
|
* box_construct: Do not leak attributes in <embed> boxesDaniel Silverstone2019-11-301-0/+5
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Box Conversion: Cancel conversion during html_destroyDaniel Silverstone2019-08-231-1/+22
| | | | | | | | If dom_to_box is still in progress when we destroy an HTML content, we need to cancel the conversion otherwise we will end up with a scheduled callback into infinity. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* html: Mirror gadget values in and out of the DOMDaniel Silverstone2019-08-041-1/+2
| | | | | | | | | Currently only supporting text input, password input, and hidden input, along with text areas, this mirrors the text values in and out of the DOM, allowing JS to adjust the gadget values and for the gadget values to be interrogated from JS. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* box_construct: Check error return from dom_has_attributeDaniel Silverstone2019-08-031-3/+11
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* HTML: Squash error-path leaks in select box construction.Michael Drake2019-05-061-0/+2
|
* CSS: Update for change to libcss select style API.Michael Drake2019-05-041-1/+1
| | | | | | | 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>
* Box construction: Don't handle IMAGE specially.Michael Drake2018-12-131-1/+0
|
* check dom call return and improve handling of missing form typeVincent Sanders2018-10-091-22/+30
|
* clean up html content handler header useVincent Sanders2018-05-111-0/+1
| | | | Improve header use in preperation for making browser window a corewindow
* move html and text content handlers where they belongVincent Sanders2018-05-101-0/+3134