def test_html_blacklist_fieldset(): """The fieldset element represents a set of form controls.""" check_html_has_no_output(""" <fieldset id=sexes> <option value="Female"> <option value="Male"> </fieldset> """)
def test_html_blacklist_datalist(): """The datalist element represents a set of option elements.""" check_html_has_no_output(""" <datalist id=sexes> <option value="Female"> <option value="Male"> </datalist> """)
def test_html_blacklist_form(): """The form element is a user-interactive area of a document.""" check_html_has_no_output(""" <form> <div> <label>Customer name: <input></label> </div> <fieldset> <legend> Pizza Size </legend> <div><label><input type=radio name=size/>Small</label></div> <div><label><input type=radio name=size/>Medium</label></div> <div><label><input type=radio name=size/>Large</label></div> </fieldset> </form> """)
def test_html_blacklist_textarea(): """The textarea element defines a multi-line text input control.""" check_html_has_no_output(""" <textarea>Some text here</textarea> """)
def test_html_blacklist_meter(): """The meter element represents a measurement within a known range.""" check_html_has_no_output(""" <meter value=6 max=8>6 blocks used (out of 8 total)</meter> """)
def test_html_blacklist_label(): """The label element defines the label for another element.""" check_html_has_no_output(""" <label><input type=radio name=size/>Large</label> """)
def test_html_blacklist_input(): """The input element represents a typed data field.""" check_html_has_no_output(""" <input type=radio name=size/> """)
def test_html_blacklist_button(): """The button element defines a clickable button.""" check_html_has_no_output(""" <button type="button">Click Me!</button> """)