Initial import HTML5 support for attributes and input types.
Attributes - Added support for new HTML5 attributes. missing support for : form, list, and multiple attributes. Input types: added the all the new input types. Added test cases, still in progress.
This commit is contained in:
40
tests/server/wsf_html/wsf_form_range_input.e
Normal file
40
tests/server/wsf_html/wsf_form_range_input.e
Normal file
@@ -0,0 +1,40 @@
|
||||
note
|
||||
description: "[
|
||||
Represent an input type range
|
||||
Example
|
||||
<input type="range" min=0 max=100 step=20 value=50>
|
||||
]"
|
||||
date: "$Date$"
|
||||
revision: "$Revision$"
|
||||
|
||||
class
|
||||
WSF_FORM_RANGE_INPUT
|
||||
|
||||
inherit
|
||||
|
||||
WSF_FORM_INPUT
|
||||
redefine
|
||||
specific_input_attributes_string
|
||||
end
|
||||
|
||||
WSF_FORM_WITH_NUMERIC_ATTRIBUTE
|
||||
|
||||
create
|
||||
make,
|
||||
make_with_text
|
||||
|
||||
feature -- Access
|
||||
|
||||
input_type: STRING = "range"
|
||||
|
||||
|
||||
feature {NONE} -- Conversion
|
||||
|
||||
specific_input_attributes_string: detachable STRING_8
|
||||
-- Specific input attributes if any.
|
||||
-- To redefine if needed
|
||||
do
|
||||
create Result.make_empty
|
||||
append_numeric_input_attributes_to (Result)
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user