00:44:40 nimbupani has joined #css 01:59:12 anne5 has joined #css 02:10:31 dstorey_ has joined #css 02:19:14 anne5 has joined #css 02:26:33 miketaylr has joined #css 02:29:15 dstorey has joined #css 02:34:50 nimbupani has joined #css 03:31:27 dstorey has joined #css 03:49:21 dstorey_ has joined #css 04:01:34 nimbupani has joined #css 05:24:58 dbaron has joined #css 05:33:58 Arron has joined #css 05:44:42 dsinger has joined #css 06:04:45 Arron has joined #css 06:25:11 krijnh has joined #css 06:37:12 dsinger has joined #css 06:38:09 dsinger_ has joined #css 06:49:01 anne5 has joined #css 07:03:01 davve has joined #css 07:06:28 glazou has joined #css 07:06:34 Zakim has joined #CSS 07:06:43 RRSAgent, make logs public 07:10:16 JohnJansen has joined #css 07:12:03 dsinger has joined #css 07:13:23 TabAtkins_ has joined #css 07:13:40 jdaggett has joined #css 07:14:16 Arron has joined #css 07:15:32 tantek: I'd like to talk about CSS3 UI again. 07:15:41 dbaron has joined #css 07:15:46 dbaron: Vendor prefixes and whether we can remove it for calc(). 07:15:57 fantasai: CSS 2.1 margin collapsing. 07:16:05 jdaggett: Test submission 07:16:10 arronei: CSS 2.1 dates 07:16:19 tantek has joined #css 07:18:52 ScribeNick: fantasai 07:20:57 Topic: Tests and PR 07:21:04 CesarAcebal has joined #css 07:21:27 http://blogs.msdn.com/b/ie/archive/2010/08/04/html5-modernized-fourth-ie9-platform-preview-available-for-developers.aspx 07:21:47 jdaggett: This is a blog post by the IE team, by Dean, talking about the platform preview. 07:22:11 jdaggett: There's a section where he's talking about tests, specifically this paragraph "With Platform Preview 4, we're contributing ... standards bodies..." 07:22:20 myakura has joined #css 07:22:25 jdaggett: He's got this list that's implying that IE9 is the most compatible browsers 07:22:41 jdaggett: The number of tests listed -- this is a really bad statement. 07:22:48 jdaggett: They were not submitted tests. 07:22:57 jdaggett: And the tests wouldn't even pass review at Microsoft 07:23:07 jdaggett: It's always good that have tests that pass in other browsers 07:23:19 jdaggett: but I think this just represents a bad faith effort on the part of the marketing dept at MS 07:23:24 jdaggett: This is just irresponsible. 07:23:37 jdaggett: If they want to say "we have this set of tests, and we pass, and they don't" 07:23:49 jdaggett: that's fine, but to imply that they have been blessed by the standards group 07:24:36 dbaron: If you're going to publish them this publicly, you should be more responsible about responding to error reports 07:24:57 glazou: When IE9 published a set of tests, there were 11 Selectors tests and 3-4 were wrong 07:25:10 glazou: And these tests were showing overwhelmingly better support in IE9 07:25:25 glazou: But because of these errors, it was actually the other way around 07:25:37 JohnJansen: There is a level of clarification that would make this better 07:25:48 JohnJansen: First, we're not unresponsive. 07:26:01 dbaron: When the blog post is getting a lot of PR, it's not getting a week later. 07:26:32 JohnJansen: I don't believe Iit's intentionally a bad faith efford. I think it's an error. 07:26:45 jdaggett: I understand that marketing wants to go out and say "we're the best" 07:26:57 jdaggett: Other people in the org should say, that's a fine thing to say, but you shouldn't say it in this way. 07:27:11 jdaggett: This is flagrantly inaccurate 07:27:37 jdaggett: tests were checked in, but no notice that they were submitted 07:27:57 anne: What John is saying that you haven't emailed public-css-testsuite with notice about the tests 07:28:12 anne: You've only checked them in. Nobody knows they're there 07:28:26 jdaggett: I don't want to have a nitpicky about what rule was or was not followed 07:28:45 jdaggett: I'm just saying that this is bad faith effort. Someone is trying to insinuate that these are official standards-body-blessed tests. 07:29:01 jdaggett: If you look at some of these tests, the quality is not there. These should have been reviewed before posting. 07:29:30 Matthias has joined #css 07:29:31 JohnJansen: You're saying that we shouldn't submit tests that wouldn't pass our internal review process. I agree with you. 07:29:56 JohnJansen: But also the prose here is missing the clarification that the tests were not submitted. 07:30:29 dbaron: I don't want to see you block your submissions due to not having completed your internal review 07:30:35 dbaron: But don't publicize those tests. 07:30:51 dsinger: Publishing numbers on the other browsers before they've had a chance to run it is not very good 07:31:20 jdaggett: I think we all can sit down and write tests that will fail in other browsers. It's an exercise we can do. 07:31:27 jdaggett: But it doesn't help us as a group trying to promote CSS 07:31:46 jdaggett: Authors will think, oh, this feature is not stable, I cannot use this feature. 07:32:02 JohnJansen: I don't think these tests are intended to fail in other browsers -- they're just trying to test the features. 07:32:18 dsinger: we really do appreciate these tests 07:32:26 Tantek: I'd like to emphasize dbaron's point. 07:32:32 Tantek: The earlier and more open the review, the better. 07:32:41 Tantek: The key is not to connect that with soe kind of summary result 07:32:45 JohnJansen: Until they're reviewed. 07:33:12 Tantek: Having everyone able to review the tests is great. I'm a fan of the open review. 07:33:37 Tantek: There were two problems: The first one was the lack of notification. The second was publishing results on unreviewed tests. 07:34:33 jdaggett: Another problem is some of the tests will only work on Windows because of specific font dependencies 07:34:47 jdaggett: For a test that's a general browser tests, it has to be a different test. 07:34:54 jdaggett: I don't want to say you need to do specifically X, Y, and Z, but I want you to make a good faith effort. 07:35:30 Topic: Fonts 07:35:53 jdaggett: I wanted to talk about font features, review where we are, what's been fixed up, and then where we're going from here 07:36:16 ChrisL: It might be useful to note that this part of the spec was reviewed at TypeCon last week 07:36:22 jdaggett: Right. 07:36:41 jdaggett: Just to step back and review what we're talking about, we're extending font-variant to support OpenType features. 07:37:06 http://dev.w3.org/csswg/css3-fonts/#font-rend-props 07:37:20 jdaggett: By that I mean many are features that are general to font formats, but we're looking at OpenType features especially 07:37:32 jdaggett: OpenType features affect not font selection, but glyph selection and position 07:37:45 jdaggett: It's sort of about layout, but in the context of text layout within a line 07:37:55 jdaggett: The idea is to extend font-variant 07:38:14 jdaggett: There's a whole list of these features. Some of these are only used by a shaping engine when rendering a particular language, etc. 07:38:26 jdaggett: The question is how dow we reduce the stress of creating new properties 07:38:33 jdaggett: We want to group these into logical sets of properties 07:38:51 ChrisL has joined #css 07:38:55 jdaggett: As I said, it's about OpenType primarily -- we've given a mapping from these features to these OpenType features. 07:39:07 jdaggett: That way implementations know exactly what to do 07:39:23 jdaggett: For other font formats, it's not normatively defined,b ut you can use the OpenType mapping to determine what it would be. 07:39:36 jdaggett: For different scripts, the font will enable different features. 07:39:49 jdaggett: Fonts have default glyphs for each codepoint. 07:40:13 jdaggett: In general, the author can choose a special glyph, otherwise we use the default glyph 07:40:35 jdaggett: There are some features that are font-specific. E.g. you give it a number and it picks that glyph set 07:40:59 jdaggett: People have brought up the issue that they don't want fallback to bring in unintended alternates, so I've tweaked the spec to address that. 07:41:12 jdaggett: Another commment is that OpenType allows both script-specific and language-specific features. 07:41:19 jdaggett: The script is inferred from the codepoints 07:41:26 jdaggett: The language is given by the 'lang' attribute. 07:41:50 jdaggett: first part here is kerning 07:41:56 jdaggett: I originally had this as none or normal 07:42:10 jdaggett: But the WebKit guys didn't want to have kerning on by default, so we added an 'auto' value 07:42:32 jdaggett: Leaving it up to the UA whether to enable kerning or not 07:43:16 jdaggett: The feature allows authors to ensure kerning is on 07:43:43 howcome: Are there any other controls we should add here? 07:44:16 jdaggett: There was some confusion from the type community was they thought 'auto' meant optical kerning. 07:44:26 howcome: We could add an 'optical' keyword later 07:44:34 ChrisL: jdaggett explained what 'auto' means in CSS 07:44:50 jdaggett: font-variant-ligatures 07:45:19 Steve: 'normal' here seems to mean something different 07:45:33 jdaggett: In OpenType there are specific sets of features that are commonly enabled. 07:45:36 jdaggett: others are not 07:45:55 jdaggett: For example, common ligatures are typically enabled, and discretionary ligatures are not 07:45:59 jdaggett: by default 07:46:21 jdaggett: That's the default of the OpenType engine 07:46:31 Steve: So you're using 'normal' for the OpenType default 07:46:53 ChrisL asks about Arabic ligatures 07:48:11 jdaggett: We don't allow access to controlling required ligatures (needed to display the language correctly) through this property 07:48:18 jdaggett mentioned adding text to say that hinting auto does not mean 'autohinting' in the typographic sense. That would be a useful addition 07:49:08 several discuss having a 'none' value 07:49:22 jdaggett thinks it's not necessary, not useful, and potentially confusing since it doesn't address required ligatures 07:49:50 Steve: sounds like the spec should say that this property doesn't influence required ligatures 07:49:54 Steve: It would be useful to note in the definition that required litagatures are not affected by this property 07:50:01 jdaggett: font-variant-alternates 07:50:43 jdaggett: You can set e.g. swash forms through this 07:50:53 jdaggett: And a font can have multiple swash sets, so it takes a number 07:51:35 jdaggett: There are no names for swash sets, you use numbers, e.g. swash(3) 07:52:48 jdaggett: So the numbers here are not selecting specific glyphs, but a set of glyphs identified in the font 07:52:55 jdaggett: A font can have a set of variations 07:53:12 jdaggett: In the case of character variants, you can pick specific variants for a particular glyph 07:53:23 jdaggett: E.g. people researching old Greek coins 07:53:32 jdaggett: can express exactly what was on the coins 07:53:56 http://typography.com/fonts/font_documentation.php?docID=6&productLineID=100026#sets 07:54:07 lstorset has joined #css 07:54:08 jdaggett: This is a font by ? and Frere Jones 07:54:14 alexmog has joined #css 07:54:20 jdaggett: They did the Gotham font Obama used in his campaign 07:54:32 jdaggett: They're a very smart set of people, and they have brilliant documentation 07:54:39 jdaggett: They show the number, and then what it means 07:55:03 jdaggett: You can mix and match these 07:55:32 jdaggett: MS has provided support for style sets in Office 2010, but you can't select multiple sets 07:55:36 jdaggett: (except with Visual Basic) 07:56:17 Steve suggests having an at-rule to assign names to the numbers 07:56:53 jdaggett wants to hold off until later and stabilize the spec 07:57:06 jdaggett: Let's talk about fallback 07:57:36 jdaggett: Anything with a number is labeled as "font-specific" 07:57:46 this feature helps keep the info in the style, rather than being in markup (or worse, images) to get this effect 07:58:23 jdaggett: They do not apply to generic font families or to the UA's ultimate fallback font 08:00:38 dsinger: suggests s/given font-family list/specified font-family list/ 08:01:44 fantasai: I don't think this is really disconnecting the style set numbers from inappropriate fonts 08:02:43 fantasai: ... 08:03:20 ChrisL: If you as a reader want to reset the font-family, you can also reset font-variant. 08:03:46 howcome: I think it should only apply to the first font in the font-family list 08:03:52 jdaggett doesn't agree 08:04:09 someone brings up selecting multipe fonts from different families to support multipe scripts 08:04:51 steve: Why didn't you allow assigning a family name along with the number? 08:05:07 jdaggett: what if you want the number to apply to all the fonts in your list? 08:05:22 dsinger and stevez suggest that it would be better to connect to the family name 08:05:52 because there are cases where the style set numbers don't match across fonts that you selected, and you know it already 08:06:15 well, it might be, especially if I am aware that two different platforms are likely to end up using two different fonts, and the variants I need in those fonts are differently numbered 08:06:27 steve: I accept that it's useful to have some kind of convenient way to trigger stylistic variations, and requiring the use of a separate font for each one is a burden 08:06:38 steve: but the third point is that I'm not convinced this gives enough power to make it worthwhile 08:07:06 steve: The issues about how fallback is handled become sufficiently complext that I'd almost rather you not do anything and have us come up with a better solution later 08:07:30 steve: his solution doesn't give me enough power to et consistent results 08:07:37 steve: Because there are enough .... 08:08:21 szilles has joined #css 08:08:36 dsinger_ has joined #css 08:08:43 dsinger: How conssitently is the same feature labeled across fonts? 08:08:45 CesarAcebal has joined #css 08:08:47 tantek has joined #css 08:08:49 jdaggett has joined #css 08:08:52 glazou has joined #css 08:09:03 TabAtkins_ has joined #css 08:09:22 apparently, the answer is not very 08:09:23 dbaron: The point is that typically, the vast majjority of fonts don't have these features 08:09:28 Doofl has joined #css 08:09:31 dbaron: the point is that 99% of the fonts don't have these features, so the most common case will be a single downloadable font at the start of the font list being the only one that has these features 08:09:36 fantasai: ... 08:09:54 steve: The case that I'm concerned about is that Apple will ship a font with stylistic variants on their platform 08:10:17 steve: And Microsoft will do the same. They won't be the same font. They won't have the same stylistic numbers. ANd I will need to put both fonts in my list to get the local one that ships 08:10:23 JohnJansen_ has joined #css 08:10:26 Steve: I see that as being almost 100% certain 08:10:39 dbaron: In that case you can use @font-face with src: local 08:11:02 dbaron: You can have an @font-face with ArialFunnyK and HelveticalFunnyK and use those 08:11:34 JohnJansen has joined #css 08:11:59 steve: You're assuming in this design that there aren't going to be fonts with different stylistic variants in the same font-family list 08:12:20 steve: And I think you're completely wrong, that it's almost 100% certain that we'll get that case 08:13:30 Tantek: I have a dumb question. Was it considered to use strings instead of numbers in the fonts? 08:13:54 jdaggett: The font format has a way of assigning names to these. Most fonts don't use them. 08:14:19 jdaggett: Secondly, those names are localized. So what are you matching against? 08:15:37 Tantek: I'm concerned about the readability and maintainability of style sheets with these arbitrary numbers 08:15:50 ChrisL: have an @-rule that defines names for the swash numbers for a given family 08:16:00 ChrisL proposes syntax to map a keyword name to a number and a font 08:16:19 ChrisL: So you can define "swishes" for font X to be 3, and "swishes" for font Y to be 1 08:16:37 dsinger: How would I naively expect to be able to do this? 08:17:38 dsinger describes use that matches @font-face 08:18:06 Tantek: Have you talked with the TypeKit folks? 08:19:01 Steve: Adobe's customers want to use the Web. 08:19:07 licensing discussion 08:22:14 ChrisL has joined #css 08:23:11 fantasai: I still have strong concerns about the way numbers aren't tied to a specific font. 08:23:29 fantasai: I understand that you want a quick way for authors to enable features 08:24:30 fantasai: I'd be satisfied if the numbers were only assigned to the first font in the list, to limit damge from font fallback 08:24:33 fantasai: ... 08:24:57 dsinger: I can't imagine someone caring enough about fonts to select these specific features that wouldn't want to use an @font-face rule to get it exactly right. 08:25:14 I tend to agree with dsinger. 08:25:19 steve: I agree with dsinger 08:25:30 @font-face is the right place for this level of detail for fonts. 08:26:27 jdaggett: you keep talking about finding a more ideal way of doing this, ... 08:26:43 steve: we've already had two suggestions, Arron's to pair the number with a font-family name 08:26:58 steve: And Chris's to map numbers to names in a 3-way table 08:27:11 steve: These are both better ways of handling it than what you've got 08:27:30 jdaggett: font-variant-small-caps? 08:27:52 jdaggett: Simulation only for small-caps 08:28:13 jdaggett: Some people asked about all-small-caps and all-petite-caps and why not use small-caps + text-transform 08:28:44 jdaggett: The reason is that there are other glyphs that might be altered when the font designer knows they will be all small-caps, e.g. adjusting punctuation and currency signs 08:29:53 Lachy has joined #css 08:30:08 Lachy has joined #css 08:31:04 fantasai: There was a suggestion that petite-caps should fall back to small-caps. 08:31:23 anne5 has joined #css 08:32:12 jdaggett: use a font that has petite-caps 08:33:16 fantasai: What if I don't care too much about what font is being used so I don't bother to give you a downloadable font 08:33:39 fantasai: But I prefer petite-caps to small-caps, but small-caps is closer to what I want than lowercase letters. 08:34:04 Tantek: How do I ask for petite-caps without naming a font? 08:34:27 Tantek: The Web is becoming more and more diverse wrt devices. You have less control about what font is being used 08:35:31 jdaggett doesn't think this is a real problem because platform fonts dont' have petite-caps 08:38:23 platform fonts are becoming more and more sophisticated over time 08:39:08 steve asks for fallback on style selection, e.g. font-variant-caps: petite-caps, small-caps 08:39:31 Tantek: Someone comes out with this ebook reader with a handful of super-amazing fonts 08:39:49 Tantek: as an author, I don't know the font names, because it hasn't been released yet 08:40:15 Tantek: but I want to use the features in these fonts. 08:42:26 ... 08:44:38 http://typekit.com/fonts/p22-underground-petite-caps 08:44:55 Bert: say I want my heading names in petite caps. If you fall back to regular lowercase, then there is nothing to distinguish my headings from paragraph text. 08:45:16 Bert: I would rather fall back to small-caps, so the distinction is still there. 08:45:23 fantasai: small-caps is more similar to the intended effect 08:45:37 Steve: there are two ways to do fallbacks: one is hardwired, e.g. small-caps gets synthesized 08:46:11 Steve: the other is to have the author specify a fallback 08:46:14 ... 08:46:42 fantasai: nobody is arguing for synthesized petite-caps. We're suggesting it falls back to small-caps 08:49:05 ACTION: jdaggett Add this as an issue to the spec. 08:49:06 Created ACTION-262 - Add this as an issue to the spec. [on John Daggett - due 2010-09-01]. 08:50:32 jdaggett: vertical-position .. not settled on the name -- superscripts/subscripts 08:50:43 lstorset has joined #css 08:50:47 jdaggett: We'd talked about the interaction between vertical-align and this feature. 08:50:58 jdaggett: I haven't put Steve's proposal is in the spec yet 08:51:44 jdaggett: Type community also has trouble with the way this is handled in fonts, because if the glyphs are not available it's not clear what to do 08:53:00 jdaggett: If you specify font-variant in an @font-face rule, that establishes the default. 08:54:04 fantasai: What happens if I assign the variantified font to a paragraph, and then assign font-variant: initial to it? 08:54:17 jdaggett: That resets the font to the OpenType defaults 08:54:28 fantasai: How do you distinguish that case from not setting font-variant on the paragraph? 08:54:35 jdaggett: Ah. Let's mark that as an issue. 08:55:51 jdaggett: Low-level feature settings 08:56:02 jdaggett: Right now the spec is defined as taking a string, which is a set of name-value pairs 08:56:09 jdaggett: This gives you very low-level control. 08:56:32 jdaggett: It gives people using unsual features the ability to trigger them. 08:57:08 jdaggett: Users can do stupid things with this, but it's an escape mechanism so that you can access all the features of the font system. 08:57:39 jdaggett gives an example of the syntax 08:57:52 jdaggett: I posted a new proposal that removes the stringiness of the proposal 08:58:08 jdaggett: My proposal is to simply give a list of idents, ident() 08:58:28 jdaggett: where itent without the parens essentially implies ident(1) 08:58:55 jdaggett: A problem with that is that opentype feature names can e.g. start with a number 08:59:00 jdaggett: but in practice nobody do this 08:59:11 Bert: You can escape the number, then it's ok 08:59:29 jdaggett: One problem with this is that it's very OpenType specific 08:59:55 jdaggett: This syntax works well for OpenType 09:00:00 jdaggett: maybe not for other font systems 09:01:15 jdaggett: e.g. AAT uses long arbitrary strings 09:01:44 jdaggett: Graphite uses numeric identifiers 09:02:34 Steve: An implementor could map OpenType features to features in other fonts 09:03:36 jdaggett: Jonathan Kew mentioned that this new syntax makes it very opentype-specific 09:04:56 howcome has joined #css 09:05:36 Bert: A note about syntax, if you have a functional notation name it could conflict with CSS functional notation names like attr() or rgba() 09:06:15 ChrisL: You could do ot-FUNC() 09:06:26 ChrisL: That deals with the OpenType-specificness by making it explicit 09:06:29 (ot-hwid(1), or ot(hwid, 1)?) 09:06:43 former, I think :) 09:07:47 dbaron asks about error handling 09:08:27 dbaron: If I have a functional notation with two arguments, does that cause the entire declaration to be dropped, or do I just ignore that one thing 09:09:02 e.g. font-feature-settings: ot-hwid(1) gr-width(halfwidth, 1); 09:09:58 jdaggett prefers dropping the entire declaration 09:11:20 jdaggett reviews the "Rendering considerations" section, which defines which feature settings override which other ones 09:12:40 jdaggett shows an example of @font-face 09:12:51 that sets oldstyle-nums proportional-nums and a styleset 09:13:05 which is used for the body 09:13:12 but in tables, uses tabular-nums 09:14:25 jdaggett shows an example where font-feature-settings is used to obliquify only the latin text, not the cjk characters 09:14:58 jdaggett shows an example of font-feature-settings overriding font-variant-ligatures 09:15:19 jdaggett: this is an example of something being used in an un-CSS-like way 09:16:07 even though the font-variant-ligatures rule is more specific 09:18:54 jdaggett: OpenType allows you to have language-specific features 09:19:20 jdaggett: Some common ones are within Cyrillic, Bulgarian, Macedonian, and ? have their own glyphs for certain codepoints 09:19:48 jdaggett: OpenType allows you to use the same font across languages, and just tweak the font glyph selection to pick the right font for that language. 09:20:06 jdaggett: In general, you want to render in the content language 09:20:30 jdaggett: But in some cases, you want an override. This property is here to allow that. 09:21:57 jdaggett shows an example where the content language is automatically used to select the appropriate font features (this is the default behavior) 09:23:08 dsinger: This is OpenType specific codes 09:23:29 ChrisL has joined #css 09:23:44 ChrisL: SVG does the same thing 09:23:51 dsinger: But these aren't the ISO codes 09:24:05 http://www.loc.gov/standards/iso639-2/php/code_list.php is the ISO codes 09:25:11 jdaggett: You could define a mapping from ISO lang codes to OpenType codes 09:25:31 jdaggett: But there are some cases where there isn't a mapping, e.g. having modern and classical typographic styles for a particular language 09:25:53 s/the ISO/the ISO 3166/ 09:26:26 arronei has joined #CSS 09:27:07 dsinger: What if you want to use an SVG font? That would want an ISO code, right 09:27:09 'There are 21 languages that have alternative codes for bibliographic or terminology purposes. In those cases, each is listed separately and they are designated as "B" (bibliographic) or "T" (terminology). ' 09:27:18 fantasai: I understand why using OpenType lang codes makes sense here 09:27:41 fantasai: But maybe have two ways of indicating the language -- 09:28:14 fantasai: use an identifier or a string, where the identifier is assumed to be an ISO lang code that you have to map 09:28:17 (Make it ugly? ot-SRB, ot("SRB")) 09:28:20 fantasai: to the OpenType code 09:28:41 fantasai: (which you have to be able to do anyway, for the lang attribute) 09:29:03 fantasai: and if it's a string, take it as an OpenType code 09:30:39 howcome: Why do we set the language here in CSS? 09:30:51 jdaggett: It's an override. You should be using the content language in most cases (set by the lang attribute) 09:31:40 jdaggett: But in some cases you do need an override, because you want to render something that is in one language (and correctly tagged as so) using the typographic conventions of another language 09:32:18 fantasai: I think 'font-language-override' should give explanations of what it should be used for and also what it should not be used for 09:32:33 fantasai: so I think you should add more of what you've been explaining to us into the spec 09:32:44 RESOLVED: Publish css3-fonts WD 09:33:24
09:38:47 dsinger_ has joined #css 09:38:55 CesarAcebal_ has joined #css 09:39:22 mollydotcom has joined #css 09:43:10 looks like css3-images is missing http://wiki.csswg.org/planning/charter-2010 09:43:19 or is it out-of-scope? 09:48:04 mollydotcom has left #css 09:51:56 dsinger_ has joined #css 09:52:08 CesarAcebal has joined #css 10:05:15 dsinger_ has joined #css 10:05:27 CesarAcebal has joined #css 10:14:00 dbaron has joined #css 10:26:25 tantek has joined #css 10:30:37 Arron has joined #css 10:30:47 glazou has joined #css 10:31:05 jdaggett has joined #css 10:31:17 dbaron has joined #css 10:34:10 szilles has joined #css 10:34:30
10:34:41 TabAtkins_ has joined #css 10:35:10 ScribeNick: TabAtkins_ 10:36:04 myakura, that page right now is only copied straight from 2008 10:36:10 myakura, it needs muhc updating 10:36:22 myakura, we're discussing css3-text-layout now 10:36:33 http://dev.w3.org/csswg/css3-text-layout/ 10:36:55 jdaggett: There was significant hubbub a few months ago about proposals for adding logical properties. 10:38:14 fantasai: We decided in a previous meeting that top/bottom/etc should be absolute. 10:38:31 fantasai: So as soon as you write a page with lr switching or vertical text, everything breaks. 10:38:44 jdaggett: So that's a compat problem with older user agent that don't suport vertical writing. 10:39:12 fantasai: Another problem is that some documents that, for example, epub wants to publish, they want to allow the user to swap between vert and horiz text. 10:39:55 dsinger_ has joined #css 10:40:00 JohnJansen has joined #css 10:40:07 CesarAcebal has joined #css 10:40:11 jdaggett has joined #css 10:40:13 glazou has joined #css 10:40:18 TabAtkins__ has joined #css 10:40:44 fantasai: Which, without logical properties, you have to write two separate stylesheets. Or rather, about 1.5, to deal with all the properties that are physical based. 10:40:46 tantek has joined #css 10:41:02 [gap in minutes due to my internet dropping for a sec] 10:41:19 fantasai: So it makes translating to those languages particular difficult, because it's not just about tranlating, you have to deal with the template and stylesheet. 10:41:44 fantasai: Also, UA stylesheet needs a margin for lists to account for bullets - ltr lists need it on the left side, rtl lists need it on the right side. 10:41:55 jdaggett: So there are defaults on particular elements that are writing-mode dependent. 10:42:04 fantasai: Right, and similar for a vertical-text list. 10:42:18 fantasai: Your page shouln't break because you used the default layout for a vertical page. 10:42:36 fantasai: So there are many cases where if you had logical properties you could get pretty far. 10:43:00 fantasai: There are some things you'd want to tweak still, but most things would translate over fine and prevent the page from just utterly breaking when you go horiz to vert. 10:43:37 jdaggett: I think that when you have images as part of your layout, those images aren't flipped, so your layout is going to have to change; it'll be affected in a non-directional way. 10:43:48 jdaggett: Images aren't rotated, other content is, and that might not work. 10:43:56 fantasai: Right. This won't solve all problems. 10:44:28 howcome: We stand in a situation of independent properties to hundreds, plus a bunch of property values. 10:44:30 I'll note that images in the content (as opposed to in the styling) won't be rotated 10:45:10 jdaggett: And what about like, B&B having to go back and change? 10:45:29 fantasai: What exists won't change; we'd add new properties. 10:45:40 ChrisL has joined #css 10:45:46 or values 10:46:02 howcome: You'd have to cascade and inherit every new property. 10:46:27 alexmog: You don't need to. At cascade time you know the writing-mode, so you can just send down the correct value. 10:46:47 fantasai: We don't have time to go into deep details about all this right now. 10:47:04 jdaggett: I'll assert that I think this whole thing is a rathole, and not really solving a larger set of problems with vertical text. 10:47:35 fantasai: I don't dispute that. I explained the proposal, as requested. We can talk about why the proposal exists, but we don't have time for precise details right now. 10:47:49 fantasai: What the WG needs to discuss is if this is a direction we do or don't have to do. 10:48:22 szilles: I like that direction. Murakami-san listed 6 proposals for handling vertical text. I'd like to see which of those we want to pursue and see the details of, and which we can eliminate right now. 10:48:39 szilles: The second nice thing that could and did come out would be to collect the requirements we're trying to satisfy. 10:48:58 Ms2ger has joined #css 10:49:13 jdaggett: To me it seems like, if you're talking about epub, this proposal has a particular set of good and bad. But in HTML it's got a *different* set of good and bad. 10:49:34 jdaggett: Like what about form controls? Does it make sense to have vertical form controls? 10:49:48 fantasai: That's a different issue; it's unrelated to our proposals. 10:50:27 szilles: That's something that anyone who does vertical text has to deal with, but it's not affected by how you specify. 10:50:59 jdaggett: If form controls change, then it's a lot easier to talk about this. But if some change and some don't, it's a lot more difficult. For example, do pulldown menus rotate? 10:51:15 jdaggett: This is going to have a big impact, and I think we need to avoid jumping directly into this. 10:51:37 fantasai: Whether form elements rotate isn't something we're going to decide here. It's a UI designer issue. 10:51:59 fantasai: We're going to do vertical text; that's not a question. I don't understand how whether form controls rotate or not are a useful solution. 10:52:17 szilles: So it's a requirement for proposals to work with. 10:52:44 anne5: Sizing and dimensions of form controls is a real interop problem. Someone has to answer this. 10:54:43 tantek has joined #css 10:55:44 http://nadita.com/murakami/epub-css/ 10:55:56 howcome has joined #css 10:55:58 http://nadita.com/murakami/epub-css/ 10:55:58 http://nadita.com/murakami/epub-css/ 10:56:03 myakura, hey, don't make my life more complicated ;p 10:56:57 [looking at the page] 10:57:15 fantasai: Look at the Requirements section. It givs you a rought idea of what you're needing. 10:59:21 szilles: Let's take one of the other examples; a stylesheet choice whether the page is vert or horiz. 10:59:37 Bert: Right, so how do we ignore what it not meant for horizontal. 10:59:59 fantasai: I want to get everyone on the same page for what the problem we're trying to solve here. 11:00:16 Hear, hear 11:00:23 szilles: Ebooks will be posted to the web. 11:00:43 szilles: So there is a real legacy problem. 11:01:07 szilles: the legacy problem isn't legacy content, it's legacy UAs 11:01:56 annevk5: You can have a media query for a vertical-capable UA. 11:02:35 szilles: That isn't an overall solution - pages are often mixed vert and horiz. 11:02:46 [hakon is pionting to the examples now] 11:02:51 ScribeNick: fantasai 11:02:55 howcome: the first example is two completely separate stylesheets. 11:03:02 howcome: the UA has to magically select the right one 11:03:07 howcome: Perhaps a rel attribute to help select it automatically. 11:03:20 Alex: this wouldn't work in IE6, which supports vertical but not alternate style sheets 11:03:31 Steve: that wouldnt' handle mixed vertical-horizonal text 11:03:55 howcome: You would have a horizontal-only stylesheet, and then one that has complex 11:04:00 hwocome: let's go through quickly to get an overview 11:04:13 howcome scrolls to pseudo class selectors 11:04:14 howcome: Second proposal is to use pseudoclasses. 11:04:26 ScribeNick: TabAtkins__ 11:04:34 howcome: So if you have :ltr here it means that horiz is supported and @dir=ltr. 11:04:54 howcome: Same with :rtl. :ttb means vert is supported and writing-mode:tb-rl 11:05:11 szilles: And if it changes you're back to the same problem. 11:05:25 howcome: If it changes you reflow. 11:05:25 (why is the initial value is tb-rl?) 11:05:30 s/is// 11:06:28 fantasai: The confusing thing is that :rtl :ltr are selecting against individual elements. :ttb is selecting a document property instead. 11:06:39 s/document/user agent/ 11:07:20 fantasai: There are better ways to do this. 11:07:50 TabAtkins__: :ltr and :rtl behave a certain way 11:07:56 TabAtkins__: :ttb is a completely different thing. 11:08:12 TabAtkins__: :ltr and :rtl is determined by which direction the element is in 11:08:19 TabAtkins__: :ttb is asking whether the UA is in vertical mode 11:08:33 [four conversations at once] 11:08:51 (why can't :ttb be based on the computed value of 'writing-mode' for the given element?) 11:09:04 anne5: :ttb { writing-mode: horizontal; } 11:09:15 we already have that problem elsewhere 11:09:16 anne5: It's a fundamental principle that we do not make selectors depend on the value of CSS properties 11:09:19 howcome: Next example! This is a media-query variant that queries @media (vertical-text) {} 11:09:20 I don't think it's a problem 11:09:25 anne5: we're not going there 11:09:27 e.g. :hover { display:none } 11:09:30 jdaggett: So this is asking for capability or setting? 11:09:30 we already did 11:09:36 szilles: Capability. 11:09:53 dbaron: You could have media queries for capability and mode separately. 11:10:14 howcome: where mode is whether the user has put it into vertical mode 11:10:32 howcome: You could also have both media queries for device capability of doing vertical writing, and whether the user has asked for vertical or horiz writing. 11:11:25 jdaggett: [shows off an ereader app] 11:11:41 [with a vertical - horizontal mode switch button] 11:11:49 jdaggett: [shows it offering a vert/horiz choice in the basic menubar] 11:11:56 jdaggett: It's this functionality the epub guys are talking about. 11:12:14 jdaggett: This seems like a red herring. There's some text you'll look at one way, and some text you'll look at another way. 11:12:54 anne5: It seems weird to explicitly address this use-case. It feels like it should be alternate stylesheets. There could be tons of devices with weird buttons that switch things. 11:13:03 The query for capability could be @supports ( writing-mode: tb-rl ) 11:13:21 arronei: Those devices could be designed to toggle between very specific types of stylesheets. Maybe a rel value or similar. 11:13:37 szilles: Getting back to elika's point, I'd like to use most of my stylesheet in either mode. 11:14:06 arronei: That's how alternate stylesheets work. You can set a persistent stylesheet and then choose the particular alternates. 11:14:27 there's a whole lot of style sheet types: http://dev.w3.org/csswg/cssom/#style-sheet-collections 11:14:32 jdaggett: Also, that's a rare use-case. The common case is that people are designing a page for one direction only. 11:14:36 people who wrote HTML4 made this complicated 11:14:44 szilles: You're assuming that one person is doing all this. 11:14:45 (and also Hixie) 11:17:50 TabAtkins__: If you're now saying that pages aren't generally designing for both directions, but you just showed off a device that makes switching between directions easily, it feels contradictory. 11:18:38 jdaggett: Those are basically for compatibility. Some pages are meant to be read horizontally or are easier to read like that, others are easier to read vertically. The buttons aren't really meant for user preference, just selecting the particular mode that a certain page is designed towards. 11:19:18 dbaron: I don't think we should screw up vertical text on the web by fixing it towards epub immediately. And I don't think we *can* do it right without implementation experience. 11:19:56 dbaron: It's about finding the biggest use-cases first and then figuring out the rest based on what people say they want. 11:20:28 jdaggett: [shows off a japanese website] 11:20:47 jdaggett: They're using in various places a mixture of vert and horiz text. 11:21:38 jdaggett: More than "how is someone doing fallback", they'll probably design their site so that in older UAs they'll do a flash version, and everywhere else they'll do it in CSS. 11:21:56 howcome: It'll probably be useful there to have a query to ask if there is vertical support. 11:22:04 http://www.ukai.co.jp/toriyama/flash/index.html 11:22:44 anne5: I don't think we necessarily have to do that. They'll find some way to do it. We give them vertical text and they'll play with it. 11:23:02 howcome: It's such a cheap and easy switch though. 11:23:16 anne5: But still, every feature has a cost. 11:23:25 jdaggett: [shows off another japanese website] 11:23:36 fantasai: In a case like this your design would be completely different. 11:23:50 arronei: Which goes back to alternate stylesheets. 11:24:46 szilles: So it seems like what we're discussing betweeen is alternate stylesheets vs alternate stylesheets + maybe some support for automatically handling both. 11:25:00 szilles: ON another dimension, there's the question of how to select thee alternate stylesheet. 11:25:16 (I think I'm very close to Anne's view, but I have the impression that vertical-capability is close to the edge: is it as important as width in MQ, or is it not?) 11:25:19 howcome: One downside of the alternate stylesheet is you can't do it in the