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. #include "bytecode/bytecode.h"
  9. #include "bytecode/opcodes.h"
  10. #include "select/propset.h"
  11. #include "select/propget.h"
  12. #include "utils/utils.h"
  13.  
  14. #include "select/properties/properties.h"
  15. #include "select/properties/helpers.h"
  16.  
  17. css_error css__cascade_speak(uint32_t opv, css_style *style,
  18.                 css_select_state *state)
  19. {
  20.         UNUSED(style);
  21.  
  22.         if (isInherit(opv) == false) {
  23.                 switch (getValue(opv)) {
  24.                 case SPEAK_NORMAL:
  25.                 case SPEAK_NONE:
  26.                 case SPEAK_SPELL_OUT:
  27.                         /** \todo convert to public values */
  28.                         break;
  29.                 }
  30.         }
  31.  
  32.         if (css__outranks_existing(getOpcode(opv), isImportant(opv), state,
  33.                         isInherit(opv))) {
  34.                 /** \todo speak */
  35.         }
  36.  
  37.         return CSS_OK;
  38. }
  39.  
  40. css_error css__set_speak_from_hint(const css_hint *hint,
  41.                 css_computed_style *style)
  42. {
  43.         UNUSED(hint);
  44.         UNUSED(style);
  45.  
  46.         return CSS_OK;
  47. }
  48.  
  49. css_error css__initial_speak(css_select_state *state)
  50. {
  51.         UNUSED(state);
  52.  
  53.         return CSS_OK;
  54. }
  55.  
  56. css_error css__compose_speak(const css_computed_style *parent,
  57.                 const css_computed_style *child,
  58.                 css_computed_style *result)
  59. {
  60.         UNUSED(parent);
  61.         UNUSED(child);
  62.         UNUSED(result);
  63.  
  64.         return CSS_OK;
  65. }
  66.  
  67.