- From: Gunnar Bittersmann <gunnar@bittersmann.de>
- Date: Wed, 18 Feb 2015 10:18:33 +0100
- To: Richard Ishida <ishida@w3.org>
- CC: www-i18n-comments@w3.org
> Source file attached. Hi Richard! Whenever I look into code there is danger. ;-) While dealing with the mark-up again, I have noticed a few things. Most important first: » $status = 'review'; « Status should be published (or notreviewed?) now: $status = 'published'; » takes NMTOKEN values in the HTML schema « No HTML here, but: takes NMTOKEN values in the XML schema The rest is not of high priority, but once we are at it: » <div class="example"> <code translate="no"><p>Here is a list of part numbers: « Tha natural text in this sample code might (should?) be translated. Remove translate attribute: <div class="example"> <code><p>Here is a list of part numbers: » for the language attribute<code translate="no"></code> if « Wrong placed code tags. Remove: for the language attribute if » should use <span class="kw">und</span> if there « Better: should use <code translate="no">xml:lang="<span class="kw">und</span>"</code> if there » as a value of <code>xml:lang</code>. « Use kw as elsewhere: as a value of <span class="kw">xml:lang</span>. » you can't use the empty string in XHTML. « More accurate: you can't use the empty string in XHTML 1.x. » declare xml:lang as CDATA « Wrap in span and use kw as elsewhere: declare <span class="kw">xml:lang</span> as CDATA » <ul id="full-links2"> « The list items herein are not styled the same as in <ul id="full-links"> (as should be). Ways out: Add a class <ul id="full-links" class="full-links">, <ul id="full-links2" class="full-links"> etc. and use it for styling. But the rulesets with the ID selectors cannot be removed from the stylesheet because other articles would still need them. Or add #full-links2 to the selectors in the stylesheet. (Not recommended, it does not scale. What about potentional <ul id="full-links3">?) Or use attribute selector [id^="full-links"] instead of ID selector in the stylesheet. This would work best, I think. We do not care about ancient IEs here, do we? Cheers, Gunnar --- Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft. http://www.avast.com
Received on Wednesday, 18 February 2015 09:19:05 UTC