|
def | __init__ (self, new_path, filename, reference_support_info, host=Host(), convert_test_harness_links=True) |
|
def | output (self) |
|
def | path_from_webkit_root (self, comps) |
|
def | read_webkit_prefixed_css_property_list (self, file_name) |
|
def | legacy_read_webkit_prefixed_css_property_list (self, file_name) |
|
def | add_webkit_prefix_to_unprefixed_properties_and_values (self, text) |
|
def | add_webkit_prefix_following_regex (self, text, regex) |
|
def | convert_reference_relpaths (self, text) |
|
def | convert_style_data (self, data) |
|
def | convert_attributes_if_needed (self, tag, attrs) |
|
def | handle_starttag (self, tag, attrs) |
|
def | handle_endtag (self, tag) |
|
def | handle_startendtag (self, tag, attrs) |
|
def | handle_data (self, data) |
|
def | handle_entityref (self, name) |
|
def | handle_charref (self, name) |
|
def | handle_comment (self, data) |
|
def | handle_decl (self, decl) |
|
def | handle_pi (self, data) |
|
◆ __init__()
def webkitpy.w3c.test_converter._W3CTestConverter.__init__ |
( |
|
self, |
|
|
|
new_path, |
|
|
|
filename, |
|
|
|
reference_support_info, |
|
|
|
host = Host() , |
|
|
|
convert_test_harness_links = True |
|
) |
| |
◆ add_webkit_prefix_following_regex()
def webkitpy.w3c.test_converter._W3CTestConverter.add_webkit_prefix_following_regex |
( |
|
self, |
|
|
|
text, |
|
|
|
regex |
|
) |
| |
◆ add_webkit_prefix_to_unprefixed_properties_and_values()
def webkitpy.w3c.test_converter._W3CTestConverter.add_webkit_prefix_to_unprefixed_properties_and_values |
( |
|
self, |
|
|
|
text |
|
) |
| |
Searches |text| for instances of properties and values requiring the -webkit- prefix and adds the prefix to them.
Returns the list of converted properties, values and the modified text.
◆ convert_attributes_if_needed()
def webkitpy.w3c.test_converter._W3CTestConverter.convert_attributes_if_needed |
( |
|
self, |
|
|
|
tag, |
|
|
|
attrs |
|
) |
| |
◆ convert_reference_relpaths()
def webkitpy.w3c.test_converter._W3CTestConverter.convert_reference_relpaths |
( |
|
self, |
|
|
|
text |
|
) |
| |
Searches |text| for instances of files in reference_support_info and updates the relative path to be correct for the new ref file location
◆ convert_style_data()
def webkitpy.w3c.test_converter._W3CTestConverter.convert_style_data |
( |
|
self, |
|
|
|
data |
|
) |
| |
◆ handle_charref()
def webkitpy.w3c.test_converter._W3CTestConverter.handle_charref |
( |
|
self, |
|
|
|
name |
|
) |
| |
◆ handle_comment()
def webkitpy.w3c.test_converter._W3CTestConverter.handle_comment |
( |
|
self, |
|
|
|
data |
|
) |
| |
◆ handle_data()
def webkitpy.w3c.test_converter._W3CTestConverter.handle_data |
( |
|
self, |
|
|
|
data |
|
) |
| |
◆ handle_decl()
def webkitpy.w3c.test_converter._W3CTestConverter.handle_decl |
( |
|
self, |
|
|
|
decl |
|
) |
| |
◆ handle_endtag()
def webkitpy.w3c.test_converter._W3CTestConverter.handle_endtag |
( |
|
self, |
|
|
|
tag |
|
) |
| |
◆ handle_entityref()
def webkitpy.w3c.test_converter._W3CTestConverter.handle_entityref |
( |
|
self, |
|
|
|
name |
|
) |
| |
◆ handle_pi()
def webkitpy.w3c.test_converter._W3CTestConverter.handle_pi |
( |
|
self, |
|
|
|
data |
|
) |
| |
◆ handle_startendtag()
def webkitpy.w3c.test_converter._W3CTestConverter.handle_startendtag |
( |
|
self, |
|
|
|
tag, |
|
|
|
attrs |
|
) |
| |
◆ handle_starttag()
def webkitpy.w3c.test_converter._W3CTestConverter.handle_starttag |
( |
|
self, |
|
|
|
tag, |
|
|
|
attrs |
|
) |
| |
◆ legacy_read_webkit_prefixed_css_property_list()
def webkitpy.w3c.test_converter._W3CTestConverter.legacy_read_webkit_prefixed_css_property_list |
( |
|
self, |
|
|
|
file_name |
|
) |
| |
◆ output()
def webkitpy.w3c.test_converter._W3CTestConverter.output |
( |
|
self | ) |
|
◆ path_from_webkit_root()
def webkitpy.w3c.test_converter._W3CTestConverter.path_from_webkit_root |
( |
|
self, |
|
|
|
comps |
|
) |
| |
◆ read_webkit_prefixed_css_property_list()
def webkitpy.w3c.test_converter._W3CTestConverter.read_webkit_prefixed_css_property_list |
( |
|
self, |
|
|
|
file_name |
|
) |
| |
◆ convert_test_harness_links
webkitpy.w3c.test_converter._W3CTestConverter.convert_test_harness_links |
◆ converted_data
webkitpy.w3c.test_converter._W3CTestConverter.converted_data |
◆ converted_properties
webkitpy.w3c.test_converter._W3CTestConverter.converted_properties |
◆ converted_property_values
webkitpy.w3c.test_converter._W3CTestConverter.converted_property_values |
◆ filename
webkitpy.w3c.test_converter._W3CTestConverter.filename |
◆ in_style_tag
webkitpy.w3c.test_converter._W3CTestConverter.in_style_tag |
◆ new_test_harness_path
webkitpy.w3c.test_converter._W3CTestConverter.new_test_harness_path |
◆ prefixed_properties
webkitpy.w3c.test_converter._W3CTestConverter.prefixed_properties |
◆ prefixed_property_values
webkitpy.w3c.test_converter._W3CTestConverter.prefixed_property_values |
◆ prop_re
webkitpy.w3c.test_converter._W3CTestConverter.prop_re |
◆ prop_value_re
webkitpy.w3c.test_converter._W3CTestConverter.prop_value_re |
◆ reference_support_info
webkitpy.w3c.test_converter._W3CTestConverter.reference_support_info |
◆ style_data
webkitpy.w3c.test_converter._W3CTestConverter.style_data |
◆ test_harness_re
webkitpy.w3c.test_converter._W3CTestConverter.test_harness_re |
The documentation for this class was generated from the following file: