- From: Karl Dubost <karl@w3.org>
- Date: Thu, 7 Sep 2006 13:34:45 +0900
- To: Boris Zbarsky <bzbarsky@mit.edu>
- Cc: pgrosso@ptc.com, www-style@w3.org
It is always better to devise on a test case.
Le 7 sept. 06 à 13:00, Boris Zbarsky a écrit :
> That's not true, due to point (b) in Paul's mail.
>
>> See rationale and example in
>> http://lists.w3.org/Archives/Public/www-style/2006Sep/0033
>
> That example makes the incorrect assumption that CSS and XML
> prefixes need to be identical. They do not; only the namespaces
> need to match.
Example with this new assertion:
<html xmlns="http://www.w3.org/2002/06/xhtml2/"
xmlns:dc="http://dublincore.org/documents/dcmi-namespace/"
xmlns:DC="http://foo.example.org/"
xml:lang="en">
<head>
<title>Some Document</title>
<style type="text/css">
@namespace dc "http://dublincore.org/documents/dcmi-namespace/";
@namespace foo "http://foo.example.org/";
foo|title {text-align: left;}
dc|title {text-align: center;}
</style>
</head>
<body>
<dc:title><cite href="urn:isbn:0060006994">Fix-it Duck</cite></
dc:title>
<DC:title>Doctor</DC:title>
</body>
</html>
Will it effectively style the two elements?
- "Fix-it Duck" centered
- "Doctor" left justified
If yes, then the issue will be moved from conflicts to clarity in the
specification with more prose and give an example.
Thanks for the clarification Boris.
--
Karl Dubost - http://www.w3.org/People/karl/
W3C Conformance Manager, QA Activity Lead
QA Weblog - http://www.w3.org/QA/
*** Be Strict To Be Cool ***
Received on Thursday, 7 September 2006 04:35:22 UTC