Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | Download | RSS feed

  1. /*
  2.  * This file is part of LibCSS
  3.  * Licensed under the MIT License,
  4.  *                http://www.opensource.org/licenses/mit-license.php
  5.  * Copyright 2009 John-Mark Bell <jmb@netsurf-browser.org>
  6.  */
  7.  
  8. #ifndef css_select_properties_helpers_h_
  9. #define css_select_properties_helpers_h_
  10.  
  11. uint32_t generic_destroy_color(void *bytecode);
  12. uint32_t generic_destroy_uri(void *bytecode);
  13. uint32_t generic_destroy_length(void *bytecode);
  14. uint32_t generic_destroy_number(void *bytecode);
  15.  
  16. css_unit css__to_css_unit(uint32_t u);
  17.  
  18. css_error css__cascade_bg_border_color(uint32_t opv, css_style *style,
  19.                 css_select_state *state,
  20.                 css_error (*fun)(css_computed_style *, uint8_t, css_color));
  21. css_error css__cascade_uri_none(uint32_t opv, css_style *style,
  22.                 css_select_state *state,
  23.                 css_error (*fun)(css_computed_style *, uint8_t,
  24.                                 lwc_string *));
  25. css_error css__cascade_border_style(uint32_t opv, css_style *style,
  26.                 css_select_state *state,
  27.                 css_error (*fun)(css_computed_style *, uint8_t));
  28. css_error css__cascade_border_width(uint32_t opv, css_style *style,
  29.                 css_select_state *state,
  30.                 css_error (*fun)(css_computed_style *, uint8_t, css_fixed,
  31.                                 css_unit));
  32. css_error css__cascade_length_auto(uint32_t opv, css_style *style,
  33.                 css_select_state *state,
  34.                 css_error (*fun)(css_computed_style *, uint8_t, css_fixed,
  35.                                 css_unit));
  36. css_error css__cascade_length_normal(uint32_t opv, css_style *style,
  37.                 css_select_state *state,
  38.                 css_error (*fun)(css_computed_style *, uint8_t, css_fixed,
  39.                                 css_unit));
  40. css_error css__cascade_length_none(uint32_t opv, css_style *style,
  41.                 css_select_state *state,
  42.                 css_error (*fun)(css_computed_style *, uint8_t, css_fixed,
  43.                                 css_unit));
  44. css_error css__cascade_length(uint32_t opv, css_style *style,
  45.                 css_select_state *state,
  46.                 css_error (*fun)(css_computed_style *, uint8_t, css_fixed,
  47.                                 css_unit));
  48. css_error css__cascade_number(uint32_t opv, css_style *style,
  49.                 css_select_state *state,
  50.                 css_error (*fun)(css_computed_style *, uint8_t, css_fixed));
  51. css_error css__cascade_page_break_after_before_inside(uint32_t opv,
  52.                 css_style *style, css_select_state *state,
  53.                 css_error (*fun)(css_computed_style *, uint8_t));
  54. css_error css__cascade_counter_increment_reset(uint32_t opv, css_style *style,
  55.                 css_select_state *state,
  56.                 css_error (*fun)(css_computed_style *, uint8_t,
  57.                                 css_computed_counter *));
  58.  
  59. #endif
  60.