- From: Bert Bos <bert@w3.org>
- Date: Wed, 31 Mar 2010 11:11:58 -0700
- To: W3C style mailing list <www-style@w3.org>
A mixture of editorial and other comments on http://dev.w3.org/csswg/css3-fonts/ [I know it is not very useful to comment in e-mail on editors' drafts, if only because in a few days or weeks the above URL doesn't contain anymore what my comments refer to, but we didn't have time to discuss the comments in the WG meeting and maybe this way they still serve some purpose...] Non-editorial: a) Section 3.7 says that 'font-stretch' is reset by the 'font' shorthand, but cannot be set. But it seems straightforward and unambiguous to allow it in the shorthand. b) In answer to the open issue in section 4.3: no, there is no need for a registry until new formats are defined at a rate of one every month or so... So far, WOFF is the first new format in nine years. We can easily keep up with that through the normal CSS standardization process. c) Section 4.3 says the <font-face-name> can optionally be enclosed in quotes. Should there be a note that certain characters must be escaped otherwise? Should, e.g., commas be escaped to preserve some extensibility? Should the syntax be the same as for 'font-family' (defined in CSS 2.1)? d) In section 4.3, example IX, is the 'local(Gentium)' meant to be a font face name? It looks like a family name. e) Section 4.4 says that UAs may modify the font is the 'font-weight' descriptor is 'bold' and the data in the font itself says its not bold. But shouldn't the font be used unchanged? Apparently the author intended for this font to be used as the bold font, even though the font designer didn't think it could be. f) Section 4.5 says UAs may normalize the Unicode range to a range for the "equivalent" set of code points. What is "equivalent"? Should it be "same"? g) Section 6.1: Is this property needed? The UA can turn kerning off if it (or the user) wants, but there doesn't seem any need for the author to turn it of. h) Section 6.4: Titling caps may look wrong in a caps-and-lowercase word, maybe there should be a note that this feature is typically used together with 'text-transform: uppercase'. i) Section 6.5: Wouldn't spelling out the names to 'lining-numerals', 'oldstyle-numerals', etc. make them easier to remember? j) Section 6.5, under "diagonal-fractions": the illustration makes it look as if the the three characters "1/3" turn into a ligature, but that is not the case. The feature chooses between two styles for the predefined fractions in Unicode: ¼ ½ ¾ ⅓ ⅔ ⅕ ⅖, etc. k) Appendix A doesn't seem to belong in this spec. The "same-origin" restriction is also incompatible with W3C's Recommended Web architecture (see, e.g., section 2.5 in "Architecture of the World Wide Web, Volume One" at http://www.w3.org/TR/2004/REC-webarch-20041215/#uri-opacity) Editorial: 1) In section 2: s/characters for they/characters for which they/ 2) Mark-up error in section 3.1: the last sentence before and the first sentence after example I are actually part of the example. 3) In that latter sentence: s/neither Helvetica or Verdana/neither Helvetica nor Verdana/ 4) In that same sentence: s/user agent defined/user-agent-defined/ 5) Under "<generic-family>": s/should not/must not/ 6) In section 3.5: s/fine tune/fine-tune/ 7) Example V in section 3.7: s/so this property receives its initial value// 8) Section 4.3: s/matching the Dutch/e.g., matching the Dutch/ 9) Section 5, bullet 4: s/Otherwise// (or: s/Otherwise/Also/) 10) Section 6: s/latter/later/ (or: s/latter/last/) 11) All property definitions: remove the 'inherit' keyword, it's implicit. (Could instead have an introductory section about how to read the spec, which refers to section 1.4.1 in CSS 2.1: http://www.w3.org/TR/CSS21/about.html#property-defs) 12) Section 6.4, under "small-caps": s/glyphs are typically use/glyphs typically use/ 13) Section 6.8: s/it's value/its value/ 14) Section 6.9: s/that the when/that when/ 15) Section 7: s/value of 'font-variant property/value of the 'font-variant property/ 16) Appendix B: s/intends support/intends to support/ 17) Appendix C: s/it's/it is/ Bert -- Bert Bos ( W 3 C ) http://www.w3.org/ http://www.w3.org/people/bos W3C/ERCIM bert@w3.org 2004 Rt des Lucioles / BP 93 +33 (0)4 92 38 76 92 06902 Sophia Antipolis Cedex, France
Received on Wednesday, 31 March 2010 18:12:35 UTC