2007-03-22 10:30:00 -07:00
|
|
|
#
|
|
|
|
# ***** BEGIN LICENSE BLOCK *****
|
|
|
|
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
|
|
|
#
|
|
|
|
# The contents of this file are subject to the Mozilla Public License Version
|
|
|
|
# 1.1 (the "License"); you may not use this file except in compliance with
|
|
|
|
# the License. You may obtain a copy of the License at
|
|
|
|
# http://www.mozilla.org/MPL/
|
|
|
|
#
|
|
|
|
# Software distributed under the License is distributed on an "AS IS" basis,
|
|
|
|
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
|
|
|
# for the specific language governing rights and limitations under the
|
|
|
|
# License.
|
|
|
|
#
|
|
|
|
# The Original Code is mozilla.org code.
|
|
|
|
#
|
|
|
|
# The Initial Developer of the Original Code is
|
|
|
|
# Mozilla Foundation.
|
|
|
|
# Portions created by the Initial Developer are Copyright (C) 2007
|
|
|
|
# the Initial Developer. All Rights Reserved.
|
|
|
|
#
|
|
|
|
# Contributor(s):
|
|
|
|
#
|
|
|
|
# Alternatively, the contents of this file may be used under the terms of
|
|
|
|
# either of the GNU General Public License Version 2 or later (the "GPL"),
|
|
|
|
# or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
|
|
|
# in which case the provisions of the GPL or the LGPL are applicable instead
|
|
|
|
# of those above. If you wish to allow use of your version of this file only
|
|
|
|
# under the terms of either the GPL or the LGPL, and not to allow others to
|
|
|
|
# use your version of this file under the terms of the MPL, indicate your
|
|
|
|
# decision by deleting the provisions above and replace them with the notice
|
|
|
|
# and other provisions required by the GPL or the LGPL. If you do not delete
|
|
|
|
# the provisions above, a recipient may use your version of this file under
|
|
|
|
# the terms of any one of the MPL, the GPL or the LGPL.
|
|
|
|
#
|
|
|
|
# ***** END LICENSE BLOCK *****
|
|
|
|
|
|
|
|
DEPTH = ../../..
|
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
relativesrcdir = layout/style/test
|
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
2007-03-25 22:54:44 -07:00
|
|
|
|
|
|
|
MODULE = layout
|
|
|
|
|
2007-04-09 15:42:43 -07:00
|
|
|
# XXX Yuck. We can't transfer everything from autoconf to HOST_CFLAGS,
|
|
|
|
# but it would be nice to pick up anything affecting nsCSSPropList.h
|
|
|
|
# automatically.
|
|
|
|
ifdef MOZ_SVG
|
|
|
|
HOST_CFLAGS += -DMOZ_SVG=1
|
|
|
|
HOST_CXXFLAGS += -DMOZ_SVG=1
|
|
|
|
endif
|
|
|
|
|
2007-03-26 11:17:02 -07:00
|
|
|
HOST_CPPSRCS = \
|
2007-03-25 22:54:44 -07:00
|
|
|
ListCSSProperties.cpp \
|
|
|
|
$(NULL)
|
|
|
|
|
2007-03-26 11:17:02 -07:00
|
|
|
HOST_SIMPLE_PROGRAMS = $(addprefix host_, $(HOST_CPPSRCS:.cpp=$(HOST_BIN_SUFFIX)))
|
2007-03-25 22:54:44 -07:00
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
|
2007-03-26 11:17:02 -07:00
|
|
|
css_properties.js: host_ListCSSProperties$(HOST_BIN_SUFFIX) css_properties_like_longhand.js Makefile
|
2007-03-25 22:54:44 -07:00
|
|
|
$(RM) $@
|
2007-03-26 11:17:02 -07:00
|
|
|
./host_ListCSSProperties$(HOST_BIN_SUFFIX) > $@
|
2007-03-25 22:54:44 -07:00
|
|
|
cat $(srcdir)/css_properties_like_longhand.js >> $@
|
|
|
|
|
2008-02-09 02:37:42 -08:00
|
|
|
GARBAGE += css_properties.js
|
|
|
|
|
2008-07-26 09:14:49 -07:00
|
|
|
_TEST_FILES = test_acid3_test46.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 \
|
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 \
|
2008-02-09 11:15:09 -08:00
|
|
|
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 \
|
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 \
|
2009-11-17 13:11:14 -08:00
|
|
|
test_bug517224.html \
|
|
|
|
test_bug524175.html \
|
2008-07-13 13:57:38 -07:00
|
|
|
test_cascade.html \
|
2007-07-12 16:50:13 -07:00
|
|
|
test_compute_data_with_start_struct.html \
|
2009-08-10 15:52:29 -07:00
|
|
|
test_computed_style_no_pseudo.html \
|
2008-07-19 15:52:09 -07:00
|
|
|
test_css_eof_handling.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 \
|
2008-08-07 16:15:40 -07:00
|
|
|
test_font_face_parser.html \
|
2009-05-15 16:01:19 -07:00
|
|
|
test_garbage_at_end_of_declarations.html \
|
2008-12-07 13:58:07 -08:00
|
|
|
test_hover.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 \
|
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 \
|
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 \
|
2007-08-17 15:05:22 -07:00
|
|
|
test_parse_rule.html \
|
2009-01-16 19:44:20 -08:00
|
|
|
test_parse_url.html \
|
2009-08-26 20:53:35 -07:00
|
|
|
test_pointer-events.html \
|
2007-04-15 15:27:14 -07:00
|
|
|
test_property_database.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 \
|
2009-08-01 08:53:40 -07:00
|
|
|
test_rem_unit.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 \
|
2007-04-20 17:17:29 -07:00
|
|
|
test_style_struct_copy_constructors.html \
|
2009-02-06 08:52:12 -08:00
|
|
|
test_system_font_serialization.html \
|
2009-08-20 14:52:47 -07:00
|
|
|
test_transitions_computed_values.html \
|
|
|
|
test_transitions_computed_value_combinations.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 \
|
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 \
|
2008-10-21 00:15:03 -07:00
|
|
|
test_visited_pref.html \
|
2007-03-25 22:54:44 -07:00
|
|
|
css_properties.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 \
|
2007-10-23 14:56:41 -07:00
|
|
|
redirect-1.css \
|
|
|
|
post-redirect-1.css \
|
|
|
|
redirect-1.css^headers^ \
|
|
|
|
redirect-2.css \
|
|
|
|
post-redirect-2.css \
|
|
|
|
redirect-2.css^headers^ \
|
|
|
|
redirect-3.css \
|
|
|
|
redirect-3.css^headers^ \
|
|
|
|
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 14:36:07 -08:00
|
|
|
test_bug525952.html \
|
2007-03-22 10:30:00 -07:00
|
|
|
$(NULL)
|
|
|
|
|
2008-09-09 06:43:10 -07:00
|
|
|
_BROWSER_FILES = \
|
|
|
|
browser_bug453896.js \
|
|
|
|
bug453896_iframe.html \
|
|
|
|
media_queries_iframe.html \
|
|
|
|
$(NULL)
|
2007-03-25 22:54:44 -07:00
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
libs:: $(_TEST_FILES)
|
2007-08-05 20:22:32 -07:00
|
|
|
$(INSTALL) $(foreach f,$^,"$f") $(DEPTH)/_tests/testing/mochitest/tests/$(relativesrcdir)
|
2008-09-09 06:43:10 -07:00
|
|
|
|
|
|
|
libs:: $(_BROWSER_FILES)
|
|
|
|
$(INSTALL) $(foreach f,$^,"$f") $(DEPTH)/_tests/testing/mochitest/browser/$(relativesrcdir)
|