W3C home > Mailing lists > Public > public-multilingualweb-lt@w3.org > January 2013

RE: ACTION-334 - check use of "quote" and "val"

From: Mārcis Pinnis <marcis.pinnis@Tilde.lv>
Date: Fri, 11 Jan 2013 10:35:13 +0200
To: "public-multilingualweb-lt@w3.org" <public-multilingualweb-lt@w3.org>, "Felix Sasaki (fsasaki@w3.org)" <fsasaki@w3.org>
CC: Pēteris Ņikiforovs <peteris.nikiforovs@Tilde.lv>, Andis Lagzdiņš <andis.lagzdins@Tilde.lv>
Message-ID: <AC6FD4BB9BB02540AC7322091A6C3B5472B0D6B2B7@postal.Tilde.lv>
Hi Felix and others,

Just a small clarification (yes/no) question regarding rule precedence.

Just to get some context:

ITS 2.0 in http://www.w3.org/TR/its20/#html5-global-rules specifies:

Link to external global rules is specified in href attribute of link element, with the link relation its-rules.

and also:

Inline global rules MUST<http://www.w3.org/TR/its20/#rfc2119> be specified inside script which has type attribute with the value application/its+xml. The script element itself SHOULD<http://www.w3.org/TR/its20/#rfc2119> be child of head element. Comments MUST NOT<http://www.w3.org/TR/its20/#rfc2119> be used inside global rules. Each script element MUST NOT<http://www.w3.org/TR/its20/#rfc2119> contain more than one rules element.

that is, we may have two types of rules – inline within script elements and external .

So ... now the question:

If we have several inline and external rules, for instance:

<link ...

<script ...


<link ...

Do we ignore that the script rules are inline (that is, there is no prioritization between inline and external rules other than the order in which they are defined within the HTML head tag) and do the last <link /> rules override any previous ones in the case of rule overlapping (seems obvious, however, I could not find a precise clarification of this in the current ITS 2.0 version)?

Yes – the last one overrides all previous.

no – it does override the first external rules, but does not override the script rules.

Best regards,

Mārcis ;o)

Received on Friday, 11 January 2013 08:35:44 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:32:00 UTC