Bug 59385 - Do the right thing for intermixed edit and test elements
authorAkira TAGOH <akira@tagoh.org>
Fri, 25 Jan 2013 11:01:24 +0000 (20:01 +0900)
committerAkira TAGOH <akira@tagoh.org>
Thu, 31 Jan 2013 10:55:21 +0000 (19:55 +0900)
commitd26fb23c41abd87422778bb38eea39f25ba3dc4a
tree5af43c964fa83df2391083f401fd94e53ec9afe5
parentfb3b410998aba8835999e2ca7003a180431cfaf4
Bug 59385 - Do the right thing for intermixed edit and test elements

This changes allows to have multiple mathcing rules in one <match> block
in the same order.
After this changes, the following thing will works as two matching rules:

<match>
<!-- rule 1 -->
<test name="family" compare="eq">
<string>foo</string>
</test>
<edit name="foo" mode="append">
<string>foo</string>
</edit>
<!-- rule 2 -->
<test name="foo" compare="eq">
<string>foo</string>
</test>
<edit name="foo" mode="append">
<string>bar</string>
</edit>
</match>
fonts.dtd
src/fcxml.c