diff options
Diffstat (limited to 'src/html/html_input_element.c')
-rw-r--r-- | src/html/html_input_element.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/html/html_input_element.c b/src/html/html_input_element.c index bab79f2..c4cfc05 100644 --- a/src/html/html_input_element.c +++ b/src/html/html_input_element.c @@ -349,12 +349,24 @@ SIMPLE_GET_SET(access_key); SIMPLE_GET_SET(align); SIMPLE_GET_SET(alt); SIMPLE_GET_SET(name); -SIMPLE_GET_SET(size); SIMPLE_GET_SET(src); SIMPLE_GET(type); SIMPLE_GET_SET(use_map); SIMPLE_GET_SET(value); +dom_exception dom_html_input_element_get_size( + dom_html_input_element *input, int32_t *size) +{ + return dom_html_element_get_int32_t_property(&input->base, "size", + SLEN("size"), size); +} + +dom_exception dom_html_input_element_set_size( + dom_html_input_element *input, uint32_t size) +{ + return dom_html_element_set_int32_t_property(&input->base, "size", + SLEN("size"), size); +} dom_exception dom_html_input_element_get_tab_index( dom_html_input_element *input, int32_t *tab_index) { |