2007-03-22 10:30:00 -07:00
|
|
|
#
|
2012-05-21 04:12:37 -07:00
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
2007-03-22 10:30:00 -07:00
|
|
|
|
2010-03-02 13:00:39 -08:00
|
|
|
# ParseCSS.cpp used to be built as a test program, but it was not
|
|
|
|
# being used for anything, and recent changes to the CSS loader have
|
|
|
|
# made it fail to link. Further changes are planned which should make
|
|
|
|
# it buildable again.
|
|
|
|
#
|
|
|
|
# TestCSSPropertyLookup.cpp needs the internal XPCOM APIs and so cannot
|
|
|
|
# be built with libxul enabled.
|
2011-05-23 09:54:47 -07:00
|
|
|
#
|
|
|
|
#CPP_UNIT_TESTS = TestCSSPropertyLookup.cpp
|
|
|
|
#LIBS += ../nsCSSKeywords.$(OBJ_SUFFIX) ../nsCSSProps.$(OBJ_SUFFIX) $(XPCOM_LIBS)
|
2010-03-02 13:00:39 -08:00
|
|
|
|
2012-07-03 13:49:02 -07:00
|
|
|
MOCHITEST_FILES = test_acid3_test46.html \
|
2013-10-03 11:49:20 -07:00
|
|
|
test_all_shorthand.html \
|
2011-06-20 16:47:09 -07:00
|
|
|
test_animations.html \
|
2010-04-23 19:59:47 -07:00
|
|
|
test_any_dynamic.html \
|
2009-03-05 20:05:01 -08:00
|
|
|
test_at_rule_parse_serialize.html \
|
2008-07-26 09:14:49 -07:00
|
|
|
test_bug73586.html \
|
2008-02-18 22:17:07 -08:00
|
|
|
test_bug74880.html \
|
|
|
|
test_bug98997.html \
|
2008-10-07 15:10:20 -07:00
|
|
|
test_bug160403.html \
|
2011-06-07 12:35:17 -07:00
|
|
|
test_bug200089.html \
|
2007-07-04 11:51:16 -07:00
|
|
|
test_bug221428.html \
|
2008-02-18 22:17:07 -08:00
|
|
|
test_bug229915.html \
|
2007-05-01 12:26:15 -07:00
|
|
|
test_bug302186.html \
|
2007-03-22 10:30:00 -07:00
|
|
|
test_bug319381.html \
|
2007-07-11 15:25:00 -07:00
|
|
|
test_bug357614.html \
|
2008-01-29 13:53:09 -08:00
|
|
|
test_bug363146.html \
|
2007-03-22 10:30:00 -07:00
|
|
|
test_bug365932.html \
|
|
|
|
test_bug372770.html \
|
|
|
|
test_bug373293.html \
|
2007-06-12 11:28:56 -07:00
|
|
|
test_bug377947.html \
|
2007-05-02 23:33:13 -07:00
|
|
|
test_bug379440.html \
|
2007-05-10 22:58:34 -07:00
|
|
|
test_bug379741.html \
|
2007-08-31 10:07:02 -07:00
|
|
|
test_bug382027.html \
|
2007-06-06 10:56:18 -07:00
|
|
|
test_bug383075.html \
|
2007-07-11 15:25:00 -07:00
|
|
|
test_bug387615.html \
|
2007-07-25 16:12:38 -07:00
|
|
|
test_bug389464.html \
|
2007-08-16 16:19:25 -07:00
|
|
|
test_bug391034.html \
|
2007-08-14 11:44:39 -07:00
|
|
|
test_bug391221.html \
|
2007-10-23 14:56:41 -07:00
|
|
|
test_bug397427.html \
|
2009-07-09 19:53:00 -07:00
|
|
|
test_bug399349.html \
|
2012-11-20 16:13:04 -08:00
|
|
|
$(filter disabled-for-intermittent-failures--bug-701060, test_bug401046.html) \
|
2008-01-21 20:26:01 -08:00
|
|
|
test_bug405818.html \
|
2008-01-26 15:54:39 -08:00
|
|
|
test_bug412901.html \
|
2013-01-11 09:27:43 -08:00
|
|
|
test_bug413958.html \
|
2008-06-10 17:27:00 -07:00
|
|
|
test_bug437915.html \
|
2008-11-25 13:27:54 -08:00
|
|
|
test_bug450191.html \
|
2008-09-09 06:43:10 -07:00
|
|
|
test_bug453896_deck.html \
|
2008-12-23 06:06:59 -08:00
|
|
|
test_bug470769.html \
|
2009-08-01 08:53:40 -07:00
|
|
|
test_bug499655.html \
|
|
|
|
test_bug499655.xhtml \
|
2011-12-14 20:42:15 -08:00
|
|
|
test_bug511909.html \
|
2009-11-17 13:11:14 -08:00
|
|
|
test_bug517224.html \
|
|
|
|
test_bug524175.html \
|
2010-05-14 22:01:45 -07:00
|
|
|
test_bug534804.html \
|
2010-06-19 14:11:20 -07:00
|
|
|
test_bug573255.html \
|
2010-07-22 14:33:37 -07:00
|
|
|
test_bug580685.html \
|
2011-02-24 10:42:15 -08:00
|
|
|
test_bug635286.html \
|
2011-05-19 22:56:23 -07:00
|
|
|
test_bug652486.html \
|
2011-05-20 06:55:16 -07:00
|
|
|
test_bug657143.html \
|
2011-07-04 11:13:20 -07:00
|
|
|
test_bug664955.html \
|
2011-06-28 08:19:18 -07:00
|
|
|
test_bug667520.html \
|
2011-08-07 19:23:51 -07:00
|
|
|
test_bug645998.html \
|
|
|
|
file_bug645998-1.css \
|
|
|
|
file_bug645998-2.css \
|
2012-01-11 11:36:43 -08:00
|
|
|
test_bug716226.html \
|
2012-06-21 12:58:19 -07:00
|
|
|
test_bug765590.html \
|
2012-10-01 09:49:41 -07:00
|
|
|
test_bug798567.html \
|
2013-05-15 19:35:15 -07:00
|
|
|
test_bug798843_pref.html \
|
2013-06-26 15:17:14 -07:00
|
|
|
test_bug829816.html \
|
|
|
|
file_bug829816.css \
|
2013-07-25 06:43:29 -07:00
|
|
|
test_bug887741_at-rules_in_declaration_lists.html \
|
2013-07-30 22:19:49 -07:00
|
|
|
test_bug892929.html \
|
2008-07-13 13:57:38 -07:00
|
|
|
test_cascade.html \
|
2011-08-14 10:08:04 -07:00
|
|
|
test_ch_ex_no_infloops.html \
|
2007-07-12 16:50:13 -07:00
|
|
|
test_compute_data_with_start_struct.html \
|
2010-10-06 21:25:47 -07:00
|
|
|
test_computed_style.html \
|
2009-08-10 15:52:29 -07:00
|
|
|
test_computed_style_no_pseudo.html \
|
2013-10-03 03:58:01 -07:00
|
|
|
test_computed_style_prefs.html \
|
2012-11-26 21:30:30 -08:00
|
|
|
test_condition_text.html \
|
2012-11-26 21:30:31 -08:00
|
|
|
test_condition_text_assignment.html \
|
2012-10-17 14:01:56 -07:00
|
|
|
test_default_computed_style.html \
|
2009-12-23 10:01:51 -08:00
|
|
|
test_css_cross_domain.html \
|
2008-07-19 15:52:09 -07:00
|
|
|
test_css_eof_handling.html \
|
2013-07-30 12:38:01 -07:00
|
|
|
test_css_function_mismatched_parenthesis.html \
|
2012-11-24 16:26:07 -08:00
|
|
|
test_css_supports.html \
|
2012-04-23 01:48:33 -07:00
|
|
|
test_default_bidi_css.html \
|
2009-03-09 16:14:34 -07:00
|
|
|
test_descriptor_storage.html \
|
|
|
|
test_descriptor_syntax_errors.html \
|
2007-05-16 18:51:30 -07:00
|
|
|
test_dont_use_document_colors.html \
|
2013-05-21 20:44:52 -07:00
|
|
|
file_flexbox_align_self_auto.html \
|
|
|
|
test_flexbox_align_self_auto.html \
|
|
|
|
file_flexbox_child_display_values.xhtml \
|
|
|
|
test_flexbox_child_display_values.html \
|
|
|
|
file_flexbox_flex_grow_and_shrink.html \
|
|
|
|
test_flexbox_flex_grow_and_shrink.html \
|
|
|
|
file_flexbox_flex_shorthand.html \
|
|
|
|
test_flexbox_flex_shorthand.html \
|
|
|
|
file_flexbox_layout.html \
|
|
|
|
test_flexbox_layout.html \
|
|
|
|
flexbox_layout_testcases.js \
|
|
|
|
file_flexbox_order.html \
|
|
|
|
test_flexbox_order.html \
|
|
|
|
file_flexbox_order_table.html \
|
|
|
|
test_flexbox_order_table.html \
|
2008-08-07 16:15:40 -07:00
|
|
|
test_font_face_parser.html \
|
2013-01-08 00:13:16 -08:00
|
|
|
test_font_family_parsing.html \
|
2013-05-19 19:59:20 -07:00
|
|
|
test_font_feature_values_parsing.html \
|
2009-05-15 16:01:19 -07:00
|
|
|
test_garbage_at_end_of_declarations.html \
|
2013-02-09 22:56:49 -08:00
|
|
|
test_group_insertRule.html \
|
2011-06-29 14:39:21 -07:00
|
|
|
test_html_attribute_computed_values.html \
|
2010-02-04 12:49:29 -08:00
|
|
|
test_ident_escaping.html \
|
2007-04-18 19:49:44 -07:00
|
|
|
test_inherit_computation.html \
|
2008-07-19 15:52:09 -07:00
|
|
|
test_inherit_storage.html \
|
2007-04-18 19:49:44 -07:00
|
|
|
test_initial_computation.html \
|
2008-07-19 15:52:09 -07:00
|
|
|
test_initial_storage.html \
|
2011-06-20 16:47:09 -07:00
|
|
|
test_keyframes_rules.html \
|
2008-07-26 09:14:49 -07:00
|
|
|
test_media_queries.html \
|
2009-01-16 13:32:08 -08:00
|
|
|
test_media_queries_dynamic.html \
|
2008-07-26 09:14:49 -07:00
|
|
|
test_media_queries_dynamic_xbl.html \
|
2011-04-21 20:17:31 -07:00
|
|
|
test_media_query_list.html \
|
2010-09-10 13:27:52 -07:00
|
|
|
test_moz_device_pixel_ratio.html \
|
2008-11-11 19:36:20 -08:00
|
|
|
test_namespace_rule.html \
|
2008-06-02 20:17:35 -07:00
|
|
|
test_of_type_selectors.xhtml \
|
2013-06-10 00:04:27 -07:00
|
|
|
test_parse_eof.html \
|
2010-09-18 11:43:17 -07:00
|
|
|
test_parse_ident.html \
|
2007-08-17 15:05:22 -07:00
|
|
|
test_parse_rule.html \
|
2009-01-16 19:44:20 -08:00
|
|
|
test_parse_url.html \
|
2012-11-16 18:53:38 -08:00
|
|
|
test_parser_diagnostics_unprintables.html \
|
2010-08-13 02:58:02 -07:00
|
|
|
test_pixel_lengths.html \
|
2009-08-26 20:53:35 -07:00
|
|
|
test_pointer-events.html \
|
2013-08-15 17:31:32 -07:00
|
|
|
file_position_sticky.html \
|
|
|
|
test_position_sticky.html \
|
2009-03-04 19:49:30 -08:00
|
|
|
test_priority_preservation.html \
|
2007-04-15 15:29:35 -07:00
|
|
|
test_property_syntax_errors.html \
|
2013-08-12 02:08:00 -07:00
|
|
|
test_redundant_font_download.html \
|
|
|
|
redundant_font_download.sjs \
|
2009-08-01 08:53:40 -07:00
|
|
|
test_rem_unit.html \
|
2012-11-30 20:10:45 -08:00
|
|
|
test_rule_insertion.html \
|
2011-06-12 18:52:32 -07:00
|
|
|
test_rule_serialization.html \
|
2011-05-02 18:43:44 -07:00
|
|
|
test_rules_out_of_sheets.html \
|
2008-03-05 16:06:15 -08:00
|
|
|
test_selectors.html \
|
2008-06-02 20:17:35 -07:00
|
|
|
test_selectors_on_anonymous_content.html \
|
2008-12-23 06:06:57 -08:00
|
|
|
test_shorthand_property_getters.html \
|
2013-05-22 18:08:29 -07:00
|
|
|
test_specified_value_serialization.html \
|
2013-09-17 04:44:15 -07:00
|
|
|
test_style_attribute_quirks.html \
|
|
|
|
test_style_attribute_standards.html \
|
|
|
|
style_attribute_tests.js \
|
2007-04-20 17:17:29 -07:00
|
|
|
test_style_struct_copy_constructors.html \
|
2012-08-01 17:32:12 -07:00
|
|
|
test_supports_rules.html \
|
2009-02-06 08:52:12 -08:00
|
|
|
test_system_font_serialization.html \
|
2011-03-29 20:46:13 -07:00
|
|
|
test_transitions_and_zoom.html \
|
2011-01-14 19:57:53 -08:00
|
|
|
test_transitions_cancel_near_end.html \
|
2009-08-20 14:52:47 -07:00
|
|
|
test_transitions_computed_values.html \
|
|
|
|
test_transitions_computed_value_combinations.html \
|
2009-12-23 11:17:44 -08:00
|
|
|
test_transitions_events.html \
|
2009-10-07 20:22:42 -07:00
|
|
|
test_transitions.html \
|
2009-10-07 20:22:42 -07:00
|
|
|
test_transitions_per_property.html \
|
2011-04-11 23:18:42 -07:00
|
|
|
test_transitions_step_functions.html \
|
2009-12-11 08:13:19 -08:00
|
|
|
test_transitions_dynamic_changes.html \
|
2010-01-12 08:51:37 -08:00
|
|
|
test_transitions_bug537151.html \
|
2010-08-11 12:32:52 -07:00
|
|
|
test_unclosed_parentheses.html \
|
2009-03-09 16:14:34 -07:00
|
|
|
test_units_angle.html \
|
|
|
|
test_units_frequency.html \
|
|
|
|
test_units_length.html \
|
|
|
|
test_units_time.html \
|
2009-10-28 20:22:27 -07:00
|
|
|
test_value_cloning.html \
|
2007-04-18 19:49:44 -07:00
|
|
|
test_value_computation.html \
|
2008-07-19 15:52:09 -07:00
|
|
|
test_value_storage.html \
|
2012-10-26 10:04:20 -07:00
|
|
|
test_viewport_units.html \
|
2010-04-06 12:42:41 -07:00
|
|
|
test_visited_image_loading.html \
|
|
|
|
test_visited_image_loading_empty.html \
|
2010-04-02 18:58:27 -07:00
|
|
|
test_visited_lying.html \
|
2008-10-21 00:15:03 -07:00
|
|
|
test_visited_pref.html \
|
2010-04-02 18:58:27 -07:00
|
|
|
test_visited_reftests.html \
|
2011-04-11 23:18:43 -07:00
|
|
|
animation_utils.js \
|
2007-04-15 15:27:14 -07:00
|
|
|
property_database.js \
|
2009-03-09 16:14:34 -07:00
|
|
|
descriptor_database.js \
|
2007-04-18 19:49:44 -07:00
|
|
|
unstyled.xml \
|
|
|
|
unstyled.css \
|
2007-04-25 16:27:36 -07:00
|
|
|
unstyled-frame.xml \
|
|
|
|
unstyled-frame.css \
|
2009-12-23 10:01:51 -08:00
|
|
|
redirect.sjs \
|
2007-10-23 14:56:41 -07:00
|
|
|
post-redirect-1.css \
|
|
|
|
post-redirect-2.css \
|
|
|
|
post-redirect-3.css \
|
2008-06-02 20:17:35 -07:00
|
|
|
xbl_bindings.xml \
|
2008-07-26 09:14:49 -07:00
|
|
|
empty.html \
|
|
|
|
media_queries_iframe.html \
|
2008-07-26 09:14:49 -07:00
|
|
|
media_queries_dynamic_xbl_binding.xml \
|
|
|
|
media_queries_dynamic_xbl_iframe.html \
|
|
|
|
media_queries_dynamic_xbl_style.css \
|
2008-09-09 06:43:10 -07:00
|
|
|
bug453896_iframe.html \
|
2009-11-17 13:11:14 -08:00
|
|
|
bug517224.sjs \
|
2009-12-10 23:37:41 -08:00
|
|
|
test_bug525952.html \
|
2009-12-23 10:01:51 -08:00
|
|
|
ccd-quirks.html \
|
|
|
|
ccd-standards.html \
|
|
|
|
ccd.sjs \
|
2010-04-02 18:58:25 -07:00
|
|
|
visited-pref-iframe.html \
|
2010-04-02 18:58:27 -07:00
|
|
|
visited-lying-inner.html \
|
2010-04-06 12:42:41 -07:00
|
|
|
visited_image_loading.sjs \
|
|
|
|
visited_image_loading_frame.html \
|
|
|
|
visited_image_loading_frame_empty.html \
|
2011-09-26 14:27:13 -07:00
|
|
|
test_load_events_on_stylesheets.html \
|
2012-08-31 14:21:28 -07:00
|
|
|
test_page_parser.html \
|
2012-07-05 00:45:09 -07:00
|
|
|
test_bug732153.html \
|
2012-08-28 10:10:08 -07:00
|
|
|
test_bug732209.html \
|
|
|
|
bug732209-css.sjs \
|
2012-10-17 14:01:56 -07:00
|
|
|
test_bug795520.html \
|
2012-10-26 10:04:20 -07:00
|
|
|
viewport_units_iframe.html \
|
2013-11-08 07:08:23 -08:00
|
|
|
test_background_blend_mode.html \
|
2007-03-22 10:30:00 -07:00
|
|
|
$(NULL)
|
|
|
|
|
2013-11-04 14:39:28 -08:00
|
|
|
VISITED_REFTEST_FILES = \
|
2010-04-02 18:58:27 -07:00
|
|
|
$(shell find $(topsrcdir)/layout/reftests/css-visited/ -name '*.html' -o -name '*.xhtml') \
|
2010-04-02 18:58:27 -07:00
|
|
|
$(topsrcdir)/layout/reftests/svg/pseudo-classes-02.svg \
|
|
|
|
$(topsrcdir)/layout/reftests/svg/pseudo-classes-02-ref.svg \
|
2011-10-29 02:44:27 -07:00
|
|
|
$(topsrcdir)/layout/reftests/svg/as-image/lime100x100.svg \
|
|
|
|
$(topsrcdir)/layout/reftests/svg/as-image/svg-image-visited-1-helper.svg \
|
|
|
|
$(topsrcdir)/layout/reftests/svg/as-image/svg-image-visited-2-helper.svg \
|
2010-04-02 18:58:27 -07:00
|
|
|
$(NULL)
|
2013-11-04 14:39:28 -08:00
|
|
|
VISITED_REFTEST_DEST = $(DEPTH)/_tests/testing/mochitest/tests/$(relativesrcdir)/css-visited/
|
|
|
|
INSTALL_TARGETS += VISITED_REFTEST
|
2012-07-03 13:49:02 -07:00
|
|
|
|
2013-03-15 21:31:38 -07:00
|
|
|
DEFINES += -DMOZILLA_INTERNAL_API
|
2012-07-03 13:49:02 -07:00
|
|
|
|
2013-11-04 14:39:28 -08:00
|
|
|
ifdef COMPILE_ENVIRONMENT
|
|
|
|
MOCHITEST_FILES += \
|
|
|
|
test_property_database.html \
|
|
|
|
css_properties.js \
|
|
|
|
$(NULL)
|
|
|
|
|
2012-07-03 13:49:02 -07:00
|
|
|
css_properties.js: host_ListCSSProperties$(HOST_BIN_SUFFIX) css_properties_like_longhand.js Makefile
|
|
|
|
$(RM) $@
|
|
|
|
./host_ListCSSProperties$(HOST_BIN_SUFFIX) > $@
|
|
|
|
cat $(srcdir)/css_properties_like_longhand.js >> $@
|
|
|
|
|
|
|
|
GARBAGE += css_properties.js
|
2013-11-04 14:39:28 -08:00
|
|
|
endif
|