IRC log of css on 2011-06-02

Timestamps are in UTC.

00:20:15 [RRSAgent]
RRSAgent has joined #css
00:20:15 [RRSAgent]
logging to http://www.w3.org/2011/06/02-css-irc
00:20:25 [Zakim]
Zakim has joined #css
00:20:34 [vhardy]
vhardy has joined #css
00:20:43 [dbaron]
ScribeNick: dbaron
00:20:54 [kojiishi]
kojiishi has joined #css
00:20:55 [dbaron]
Meeting: CSS Working Group Face-to-Face Meeting, Kyoto, Japan
00:25:34 [dbaron]
Present: Daniel Davis (Opera), John Daggett (Mozilla), Sylvain Galineau (Microsoft), David Baron (Mozilla), Koji Ishii, Florian Rivoal (Opera), Steve Zilles (Adobe), Vincent Hardy (Adobe), Bert Bos (W3C), Taro Yamamoto (Adobe), Nat McCully (Adobe), Shane Stevens (Google), Luke McPherson (Google), Ted O'Connor (Apple), Peter Linss (HP), Elika Etemad (Invited Expert), Shinyu Murakami (Antenna House), Shunchi Seko (NTT), Kazutaka Yamamoto (NTT)
00:25:48 [plinss]
http://wiki.csswg.org/planning/japan-2011
00:26:34 [dbaron]
Topic: Agenda
00:26:44 [dbaron]
Steve: Want Writing Modes, Text, and Line Grid for today
00:26:52 [shans]
shans has joined #css
00:26:52 [dbaron]
Nat: Here today, and tomorrow until noon.
00:27:08 [dbaron]
Florian: Would like CSS Device Adaptation for tomorrow afternoon so Europe can call in
00:27:16 [dbaron]
Ted: Simon wants to call in for animations and transitions, so morning better for that
00:27:25 [macpherson]
macpherson has joined #css
00:27:57 [dbaron]
Present: Daniel Davis (Opera), John Daggett (Mozilla), Sylvain Galineau (Microsoft), David Baron (Mozilla), Koji Ishii, Florian Rivoal (Opera), Steve Zilles (Adobe), Alex Mogilevsky (Microsoft), Vincent Hardy (Adobe), Bert Bos (W3C), Taro Yamamoto (Adobe), Nat McCully (Adobe), Shane Stevens (Google), Luke McPherson (Google), Tab Atkins (Google), Ted O'Connor (Apple), Peter Linss (HP), Elika Etemad (Invited Expert), Shinyu Murakami (Antenna House), Shunchi Seko
00:27:57 [dbaron]
(NTT), Kazutaka Yamamoto (NTT)
00:27:59 [dbaron]
various: charter
00:28:06 [nmccully]
nmccully has joined #css
00:28:07 [dbaron]
jdaggett: Would like to do css3-fonts on Saturday morning.
00:28:14 [florian]
florian has joined #css
00:28:18 [dbaron]
jdaggett: Would also like to discuss feature support (dbaron's post to list)
00:28:46 [dbaron]
jdaggett: ... relates to one of font subjects and to vertical text.
00:28:50 [macpherson]
s/McPherson/Macpherson
00:28:55 [dbaron]
Sylvain: Talk about dropping prefixes?
00:29:18 [dbaron]
Sylvain: If you have to submit test cases before dropping prefixes, and you have vendor prefixes in your test cases...
00:29:41 [dbaron]
Steve: Taro can't be here after Friday for fonts.
00:29:53 [dbaron]
jdaggett: I wanted to talk about sub/superscript and same origin; probably less interesting for Taro.
00:30:07 [dbaron]
jdaggett: If we wanted to talk about IVS, we could do that tomorrow.
00:30:28 [dbaron]
jdaggett: Elika put in an item about unifying variant glyphs; we can talk about it in the context of that.
00:30:45 [dbaron]
Peter: Talk about feedback from forums earlier in the meeting? (This morning?)
00:31:18 [TabAtkins]
TabAtkins has joined #css
00:31:31 [szilles]
szilles has joined #css
00:31:33 [alexmog]
alexmog has joined #css
00:31:44 [dbaron]
Steve: Regions and Exclusions not Saturday afternoon (I have to leave)
00:36:41 [dbaron]
Peter: I'll get the schedule on the wiki.
00:36:45 [dbaron]
Topic: Feedback on the forum
00:37:47 [dbaron]
Steve: Things that struck me most from the forum: there's a requirement for simple formatting in vertical mode, and there's also a requirement for quality formatting in vertical mode. To me that suggests an 80/20 solution where the default does 80% of the cases but we need a mechanism to specify the other 20% of the cases that require more careful control of the formatting.
00:38:25 [ourmaninjapan]
ourmaninjapan has joined #css
00:38:26 [dbaron]
Steve: Another observation: there was a big discussion of signage and large things, and it seemed to me that was really related to the issue of the size on the canvas vs. the size the thing was actually displayed at.
00:38:39 [dbaron]
Steve: This goes back to the discussion of how pixels relate to concrete units.
00:39:09 [dbaron]
Steve: I don't think the people doing the signs were aware they don't have to make the fonts that size; they can make the fonts the size of a sheet of paper and the medium they project onto is that size. So that's probably a red herring.
00:39:23 [dbaron]
Alex: Nothing wrong with specifying font size in inches/centimeters.
00:39:39 [dbaron]
Nat: Some authoring software has limits on font size, or may not be able to handle a canvas that big.
00:39:42 [dbaron]
?: Not a standards issue.
00:40:25 [dbaron]
Nat: If we're interested, maybe Koji-san could get more feedback on details of what the problems were with signage.
00:40:59 [dbaron]
Koji: Two or three publishers repeatedly said that they tried to use ruby but that ruby implementations changed line spacing so they gave up.
00:41:17 [dbaron]
Ted: That seems like low-hanging fruit.
00:41:31 [dbaron]
Nat: A number of issues about line-height calculation we can discuss (and then segue into grid).
00:42:10 [dbaron]
Koji: Other big discussion was private characters (Gaiji). Related to IVS discussion; use cases for private characters were shown.
00:42:26 [dbaron]
Koji: Important for people's names and place names.
00:42:51 [dbaron]
Koji: The space of ideographs is open-ended.
00:43:25 [dbaron]
Taro: Archaeologists may need to publish paper about ancient Chinese history that needs old Chinese characters that are not widely used in everyday Japanese.
00:44:12 [dbaron]
Ted: Seems like two cases: (1) you're the archaeologist who's discovered this character, but (2) probably more common use case is things like personal names... political party (4 glyphs).
00:44:38 [dbaron]
jdaggett: You can do kumimoji (4 glyphs) today as discretionary ligature, which is a much better solution than trying to define variants or new codepoints, since it's a stylization.
00:45:14 [dbaron]
Koji: Kumimoji can be discretionary ligatures, but still needs creation of fonts.
00:45:48 [dbaron]
jdaggett: Styling text in an old-style way (which he suggested was a use case for private characters) is a bad use case for codepoints.
00:45:58 [dbaron]
jdaggett: ... could be standardized as an OpenType feature.
00:46:27 [dbaron]
jdaggett: There are a lot of correlary cases in Western text, and there are OpenType features to support that kind of thing.
00:46:49 [dbaron]
jdaggett: We need to avoid letting stylization creep in to codepoints.
00:47:02 [dbaron]
Nat: Can you get to arbitrary OpenType features from CSS?
00:47:15 [dbaron]
jdaggett: With css3-fonts (and in Firefox 4), yes.
00:47:33 [dbaron]
(description of how it works)
00:48:17 [dbaron]
Taro: I think main usage of Gaiji (extraneous characters): variants of unencoded (?) characters, or special symbol on keyboard in computer manual.
00:48:36 [dbaron]
Taro: I wonder if there's an easy method for user to access a glyph in a font if such a character is unencoded.
00:48:45 [dbaron]
jdaggett: CSS only goes down to the codepoint level; beyond that it's up to the font.
00:48:54 [dbaron]
jdaggett: No way to directly get a CID.
00:49:12 [dbaron]
Nat: That's a problem for Japanese fonts -- the assumption that everything is encoded is not true.
00:49:24 [dbaron]
jdaggett: What are those glyphs for?
00:49:36 [dbaron]
Nat: Kanji that are not encoded in Unicode and not variants of a base character.
00:49:46 [dbaron]
jdaggett: Sounds like a case for PUA.
00:50:16 [dbaron]
Nat: PUA is a bad thing; in PDF we use the CID and the font. That's not the best way to do it in the general way.
00:50:21 [dbaron]
jdaggett: What's the fallback?
00:50:41 [dbaron]
Nat: At the point that you're dealing with a glyph that isn't encoded, you've really lost a lot of information. You're just talking about a glyph, it doesn't have meaning and isn't searchable.
00:51:34 [dbaron]
Nat: When you insert those glyphs with the glyph panel in InDesign -- we insert either U+FFFD or ... -- one of them we assume is a Japanese character by its mojikumi class and one we assume is a Roman character by its mojikumi class.
00:51:49 [dbaron]
Nat: I realize adding markup saying font=... cid=... is not a good thing to do.
00:51:58 [dbaron]
Nat: But there is a definite need in Japanese fonts to access unencoded glyphs.
00:52:29 [dbaron]
Florian: ...
00:52:59 [fantasai]
dbaron: It feels like we're trying to add something to CSS to work around Unicode's failure to add something to Unicode
00:53:19 [fantasai]
dbaron: I think if there's a real need for this, people should go to Unicode and get the characters they need added to Unicode added to Unicode
00:53:58 [dbaron]
Nat: ...
00:54:18 [dbaron]
fantasai: What about ideographic description (codepoints in Unicode that allow description of a character as composition of others).
00:54:38 [dbaron]
fantasai: For most characters that should get you something that's unique and that the font could make a ligature out of.
00:55:20 [dbaron]
fantasai: Doesn't deal with ..., but as an escape hatch seems much better than using the replacement character.
00:55:50 [dbaron]
Taro: Variants ... included in Adobe-Japan1 6 (?) ... possible to make a mapping table that says that ??? maps to this combination of IVS.
00:56:30 [dbaron]
Taro: IDS (?) cannot uniquely reproduce intended glyph shape.
00:57:03 [dbaron]
Taro: Without Adobe-Japan1 6 and ...
00:57:26 [dbaron]
fantasai: I'm not saying we should use IDS to compose glyphs; I'm saying you can use IDS to describe the glyphs you're trying to access.
00:57:38 [dbaron]
Nat: A little better than just a replacement character, but still can't go from that to a glyph.
00:58:25 [dbaron]
fantasai: Each unencoded character likely to have unique IDS.
00:58:52 [dbaron]
Nat: A lot of unencoded characters are very minor variants; many not encoded at all prior to Adobe-Japan1 4.
00:59:20 [dbaron]
jdaggett: We're talking about CIDs here. I don't think most people in room aware of what CID is. Not a generalized solution.
01:00:37 [dbaron]
Nat: A CID is a glyph ID that is unique to a certain font technology called a CID-keyed font. There's a mapping of character to glyph ID. Because the CID numbering is standardized across fonts Adobe-Japan1.6, 1.5, 1.4 examples of collection... so you can get character that's semantically the same even across fonts.
01:00:51 [dbaron]
Nat: For TrueType fonts you just have glyph IDs which are in any order.
01:01:14 [dbaron]
Florian: The problem on the encoding point is that Unicode doesn't encode fast enough -- can't we just have the same problem with CIDs?
01:01:20 [dbaron]
Nat: Adobe controls CIDs...
01:01:41 [dbaron]
jdaggett: If you're using InDesign, you know the content and the font. You can't guarantee that on the Web across devices. There's no possible fallback mechanism here.
01:01:57 [szilles]
szilles has joined #css
01:02:11 [dbaron]
jdaggett: The term Gaiji is problematic -- you're not sure what people are talking about it when they use it.
01:03:05 [dbaron]
Nat: My first thought is that we need a way to access a glyph within a font that's not dependent on Unicode. The only way I can think to do that is saying that all bets are off, and you're depending on the font... specify exact font/version/even checksum. Even though it's heavy-handed, it seems necessary.
01:03:18 [dbaron]
Nat: We should consider this and acknowledge that there's this need.
01:03:27 [dbaron]
jdaggett: You're going to a very low level.
01:03:41 [dbaron]
jdaggett: Everything we've done in CSS is predicated on dealing with a Unicode stream.
01:04:21 [dbaron]
Steve: This isn't an East Asian font problem -- my computer has a key with a flag on it that I suspect is not encoded in Unicode.
01:04:24 [dbaron]
various: might be
01:04:48 [dbaron]
jdaggett: Unicode folks have encoded emoticons, which are graphics. Apple has magical tables in fonts with 10.7.
01:05:53 [dbaron]
jdaggett: Problem is that the basic model of CSS text (and the same is true for SVG fonts) is that text you're not specifying paint -- you're specifying a mask that's used to paint, and that outline is filled with the 'color'. Not clear what happens how emoticons mix with the 'color' property. Other things like this come into play, but I'm not sure how to address at CSS level... at least until Apple has standardized these tables.
01:05:59 [dbaron]
Nat: Something to be added to WOFF?
01:06:17 [dbaron]
jdaggett: I think we can't define anything until somebody else has said what the basis is.
01:06:51 [dbaron]
jdaggett: I'm uncomfortable pushing CSS into areas... we shouldn't be defining font formats. WOFF is not really a font format; it's a font packaging format with OpenType.
01:07:17 [dbaron]
Nat: My understanding is... whether or not it should go into CSS should be based on whether the need is big enough for a convenient way to mark up the content?
01:07:37 [dbaron]
jdaggett: I'd look at it more as whether there's a stable technology in common use that we can expose to authors.
01:08:44 [dbaron]
jdaggett: I'm wary of inventing feature proposals. We can sort of push back on the OpenType guys... for example, I've been saying the OpenType spec needs to be more flushed out about features not having set of defaults, which features are mutually exclusive, which win over which others. We're gauging based on common practice for the spec.
01:09:01 [dbaron]
Nat: Counter to my proposal would be to say that you do have to have every glyph encoded.
01:09:45 [dbaron]
jdaggett: I wouldn't necessarily say that. We've had proposals to support horizontal scaling. I think it's a good proposal, but I think we need to take things in steps, and I think that should go in a future version of the spec rather than what we're writing right now. I see the problem and that it would be good to have a solution, but I don't see a clear path.
01:10:04 [dbaron]
Nat: Maybe we could come up with a markup solution that's better than glyph IDs.
01:10:14 [dbaron]
jdaggett: I think markup would be best for this. (?)
01:10:26 [dbaron]
Florian: I'm not sure markup in the best place to do ...
01:10:40 [dbaron]
jdaggett: You're not styling content; you're specifying the content -- should be in markup.
01:11:46 [dbaron]
(missed a little)
01:12:00 [dbaron]
Steve: To represent something that isn't encoded, shouldn't use an encoding.
01:12:07 [dbaron]
Nat: To some people this will be content, and to some it will be style.
01:12:28 [dbaron]
Peter: There are other gray areas between content and presentation.
01:12:35 [dbaron]
Peter: e.g., the 'content' property
01:13:03 [Bert]
-> http://www.unicode.org/versions/Unicode6.0.0/ch12.pdf Section 12.2 of Unicode describing I(deographic) D(escription) S(equences), a way to describe how an ideographs looks in 12 steps, in particular for ideographs that aren't in Unicode
01:13:07 [Bert]
-> http://www.w3.org/TR/2003/REC-SVG11-20030114/text.html#AlternateGlyphs SVG's altGlyph element [that should maybe be in HTML as well?]
01:13:13 [dbaron]
Peter: actionable next steps?
01:13:33 [florian]
I meant: markup is good to specify that you want a particular unencoded character. You still need some way to specify what that character is supposed to look like, and that's probably not in markup.
01:13:46 [dbaron]
jdaggett: Nat, if you want to come up with a proposal, I can work with you on figuring out the right set of things.
01:14:37 [dbaron]
Florian: I used to work on a non-HTML system... markup with image. CSS lets you say "use an image" or "use a video", but you can't say "use this glyph".
01:14:59 [boblet]
boblet has joined #css
01:15:18 [dbaron]
Peter: ...
01:15:24 [dbaron]
jdaggett: Not sure content property is right
01:15:28 [dbaron]
Steve: altGlyph was doing that in SVG.
01:15:57 [dbaron]
jdaggett: It feels weird that authors would be authoring documents where they were putting in spans that they then go and specify the meaning of that span in CSS.
01:16:17 [dbaron]
Ted: really want the markup to carry the meaning fully, and be able to select for that meaning in the CSS.
01:16:31 [dbaron]
jdaggett: Then you can write rules in the CSS to say how the fallback works.
01:16:50 [dbaron]
Nat: Fallback can either be (a) give me what's semantically equivalent or (b) no, I really need this glyph shape.
01:17:02 [dbaron]
jdaggett: I think we don't want to map ... into a fallback process.
01:17:43 [dbaron]
Nat: Thinking of ... gives real Gaiji and on phone gives semantically equivalent base character.
01:17:59 [dbaron]
jdaggett: Did we complete everything you wanted to say about Gaiji?
01:18:02 [dbaron]
Koji: yes
01:18:09 [dbaron]
Peter: Other topics we want to dive into?
01:18:26 [dbaron]
Ted: Some things I thought was more an evangelism issue than feature needed in CSS.
01:18:37 [dbaron]
Ted: e.g., mixed writing modes
01:18:50 [dbaron]
jdaggett: Well, this is a feature still in development.
01:19:04 [dbaron]
Peter: Could be they tried and found they can't rely on it.
01:19:31 [dbaron]
Koji: Another issue: CSS can't center within the block progression direction.
01:19:35 [dbaron]
fantasai: Tab is working on it.
01:19:45 [dbaron]
fantasai: ... in flexbox.
01:20:11 [dbaron]
fantasai: Would turn box into a BFC root and the contents would be centered.
01:20:18 [dbaron]
Nat: distribute lines evenly?
01:20:36 [dbaron]
fantasai: Don't have that yet, could work on.
01:20:50 [dbaron]
fantasai: But we do need to finish things and then work on the next thing.
01:21:32 [dbaron]
jdaggett: I was surprised at a number of ... repeated instances of misinformation. e.g., this notion that I've seen both in tweets from Tokyo meeting and yesterday during presentation, that SVG fonts are necessary for Gaiji. I don't understand where these memes start, and I think it's unfortunate.
01:21:57 [dbaron]
Florian: Easy bad way to do Gaiji is image, or vector graphic...
01:22:30 [dbaron]
jdaggett: ... imagining features. No inherent advantage of SVG font over OpenType font, other than maybe being able to edit live.
01:22:41 [dbaron]
Peter, Florian: People have tools to make SVG fonts.
01:22:51 [dbaron]
jdaggett: That's a tools problem... and there are tools (fontforge) that can convert.
01:23:06 [dbaron]
Florian: Why get it in to a font if you've drawn it in SVG?
01:23:33 [dbaron]
jdaggett: It's a simplified view of how fonts work. SVG fonts draw as a graphic rather than as text; SVG fonts draw as a graphic, not as text. Don't have any subpixel AA, etc.
01:23:52 [dbaron]
Florian: I don't think it's the right solution; there's no current right solution.
01:24:21 [dbaron]
jdaggett: I think people with certain workflows are making exaggerated statements... is a valid workflow but shouldn't be a required workflow.
01:24:38 [dbaron]
Steve: Seems like the same problem that occurs everywhere on the Web -- if people find a way to do something, they'll use it.
01:25:09 [dbaron]
Peter: It's been a characteristic of the Web (and a feature) since the beginning.
01:26:59 [dbaron]
Taro: Question about SVG Fonts: I hear from SVG advocates in Japan that SVG fonts that it's possible to use ligature mechanism to access a glyph in an SVG font. So in typical Western case ("fi"), you specify component characters f and i and it results in the ligature for fi. They want to use that mechanism to access Gaiji characters by specifying component characters that have nothing to with the Gaiji character.
01:27:23 [dbaron]
Taro: But this destroys the character model and is incompatible with standard glyph substitution. I wish W3C would guide them away from that.
01:27:34 [dbaron]
Florian: But it shows that people want a way to say "give me that glyph in that font".
01:28:17 [dbaron]
jdaggett: But it sort of ignores the complexity. If you're displaying in Turkish you have to be very careful. OpenType handles this. While you could add this to SVG, it's duplicating features and work in OpenType.
01:28:27 [dbaron]
Koji: I think ??? was saying ???.
01:28:56 [fantasai]
was saying to fall back to a description of the character (if it cannot be displayed)
01:29:25 [fantasai]
fantasai thought that's what ideographic description sequences were for.
01:29:27 [dbaron]
Taro: I don't think Kobayashi's intention was wrong. We don't have a method to directly specify glyph in font, which is needed in font.
01:29:38 [dbaron]
s/needed in font/needed by publishers/
01:30:23 [dbaron]
Taro: I'm not familiar with SVG ligature mechanism and CSS font ligature mechanism.... that kind of usage is wrong. But understanding necessity of directly accessing glyph.
01:31:12 [SteveZ2]
SteveZ2 has joined #css
01:31:36 [dbaron]
Koji shows example with character that can't be displayed and fallback to a textual description of the character
01:31:45 [dbaron]
Steve: That's what markup jdaggett was suggesting would do.
01:32:09 [dbaron]
fantasai: Isn't that what Ideographic Description Sequences are supposed to do? Why reinvent that?
01:32:26 [dbaron]
Florian: Could add markup to fallback to description of character.
01:32:36 [dbaron]
jdaggett: I don't know if IDS works... not supported in any browser.
01:33:08 [dbaron]
fantasai: Information is there in IDS -- says "these two characters combine side by side", etc., which could be used to speak it out.
01:34:07 [dbaron]
Florian: You want fallback that goes from these sequences to a Japanese description? Unicode IDS is intended for machine consumption; this fallback is intended for human consumption.
01:34:57 [dbaron]
Nat: I don't think it's necessarily easy to translate from machine description to human description. This textual description says to take mori (three trees, 森) and replace tree with water. Which tree?
01:35:26 [dbaron]
Nat: I'm still unclear how far IDC gets you -- I'd need to see it in practice to see if it's good enough.
01:36:21 [dbaron]
fantasai: The sequence can let you look up a CID, not let you try to synthesize the glyph.
01:37:05 [dbaron]
(fantasai draws on whiteboard)
01:37:18 [kojiishi]
http://www.shuiren.org/chuden/toyoshi/syoseki/chise_ids.html
01:37:52 [dbaron]
Nat: Still doesn't say you want tiny tree on top rather than fat tree on top.
01:38:00 [dbaron]
Florian: But that can be glyph variants.
01:38:49 [dbaron]
Taro: I think IDS may be useful for rapid comparison of IDS sequence to see if there are any matching characters... maybe find more than one character or maybe just one.
01:39:07 [dbaron]
Taro: Granularity of glyph selection is very fine, finer than expected for IDS.
01:40:12 [dbaron]
Taro: ...., and when it fails parenthesized text could be presented to user.
01:40:42 [dbaron]
Florian: Problem with using Unicode feature -- almost specifies the glyph but not quite, and likewise for markup seems almost good enough but not quite.
01:41:55 [dbaron]
Steve: What I think I've heard so far is that markup for things that aren't encoded is the preferred solution, and attaching to that markup ways of accessing stuff in a font or an image to provide display seems to be the preferred solution. In principle you could attach one of these sequences as well, because once you have the markup you can attach almost anything to it. So that seemed to be a generic solution.
01:42:02 [dbaron]
Steve: I'd suggest we end this topic with that.
01:42:08 [dbaron]
Peter: 10-15 minute break.
01:43:39 [arronei]
arronei has joined #CSS
02:03:11 [jdaggett]
http://people.mozilla.org/~jdaggett/tests/cleartype-waterfall.html
02:03:25 [dbaron]
Peter: Any other feedback from forums?
02:03:50 [dbaron]
Bert: You mentioned aligning the glyphs on a line to a grid. We used to have a proposal for that in a module; don't have it anymore.
02:04:00 [dbaron]
Bert: still needed?
02:04:04 [dbaron]
Peter: next topic on the agenda
02:04:07 [dbaron]
Topic: Line Grid
02:05:13 [dbaron]
Nat: Feedback I heard in Tokyo and Kyoto had to do with the current unpredictability of the traditional Japanese typographi is embox based. Typography on the Web is not embox based. That difference perturbs a lot of people. People assume, when designing a Web page, that they can place text using embox placement, because that's how they design in other contexts.
02:06:07 [dbaron]
Nat: Because of standards limitations, text is placed in a Western font metrics based way, based on Roman baseline. Attempts in newer standards to accomodate different baselines still doesn't get you all the way there. It allows you to align text with each other, and within the line, but the placement of text within the line -- my current understanding is that it's not possible to do embox based placement.
02:06:20 [dbaron]
Nat: More related to the ??? parts of what you're drawing than the conventios of Japanese text measurement.
02:06:42 [dbaron]
jdaggett: You said yesterday that when you talk about embox placement, you are primraily talking about the stacking of lines, and not so much about the intercharacter spacing.
02:06:51 [dbaron]
Nat: Either the baseline shift or the stacking of lines.
02:07:04 [dbaron]
jdaggett: So not about a horizontal grid; it's about having a constant multiple of lines.
02:07:06 [dbaron]
Nat: yes.
02:07:35 [dbaron]
Nat: I think we should go through in detail the line grid proposal. When I read through it I had several questions about what happens when the text doesn't match the grid, and what the automatic behaviors are supposed to be.
02:07:44 [dbaron]
Nat: It didnot seem to me that the automatic behaviors will get users what they need.
02:07:56 [dbaron]
Nat: I also think the line grid proposals may be trying to do many things at once that could be broken into separate buckets.
02:08:17 [dbaron]
Nat: The main need doesn't require grid. You don't have to have a grid if you guarantee that the text line is going to be an embox tall and the glyphs within that line will be centered within that height.
02:08:28 [dbaron]
Nat: You can hav uneven leading and different point sizes and still have embox based typography.
02:09:02 [dbaron]
Nat: If you add a grid on top of that, you get several things: frame size will be multiple of embox size. You get gyodori (centering of title on multiple of embox size).
02:09:22 [dbaron]
Nat: So however many lines the paragraph is, you round up to the number of grid units and center within that space.
02:09:32 [dbaron]
jdaggett: So the lines that are in that paragraph don't individually line up.
02:09:42 [dbaron]
Nat: Right, but the edges of it line up.
02:10:03 [dbaron]
Nat: What you're missing from that is what the baseline grid gives you -- for Roman typography, you have columns side by side and you want the baselines to line up.
02:10:25 [dbaron]
Nat: If you try to shoehorn all these user scenarios into a single feature you might miss things.
02:11:03 [dbaron]
Nat: I'd like to take these apart and not say, heavy handed, you have to use line grid and say that with line grid you might get lines painting on top of each other (which we don't have in InDesign).
02:11:24 [dbaron]
Steve: What Bert was referring to, I believe, was a proposal in css3-linebox (not line grid), which refers to line stacking.
02:11:39 [dbaron]
Bert: Not what I was referring to, but wanted to discuss.
02:12:38 [dbaron]
Steve: line-stacking had a number of options from XSL but added one called grid. Not entirely clear, but the option said that whenever you stack something... may have treated each line separately in a title paragraph rather than the whole thing, but would say you'd always get an integral number of grid units in a stack. That would keep the spacing regular without having to lay out a grid in any way.
02:13:10 [dbaron]
Koji: Design grid was proposed by Microsoft... grid ... migrated into line stacking strategy. Some important features were lost dduring the migration. Would like to go back to original requirements.
02:13:34 [Bert]
-> http://dev.w3.org/csswg/css3-linebox/#LineStacking line stacking proposal in css3-linebox
02:13:41 [dbaron]
jdaggett: A couple basic questions I have: This is a feature now in IE? What's different about your proposal from what's in IE? Have you gone through the linebox module?
02:13:50 [dbaron]
Koji: I read the line-stacking-strategy part.
02:14:00 [dbaron]
jdaggett: It seems like there's crossover in what these things are trying to solve; we need to have one spec.
02:14:13 [dbaron]
jdaggett: You're basing it on IE-like features; are these features used? They've been in IE for a long time, no?
02:14:24 [dbaron]
Koji: As I understand, IE has implemented since IE 5.5.
02:14:35 [dbaron]
jdaggett: Are people using it, and if so, for what, and if not, why not?
02:14:53 [dbaron]
Koji: People are not using it because it's IE-only. And people's understanding is that its's not standard. And it's in Word too.
02:15:14 [dbaron]
Florian: Since IE 5.5, there was a period where it was like the only browser, so I don't think that's a sufficient explanation.
02:15:36 [dbaron]
Koji: I'm not sure about this detail, but I think IE's implementation is different from implementation ... Murakami-san.
02:15:40 [dbaron]
jdaggett: Need more detail on that.
02:16:02 [dbaron]
Koji: Current implementation in IE doesn't match spec (2001 WD of text).
02:16:52 [dbaron]
Murakami: I think the older draft had problem: the line grid model in the older draft was only in one block, not for the whole page. So the lines line up in only one paragraph, not across them.
02:17:04 [dbaron]
jdaggett: IS that how it's implemented now?
02:17:13 [dbaron]
Koji: Microsoft stopped improving the feature since it was dropped.
02:17:39 [dbaron]
Alex: May be different in standards mode. We don't see it used, so we don't know what kind of support we need.
02:17:55 [dbaron]
?: Other East Asian languages, not just Japanese?
02:18:10 [dbaron]
Nat: Affects languages with em-square typography, Chinese, Japanese, Korean.
02:18:30 [dbaron]
Koji: Has line progression part and inline direction part; line progression part important for Roman too.
02:18:43 [dbaron]
jdaggett: We also have the line spec.
02:19:20 [dbaron]
Koji: line-stacking-strategy is controlled in each block, but there's a situation where you want to turn it off once and then turn it back, you need to know ... scope.
02:19:25 [dbaron]
Nat: Sounds like we need to flesh out the requirements more.
02:20:03 [dbaron]
jdaggett: That's my concern. We're not taking existing specs and saying we need to solve this set of problems. We're saying we need this set of features which happened to have been specced out at some point in time
02:20:23 [dbaron]
Koji: For the review, I focused on background section (scenarios) and future section.
02:20:31 [dbaron]
Koji: I want to agree on use cases and problems we want to solve
02:21:15 [dbaron]
Nat: It's possible to be compliant with grid and still have problems with placement if you don't solve the line height problem. In Japanese traditional typography, the base font size is the only thing contributing to the line height.
02:21:44 [dbaron]
Nat: The push and pull with whether you want it to be able to write over the next line or not, we decided not to have any automatic protection against overlap.
02:22:31 [dbaron]
Nat: As someone who tries to develop a layout engine for this stuff, I want to have a predictable model: want UI for setting Y position to translate to embox based world. If we're worried about intrusions maybe it could be solved some other way.
02:22:51 [dbaron]
Nat: On top of that, there's the grid. What points do you provide to snap it to? They're on the embox.
02:23:07 [dbaron]
Steve: Another piece of the line stacking strategy was properties that turned on/off whether ruby contributed to the line height.
02:23:10 [dbaron]
Nat: That seems like a hack.
02:23:42 [dbaron]
Dbaron: Don't think there was a mistake in the history there; just a property.
02:23:52 [szilles]
szilles has joined #css
02:24:09 [dbaron]
Steve: There were 4 line stacking strategies: with embox stacking you don't want it to contribute; with the current CSS model you probably do want it to contribute, which is why I think there's an option.
02:24:42 [Zakim]
Zakim has left #css
02:25:00 [dbaron]
Koji: I proposed line-stacking-ruby: auto, which is a combination. Most publishers don't care about overlapping because they fix before releasing. But with EPUB authors can't edit after ???. So ruby should not be included in line height unless it causes overlap.
02:25:13 [dbaron]
Nat: So then what? You go down to zero, and that line will have different line spacing?
02:25:32 [dbaron]
Koji: also important for mobile phones, where people care about fitting more information rather than getting regular line spacing.
02:26:40 [dbaron]
Steve: I'm now confused: I understand line-stacking-strategy doesn't define a constant grid across the space. If I'm using classic CSS line stacking I want everything included and I won't get collisions based on the way it's defined. So that seems to me to deal with the ??? problem. If I want constant em-based typography, then I have the option of setting the lne-height so the line gap is sufficient for the kenten, ruby, underlines, so I don't get a collis
02:26:41 [dbaron]
ion.
02:26:49 [dbaron]
Steve: Depending on which strategy I either want them in or I don't want them.
02:27:48 [dbaron]
Nat: That's what happens today. You can solve this by saying: yes, include everything that's drawing in the line-height. But then when you center on the embox, ...
02:30:24 [dbaron]
Nat: If we include ruby, kenten, etc., and make a larger line height, we still have an ideal alignment point (the center of the embox). But we don't have that information.
02:32:29 [dbaron]
Nat: Need that to get even line spacing.
02:33:07 [dbaron]
Steve: Today, in CSS, you don't know where the baseline is.
02:33:11 [dbaron]
dbaron: I don't think that's true.
02:33:58 [dbaron]
Nat: line grid causes gyodori
02:34:39 [dbaron]
Taro: The position of the first line must be specified by the user, and must not be changed by ... (differences between ascender and descender).
02:36:33 [fantasai]
...
02:36:53 [fantasai]
dbaron: I don't see what in the existing CSS model breaks that, except stuff that's specific to ruby
02:37:09 [fantasai]
Florian: when you have 2 lines, the second one will be placed so that the top of the second box is aligned with the bottom of the first box.
02:37:27 [fantasai]
Florian: If what you care is not the placement of the box, but the content of the lines, you need the distance between baselines, or middle-lines
02:37:52 [fantasai]
Florian: If the first line contains an image, the second one's nothing special, let's say the thir one has Ruby
02:37:58 [fantasai]
Florian: These three lines will have different heights.
02:38:20 [fantasai]
dbaron: Suppose the image is baseline-aligned so it sticks up, it makes the first line bigger, but doesn't change spacing between first and second line
02:38:30 [fantasai]
Nat: image is red-herring, treated like a giant character
02:38:34 [fantasai]
Nat: ruby and decorations are better
02:38:46 [fantasai]
dbaron: decorations don't affect line spacing
02:38:48 [fantasai]
Nat: Does in webkit
02:38:51 [fantasai]
fantasai: that's a bug
02:39:00 [fantasai]
dbaorn: Open question with ruby spec how if at all it should affect line spacing
02:39:07 [fantasai]
s/Open/Let's say it's an open/
02:39:25 [fantasai]
Florian draws three lines of text as squares
02:39:38 [fantasai]
bottom line has ruby above it
02:39:44 [fantasai]
Florian: spacing is different
02:39:53 [fantasai]
dbaron: if you assume ruby affects line spacing, which current drafts say it shouldn't
02:40:01 [fantasai]
multiple ppl talking
02:40:16 [fantasai]
Steve: The other problem is the leading goes above and below
02:40:38 [fantasai]
Nat draws leading above and below the lines
02:40:59 [fantasai]
Nat: If this guy's leading is different from this leading, it'll behave differently than convention
02:41:18 [fantasai]
Nat: Convention is t measure leading from top of line to next line
02:41:24 [fantasai]
Nat: This is understandable to designers in Japan
02:41:38 [fantasai]
Nat: But 1/2 of first line leading and 1/2 of second line leading is confusing
02:42:11 [fantasai]
Nat: It's much easier to place body text when you're only dealing with one number
02:42:25 [fantasai]
Nat: whether you measure from top of line to top of next line, or middle of line to middle of next line
02:42:34 [fantasai]
Nat: the combination of half-leading is confusing
02:43:40 [fantasai]
Steve: tate-chu-yoko is always measuring as 1em, not measuring more than that even if it overflows 1em
02:44:09 [fantasai]
Nat: Often it'll stick out visually. Doesn't mean it needs to make the line taller
02:44:34 [fantasai]
Nat: For tcy, you need to make the cap-height 1em
02:44:47 [fantasai]
Nat: Otherwise it doesn't look good
02:45:14 [fantasai]
Koji: I think the problem you're discussing is a problem we're trying to solve without changing the CSS model. You are trying to change the model, it seems.
02:45:21 [fantasai]
Nat: No, just trying to describe the required behavior
02:45:45 [fantasai]
dbaron: You talk about authors thinking or not thinking in 1/2 leading model
02:45:59 [fantasai]
dbaron: I don't think authors understand the CSS model, be they Japanese or Western
02:46:08 [fantasai]
dbaron: Maybe we need a way for them to opt into another model.
02:46:50 [fantasai]
Nat: ... embox top. If they wnat to do this, there are different point sizes here, so you get a+1/2b
02:47:08 [fantasai]
Nat: It's much easier to present info in embox terms, and have engine be able to spit out CSS that may be hand-tuned ..
02:47:28 [fantasai]
Nat: CSS is a half-human-readable API. If you can express things in CSS using embox top leading model, it's so much easier.
02:47:36 [fantasai]
dbaron: There's sort of two problems with that sort of leading model, I think
02:47:43 [fantasai]
dbaron: related to what happens around the edges of boxes
02:47:51 [fantasai]
dbaron: If you have multiple lines of text in a box, there are 2 cases you need to worry about.
02:48:07 [fantasai]
dbaron: One is the box has some visual appearance,e.g. border or background, and you see the edges of the box
02:48:17 [fantasai]
dbaron: So you need to think about the spacing between the text and the top of the box.
02:48:42 [fantasai]
dbaron: Then there's the opposite case: you have a box that's interior to some visual effect, and you want consistent line-spacing between that and the preceding content
02:49:04 [fantasai]
dbaron: I'd be very uncomfortable with something that doesn't work right by default for the simple cases of both of those.
02:49:07 [fantasai]
dbaron++ :)
02:49:21 [fantasai]
Steve: Getting consistent line spacing seems to be easier to do with a model that involves snapping than stacking
02:49:43 [fantasai]
Steve: Trying to get the stacking to work and have consistent spacing gets into issues that I don't think we're solving.
02:49:49 [fantasai]
Nat: Please explain?
02:49:57 [fantasai]
dbaron: If you have box-with-visual-appearance
02:50:12 [fantasai]
dbaron: If you're talking about leading as something that goes below a line, you get problem with large line-spacing
02:50:27 [fantasai]
dbaron: where text jams right up against the top border, and then a big gap at the bottom
02:50:37 [fantasai]
Nat: You don't add the leading at the bottom of the box.
02:50:46 [fantasai]
dbaron: That works well for the case where the box does have a visual appearance.
02:50:57 [fantasai]
dbaron: but then that fails for the case where the box doesn't ahve a visual appearance.
02:51:15 [fantasai]
dbaron: One thing we try to preserve in CSS is that if you have a box, and you stick a <div> in there where there are already line breaks, the rendering doesn't change.
02:51:27 [fantasai]
dbaron: A <div>, by default, should be invisible.
02:51:50 [fantasai]
dbaron: If you cancel at both edges, then you lose the spacing between the lines inside and outside the div
02:51:54 [fantasai]
or before/after the div
02:52:06 [fantasai]
dbaron: Whatever model we come up with, I think we're sort of stuck with that concept.
02:52:15 [fantasai]
dbaron: We're not distinguishng between two categories of boxes
02:52:49 [fantasai]
dbaron: The normal case I'm worried about is e.g. article in newspaper. You have paragraphs of text.
02:53:08 [fantasai]
dbaron: You don't want a model where space between paragraphs is different from space between lines within paragraphs.
02:53:14 [fantasai]
Nat: Now I understand why you do half on either side.
02:53:26 [fantasai]
Nat: ...
02:53:30 [fantasai]
Steve: You can set line-height on spans
02:53:58 [fantasai]
...
02:54:09 [fantasai]
Nat: when you're flowing text between two frames
02:54:11 [fantasai]
dbaron: frame?
02:54:30 [fantasai]
dbaron: I could try to explain existing CSS model over lunch?
02:54:37 [fantasai]
<br type="lunch">
03:40:05 [szilles]
szilles has joined #css
04:01:08 [TabAtkins]
ScribeNick: TabAtkins
04:01:46 [TabAtkins]
Nat: A bit of closure on the previous discussion.
04:02:07 [TabAtkins]
Nat: [something about leading?]
04:02:10 [florian]
florian has joined #css
04:02:36 [TabAtkins]
Nat: If there's no other available thing, then maybe it's true that we're stuck with half-leading model.
04:03:06 [TabAtkins]
Nat: Based on the history, I think it may be possible to keep most of the current workings if we provide a way for the UA & author to understand where to place the em box.
04:03:18 [TabAtkins]
Nat: That is, where does the metric belong in the convoluted package of the line box.
04:03:40 [TabAtkins]
Nat: What's the offset from the line-top to the top of the em box, or whatever, and where is the offset measured from?
04:04:03 [TabAtkins]
Nat: In InDesign, we can control this. The 0 point by default is the roman baseline, but you can change this.
04:04:45 [TabAtkins]
Nat: You can specify whether it's most important to match the "baseline" of the em box to the baseline of the linebox, or the center, etc.
04:05:12 [TabAtkins]
Nat: So once I can place my nice Japanese world on top of the linebox accurately, then it doesn't matter very much that the rest of the inline layou tmodel exists.
04:07:20 [TabAtkins]
fantasai presents a new proposal
04:07:29 [TabAtkins]
fantasai: We have a new property, 'line-grid', which takes an ident.
04:07:33 [TabAtkins]
fantasai: Initial value is 'root'.
04:07:42 [TabAtkins]
fantasai: It inherits.
04:08:13 [TabAtkins]
fantasai: If you set it on an element, and no ancestor has the same value, it creates a line-grid out of the line-height and font-size settings.
04:08:26 [TabAtkins]
fantasai: The line-grid consists of all of the baselines.
04:10:26 [TabAtkins]
fantasai: If I'm inside a paragraph and I say I want "line-grid:root", I'll get the root's grid, regardless of what other grids have been set up between the paragraph and the root.
04:10:58 [TabAtkins]
fantasai: A fresh grid starts at the content-box of the creating element.
04:11:10 [TabAtkins]
dbaron: You probably want an option to say "don't put half the line-gap at the top and bottom".
04:11:15 [TabAtkins]
fantasai: Yes.
04:11:42 [TabAtkins]
fantasai: The idea is just to match what the text would look like if all the font was the same size/face/etc.
04:11:52 [Kazutaka]
Kazutaka has joined #CSS
04:11:56 [TabAtkins]
Nat: I propose an offset from the top.
04:12:19 [TabAtkins]
[discussion saying we should wait to see how the grid actually works]
04:12:39 [TabAtkins]
dbaron: What's the use-case for a named line-grid, instead of just using the line-grid from an ancestor?
04:13:31 [TabAtkins]
vhardy: You may want two floats that both use the same grid.
04:14:06 [TabAtkins]
dbaron: What about having an outer grid, an element with sets up a new grid, then a child that wants to use the outer grid again?
04:14:20 [TabAtkins]
hober: Perhaps the middle content is sufficiently weird...
04:14:31 [TabAtkins]
dbaron: Would that just be making the middle content not snap?
04:15:45 [TabAtkins]
[dbaron isn't convinced there's an example where named grids are necessary]
04:15:54 [TabAtkins]
[and we're continuing to listen to the rest of Elika's presentation]
04:17:23 [TabAtkins]
fantasai: Next property is "line-grid: <baseline>".
04:17:37 [TabAtkins]
"line-grid: <baseline> | bounds"
04:18:01 [TabAtkins]
fantasai: It says "all the lineboxes that I'm a container for, shift them down until they snap to my grid."
04:18:15 [TabAtkins]
fantasai: (until it's baseline snaps to the next baseline in the grid)
04:18:53 [TabAtkins]
fantasai: The "bounds" value takes the text-top and text-bottom (em box top and bottom)...
04:19:24 [TabAtkins]
fantasai: And, if it fits between the text-top/text-bottom lines in the grid, centers them in there. If it's wider, it finds the next text-bottom that it can fit between, and then centers.
04:20:02 [TabAtkins]
fantasai: In other words, it finds the next text-top, and then the nearest text-bottom that it'll fit into, and centers the linebox between those two lines.
04:20:25 [TabAtkins]
fantasai: And the property is inherited. Also, "line-grid: <baseline> | bounds | none;". Initial is 'none'.
04:20:50 [TabAtkins]
fantasai: There's a root linegrid by default, so you can use line-snap before setting up a line-grid.
04:21:03 [TabAtkins]
[previous references to line-grid over the past several minutes are meant to be "line-snap"]
04:21:33 [TabAtkins]
[Nat gives some example that I can't work out]
04:21:37 [dbaron]
Note that around where fantasai said "The idea is just to match what the text would look like if all the font was the same size/face/etc." she also said we could add an option to control that for the text case, which would then also affect the grid establishment.
04:22:31 [TabAtkins]
fantasai: We have a 'padding' property on boxes to shift their content down...
04:23:35 [TabAtkins]
hober: [translation] When you've got the container that establishes your line-grid...
04:23:46 [TabAtkins]
hober: The grid starts at the top of the content-box.
04:24:04 [TabAtkins]
hober: If you have a region that happens to only partly overlap the element that establishes the line-grid...
04:24:23 [TabAtkins]
hober: The text will then start at a weird spot in the region, because the grid doesn't start high enough.
04:24:54 [TabAtkins]
fantasai: The grid extends infinitely in both directions.
04:27:10 [TabAtkins]
Nat: So, frex, if you have some large header, you want to start the grid at the bottom of the header.
04:27:25 [TabAtkins]
dbaron: You can just set the linegrid on a container for the body content. You don't have set it on the root.
04:27:46 [TabAtkins]
Nat: [something about InDesign possibly having issues with exporting into HTML with that]
04:28:38 [TabAtkins]
plinss: With all due respect, we're not implementing InDesign. We just want to hit the use-cases that are necessary for publishing. Difficulties for existing programs to map into aren't as big a deal.
04:28:56 [TabAtkins]
fantasai: Also, for t/r/b/l, a snap(<grid-name>) function.
04:29:42 [TabAtkins]
dbaron: I was hoping to have a third property like "box-snap:bounds", which would center boxes within the necessary number of grid units.
04:30:04 [dbaron]
Steve: What we're trying to do with this is gyodori for paragraphs.
04:31:09 [TabAtkins]
fantasai: If you snap both your top and bottom, you have to figure out which box to align.
04:31:38 [TabAtkins]
fantasai: I think if you're positioning a box, you'd snap top to the text-top and bottom to the text-bottom.
04:32:05 [dbaron]
(Though the box-snap might *require* that we drop the named grids and just go to a mechanism for establishing a new line grid.)
04:32:30 [arron]
arron has joined #css
04:32:34 [TabAtkins]
florian: In a kanji situation, it's common to snap images to the kanji-top.
04:32:57 [TabAtkins]
fantasai: So, that's the overview. The box-snapping part needs work, but I think the rest is what we want.
04:33:14 [TabAtkins]
kojiishi: My proposal is very similar in regards to defining grids.
04:33:44 [TabAtkins]
kojiishi: When I aksed for review in Japan, descendants could be difficult if the descendant establishes a BFC.
04:33:58 [TabAtkins]
dbaron: Using it within a float doesn't sound that bad; using it within something that's scrollable dos.
04:34:02 [TabAtkins]
s/dos/does/
04:34:35 [TabAtkins]
plinss: You'd just scroll the grid.
04:34:45 [TabAtkins]
dbaron: Okay, I guess it doesn't break the model. Floats kinda do.
04:35:09 [dbaron]
s/Floats kinda do./With floats, overflow:scroll did./
04:35:11 [TabAtkins]
jdaggett: What happens with varying font-sizes?
04:35:45 [TabAtkins]
jdaggett: Do you reach a point where you suddenly get larger gaps?
04:36:08 [TabAtkins]
fantasai: Potentially, but you can use line-stacking-strategy to exclude parts, so things can still collide.
04:36:30 [TabAtkins]
dbaron: So you generally would want to use a fairly restrict line-stacking-strategy, so you don't jump line-grids very often.
04:36:42 [dbaron]
s/line-stacking-strategy/line-stacking-strategy or line-box-contain or whatever we end up with/
04:37:26 [dbaron]
Peter: You could potentially add a value for tolerance (to allow a small amount of overlap).
04:37:41 [TabAtkins]
Nat: What about paragraph-level gyodori?
04:38:00 [TabAtkins]
szilles: The t/r/b/l stuff was for that. Dbaron and I think there may be a simpler answer for that.
04:38:15 [TabAtkins]
szilles: Involving "box-snap:bounds".
04:40:00 [TabAtkins]
vhardy: You may want to define multiple line-grids from the same element (at different sizes, frex).
04:40:13 [TabAtkins]
fantasai: We can add multiple grids later if necessary.
04:40:46 [TabAtkins]
dbaron: Yet another usecase for ::outside/inside!
04:41:24 [TabAtkins]
alexmog: [channeling glazman] I'd hate to write an editor that exposes multiple grids defined on the same element.
04:41:54 [dbaron]
(we could minute it as :glazou, for pseudo-glazou :-)
04:42:14 [hober]
shouldn't it be ::glazou?
04:42:55 [TabAtkins]
alexmog: Ruby doesn't affect line-stacking, right?
04:43:10 [TabAtkins]
fantasai: If it affects line/block height, yes. Otherwise, no. By default, no.
04:43:48 [arron]
arron has joined #css
04:43:53 [TabAtkins]
szilles: As an example, say you have a headline with some ruby on the top. What would an editor want for this?
04:44:21 [TabAtkins]
Nat: You'd ignore the ruby and center based on the heading. But you'd also include some padding to make sure there's enough space for the ruby.
04:46:03 [TabAtkins]
[more discussion about ruby, and why you wouldn't include it in the line height]
04:47:57 [TabAtkins]
kojiishi: Another request in this area, for a character-based grid.
04:49:17 [TabAtkins]
kojiishi: So, for example, if you have a float in the middle of some em-based script, the shortened lines by default would probably start off-alignment with the rest of the text.
04:49:40 [dbaron]
kojiishi: In Chinese, each character is snapped to the grid, whereas in Japanese only the start and end of the line box need to be snapped.
04:49:53 [TabAtkins]
kojiishi: This property would set up a grid in the orthogonal direction to the line-grid, so the linebox snaps to the nearest grid.
04:49:56 [dbaron]
hober: You'd want the same thing for monospaced western fonts.
04:50:03 [dbaron]
Steve: though that's not 1em wide...
04:50:43 [TabAtkins]
Nat: I'm still distrubed by line-stacking, with 20pt text with 120% leading mixed with 24pt text with 120% leading, it's very difficult to get it to work like the japanese designer would want.
04:50:59 [TabAtkins]
Nat: They'd want the line-spacing to be based on one of those values.
04:51:24 [TabAtkins]
Nat: [1em text, 1em spacing, 1em big text, 1em big spacing, etc.]
04:51:32 [dbaron]
spacing -> 0.5em
04:52:39 [TabAtkins]
Nat: I'm satisfied if we just log a note about how this half-leading works with grids.
04:53:17 [TabAtkins]
fantasai: If you're snapping things to the line-grid, you may want to snap things to the layout-grid as well.
04:53:33 [TabAtkins]
fantasai: Have the images align with the layout-grid, for example.
04:54:26 [nmccully]
My issue is that the space between lines is dependent on the leading value on _both_ lines, making it difficult for the author to get the look they want.
04:55:27 [nmccully]
If you add the ability to calculate line gap based on one or the other line's leading (and leading origin and direction, etc), then it makes it more predictable for Japanese authors, I think.
04:55:37 [TabAtkins]
szilles: Why are we using grid here? I'm asking this because we have two orthogonal concepts.
04:56:07 [TabAtkins]
szilles: A regular set of horizontal lines (or vertical), and a regular set of character positions. Together they make a grid, but independently they're not.
04:56:33 [TabAtkins]
fantasai: Do you have a suggestion?
04:56:40 [TabAtkins]
plinss: We can have a note about that.
04:57:07 [TabAtkins]
alexmog: So we have a new line-grid spec from Koji. Is this the base fro which we further develop, or do we have competing proposals?
04:57:33 [TabAtkins]
jdaggett: I think there's overlapping functionality with Linebox, but not competing. But I don't think these should be two specs.
04:58:46 [szilles]
szilles has joined #css
04:59:45 [TabAtkins]
[discussion about how to organize the specs]
05:00:00 [TabAtkins]
alexmog: Can we have a resolution about how we expect the specs to merge/alter?
05:02:16 [TabAtkins]
Topic: text-orientation
05:03:03 [TabAtkins]
RESOLVED: Eventually we'll have one Line spec, which includes current Linebox and Linegrid.
05:04:45 [TabAtkins]
jdaggett: In section 5, there's a lot of weird lingo, like "bi-orientational transform".
05:04:50 [TabAtkins]
jdaggett: Can we use simpler terms here?
05:06:04 [TabAtkins]
jdaggett: [something I couldn't quite parse about the spec not matching what authors think of]
05:07:20 [TabAtkins]
jdaggett: Another issue - not sure if stuff like the "intrinsic text orientation" is the right set of controls to use.
05:07:44 [TabAtkins]
jdaggett: Once you're in vertical-lr/rl, there's a natural orientation that horizontal text can have.
05:07:52 [TabAtkins]
fantasai: There's some behavior implied by the orientation, and some that's not.
05:08:11 [TabAtkins]
fantasai: If you're using right-to-left columns up text, you'll either rotate [this way], or stack the text.
05:08:26 [TabAtkins]
fantasai: And that's not intrinsic to the orientation of the script.
05:09:57 [TabAtkins]
fantasai: [draws diagram of how Mongolian would orient horizontal text.
05:13:49 [stearns]
stearns has joined #css
05:14:11 [TabAtkins]
jdaggett: It seems like the behavior we want, rotate-normal...
05:14:24 [TabAtkins]
fantasai: We want rotate-normal if we're a horizontal scripts. We want vertical-right for vertical scripts.
05:14:42 [TabAtkins]
jdaggett: The behavior of rotate-normal changes based on the writing mode.
05:14:48 [dbaron]
vertical-lr scripts: http://en.wikipedia.org/wiki/Mongolian_script http://en.wikipedia.org/wiki/Manchu_script http://en.wikipedia.org/wiki/Old_Uyghur_alphabet
05:14:55 [TabAtkins]
jdaggett: So why not have the 'auto' setting work most of the time.
05:15:07 [TabAtkins]
jdaggett: There's an exception, but the normal case for most scripts is to rotate it to the right.
05:15:17 [TabAtkins]
fantasai: rotate-normal will rotate Chinese script sideways.
05:15:40 [dbaron]
also http://en.wikipedia.org/wiki/Clear_script
05:15:56 [szilles]
szilles has joined #css
05:16:15 [TabAtkins]
jdaggett: The default we want is called "auto" that does the right thing...
05:16:31 [TabAtkins]
fantasai: You can't do the right thing in all cases without defining the equivalent of rotate-left.
05:17:15 [TabAtkins]
fantasai: I can't mix rotated English and Chinese without specifying these.
05:17:40 [TabAtkins]
Nat: The vertical orientation specifies that English must rotate clockwise. So that should be the default.
05:18:05 [TabAtkins]
fantasai: Which is what you get with vertical-right (keeps the chinese vertical) or rotate-right (rotates the Chinese too).
05:19:19 [TabAtkins]
[something about mixing rtl and chinese/japanese]
05:20:25 [TabAtkins]
[and some explanation of why all the values are necessary]
05:20:51 [TabAtkins]
alexmog: It seems that the only two values that ever happen are that character are oriented with the baseline, or they are vertical.
05:21:54 [TabAtkins]
fantasai: [shows example of English letters being stacked, or rotated with baseline on right or left]
05:22:30 [TabAtkins]
dbaron: You're either leaving them in their normal orientation, or turning them so their inline progression matches the inline progression you're using, or the same with block progression.
05:23:42 [TabAtkins]
fantasai: We could simplify more if we're willing to screw with the bidi algorithm. I was trying to leave bidi alone.
05:24:42 [TabAtkins]
jdaggett: I think we should just change "vertical-right" to "auto".
05:24:59 [TabAtkins]
szilles: That doesn't match with SVG.
05:25:10 [myakura]
myakura has joined #css
05:25:11 [TabAtkins]
jdaggett: SVG can mess around with that themselves. It's deprecated!
05:25:46 [TabAtkins]
fantasai: it's not deprecated in SVG. We're deprecating their definition with our new one, is all.
05:27:45 [TabAtkins]
jdaggett: Everything but vertical-right is exceptions to the general behavior, which we should call "auto".
05:27:55 [TabAtkins]
fantasai: So, first issue is you want to rename "vertical-right" to "auto".
05:28:47 [TabAtkins]
fantasai: But the reasonable default behavior changes based on the context.
05:29:00 [TabAtkins]
You want "vertical-right" or "rotate-normal" based on Chinese vs English, frex.
05:29:14 [dbaron]
fantasai: The normal thing in Mongolian and Chinese is to use 'vertical-right', the normal case in English, French, Arabic documents is to use 'rotate-normal'
05:35:09 [TabAtkins]
fantasai: Next jdagget proposal is to drop the SVG-specific values.
05:35:10 [dbaron]
dbaron: Are there any cases where there's embedded text rotated such that both its inline progression does not match the inline progression of the dominant script, and such that its block progression does not match the block progression of the dominant script?
05:39:37 [TabAtkins]
[...]
05:39:49 [TabAtkins]
Nat: Not all layout engines have the same idea of what is the default behavior.
05:40:50 [TabAtkins]
Nat: That freedom should maybe be allowed.
05:41:29 [TabAtkins]
fantasai: The requirements for vertical-right are that (1) vertical scripts *must* be in their default orientation, and (2) horizontal scripts *must* be [rotated to the right? I didn't hear well]
05:44:36 [boblet]
boblet has joined #css
05:45:17 [dbaron]
I think another way to look at this is that the use case for 'vertical-right' is honor-block-direction, the use case for 'upright' is honor-natural-horientation, the Mongolian example with the English the other way around is 'honor-inline-direction', and the 'rotate-right' and 'rotate-left' cases are layout-affecting transforms rather than vertical text
05:49:13 [TabAtkins]
[whole lots of discussion I have no idea about]
05:49:19 [TabAtkins]
fantasai: I can rename 'upright' to 'stacked'
05:51:47 [TabAtkins]
dbaron: Maybe this is crazy, but I have an alternate model in my head where the existing examples for rotate-right/left are layout-affecting transforms.
05:52:14 [TabAtkins]
dbaron: But then you tsill need vertical-left/right and an escape hatch, where instead of vertical-right (honoring the block-progression direction), you honor the inline-progression direction.
05:54:09 [TabAtkins]
dbaron: This alternative doesn't give you [something], but that's it.
05:54:36 [TabAtkins]
???: When japanese characters are upright and arabic is used, naturally, only looking at those characters, it looks natural for the arabic characters to start at the top and proceed to the bottom.
05:55:17 [TabAtkins]
???: But when roman characters exist as well, their top is on the right, but then the arabic characters are on the left side.
05:55:39 [TabAtkins]
???: To resolve this contradiction, publishers will set arabic from bottom-to-top, and keep the roman on top-to-bottom.
05:55:52 [nmccully]
??? = Taro
05:58:18 [TabAtkins]
szilles: When I rotate english to the left, it seems I'm in a bottom-to-top mode.
05:58:20 [TabAtkins]
fantasai: Yes.
05:58:42 [TabAtkins]
szilles: So then, is the 'auto' value for bottom-to-top to rotate everything left? Because there are effectively no bottom-to-top languages.
05:59:07 [TabAtkins]
fantasai: Yes, which is why those btt languages will actually go ttb unless you set rotate-left.
05:59:19 [TabAtkins]
fantasai: Any other issues that need to be discussed?
05:59:34 [TabAtkins]
szilles: Yesterday in the forum, in the shift to upright, numbers went to traditional c/j encoding.
06:00:02 [TabAtkins]
fantasai: It's not just a codepoint swap, they actually transformed [???]
06:00:08 [TabAtkins]
jdaggett: It's numerical transforms.
06:00:36 [dbaron]
135 -> 百三十五
06:01:05 [dbaron]
(not 135 -> 一三五!)
06:01:35 [dbaron]
fantasai: escape hatch: <abbr title="百三十五">135</abbr> and abbr { content: attr(title); }
06:01:38 [TabAtkins]
fantasai: Escape hatch for now is just hiding the alternate form in an attribute and pulling it in via "content: attr()".
06:02:23 [Bert]
(And if I want to translate it to Chinese *and* convert to the Julian calendar? :-) )
06:02:36 [dbaron]
Daniel Davis: Could rotate-right/left be baseline-right/left?
06:02:46 [dbaron]
fantasai: which baseline?
06:07:43 [boblet1]
boblet1 has joined #css
06:21:16 [fantasai]
suggestion was sideways-left, sideways-right, and sideways (rotate-normal)
06:26:04 [TabAtkins]
dbaron: If we ever add bottom-to-top, vertical-right is not going to be what we want for those.
06:30:22 [TabAtkins]
fantasai: The info we're missing to make this all super-intelligent is... We have ltr and rtl which gives us bidi for horizontal. If we had similar for vertical, we could do a lot more here.
06:30:38 [TabAtkins]
Like, ttb-rtl would let us know that it's rtl in horizontal and ttb in vertical.
06:31:30 [TabAtkins]
Straw Poll: The default value for text-orientation
06:31:41 [TabAtkins]
Should it be named 'auto' or 'vertical-right'
06:31:59 [TabAtkins]
danield: Abstain
06:32:02 [TabAtkins]
jdaggett: auto
06:32:08 [TabAtkins]
sylvaing: auto
06:32:15 [TabAtkins]
dbaron: vertical-right
06:32:20 [TabAtkins]
kojiishi: vertical-right
06:32:25 [TabAtkins]
florian: vertical-right
06:32:27 [TabAtkins]
szilles: auto
06:32:31 [TabAtkins]
alexmog: auto
06:32:36 [TabAtkins]
vhardy: auto
06:32:39 [TabAtkins]
Bert: abstain
06:32:41 [dbaron]
(vertical-right because I think there's actually relatively little logic to it, because the normal behavior of Mongolian is weird)
06:32:45 [TabAtkins]
Taro: auto
06:32:48 [TabAtkins]
Nat: auto
06:32:57 [TabAtkins]
TabAtkins: abstain
06:33:01 [TabAtkins]
hober: vertical-right
06:33:06 [TabAtkins]
plinss: vertical-right
06:33:15 [TabAtkins]
murakami: vertical-right
06:33:18 [TabAtkins]
fantasai: vertical-right
06:33:43 [TabAtkins]
7 'auto', 7 'vertical-right', 3 'abstain'
06:34:20 [TabAtkins]
plinss: 'auto' implies it will change behavior based on something else.
06:34:40 [TabAtkins]
dbaron: I went for 'vertical-right' because it seems that it's relying on the fact that "normal" use in mongolian is what I would personally consider really weird.
06:35:01 [TabAtkins]
dbaron: And it just so happens that it all works out, because the normal behavior for Mongolian and Chinese turn the same way.
06:36:39 [dbaron]
Steve: But Mongolian written horizontally actually runs left-to-right (due to Russian influence).
06:36:40 [TabAtkins]
florian: I don't like 'auto' because if you're not aware of natively vertical scripts and you just want to turn some English to the side, you expect 'auto' to not turn it to the side.
06:36:41 [dbaron]
dbaron: oh
06:38:02 [Ms2ger]
Ms2ger has joined #css
06:38:23 [TabAtkins]
szilles: I'll point out that if you have vertical tabs on multiple pages, the ones on opposite pages go in opposite directions.
06:38:46 [TabAtkins]
fantasai: The next issue is the SVG property.
06:38:46 [nmccully]
good point about English in vertical "auto" is biased toward Japanese default behavior, not some other convention
06:39:18 [TabAtkins]
fantasai: SVG basically said that they'll do what we decide on.
06:39:33 [TabAtkins]
szilles: Can we just call the value "svg-historic"?
06:39:43 [TabAtkins]
jdaggett: Anything except "auto".
06:39:46 [TabAtkins]
fantasai: agreed
06:39:56 [TabAtkins]
fantasai: I can change it to "svg-historic" or "use-glyph-orientation" or something.
06:41:22 [TabAtkins]
plinss: Maybe mark the value as at-risk.
06:42:10 [TabAtkins]
RESOLVED: Renamed the 'auto' value for text-orientation, and mark the value as at-risk.
06:42:29 [TabAtkins]
jdaggett: I'm confused about how vertical-align works for vertical text.
06:42:38 [TabAtkins]
[something about multiple baselines]
06:43:23 [TabAtkins]
fantasai: [points to the definition in the "introduction to baselines" chapter]
06:43:44 [TabAtkins]
Nat: Incidentally, baselines are wrong for ideographic.
06:44:01 [TabAtkins]
jdaggett: This example and text and such shouldn't be in this spec, though. It should be in the Linebox module.
06:44:22 [TabAtkins]
jdaggett: I'm concerned that if we put non-normative text here, we'll imply behavior to impls that may conflict with the later normative text in Linebox.
06:44:47 [TabAtkins]
fantasai: I need at least two baselines defined.
06:45:06 [TabAtkins]
jdaggett: Right. We just don't need quite this much detail. There's also stuff about metrics, which is completely unnecessary.
06:45:16 [TabAtkins]
szilles: I can fix the diagram to just provide the necessary info.
06:45:51 [TabAtkins]
jdaggett: And then when we talk about metrics, this is completely not what browsers actually do.
06:46:01 [TabAtkins]
szilles: We agreed on this text some time ago in the WG. It's in the 2.1 spec.
06:46:03 [TabAtkins]
fantasai: Most of it.
06:46:10 [TabAtkins]
jdaggett: Darn, then we have a larger issue.
06:46:50 [TabAtkins]
szilles: It was put there to provide a reasonable set of fallbacks for dealing with what happens with real-world fonts.
06:46:58 [TabAtkins]
jdaggett: And real-world fonts in Windows use the windows metrics.
06:47:04 [TabAtkins]
szilles: They have nothing to do with the em box.
06:47:30 [TabAtkins]
jdaggett: A browser written on windows that's not written by adobe will use the metrics provided by the OS, which will generally be the windows metrics.
06:47:54 [TabAtkins]
jdaggett: I'm not objecting that this is wrong behavior, it's just not what impls do.
06:51:29 [alexmog]
alexmog has joined #css
06:52:43 [TabAtkins]
RESOLVED: Remove 4.2.1 from the Writing Modes spec.
06:55:27 [TabAtkins]
fantasai: [explains how the spec deals with alphabetic/central baselines]
06:56:08 [TabAtkins]
fantasai: There's sometimes a conflict between the parent and child in what baseline is dominant, but the spec defines that logic.
06:56:57 [TabAtkins]
jdaggett: So the behavior for 'sub' and 'super' in vertical is to shift left/right?
06:57:00 [TabAtkins]
fantasai: Yes.
06:57:12 [TabAtkins]
jdaggett: And what about when tatechuyoko(sp?) is used?
06:57:28 [TabAtkins]
fantasai: That's defined to basically synthesize a new glyphs which then has a singular baseline.
06:57:50 [howcome]
howcome has joined #css
06:58:09 [TabAtkins]
szilles: So you're asking about what happens if there is vertical-align'd text in tatechuyoko?
06:58:29 [TabAtkins]
fantasai: Right now it's defined to *not* trigger tatechuyoko if there is any further structure.
06:59:49 [nmccully]
It should be possible to set text inside the TCY using baselines (horizontal ones) for superscript or subscript
07:00:02 [nmccully]
The whole thing would be centered in the vertical line
07:00:19 [TabAtkins]
szilles: [some point about horizontal text in horizontal japanese?]
07:02:16 [TabAtkins]
jdaggett: "The default alignment is 'baseline', and that uses the dominant baseline, which changes based on the script."
07:02:35 [TabAtkins]
s/script/writing mode/
07:03:51 [jdaggett]
http://people.mozilla.org/~jdaggett/images/tatechuyoko-percent.png
07:07:13 [TabAtkins]
[looking at the email]
07:07:26 [TabAtkins]
jdaggett: This was original meant for kumimoji, actually.
07:10:14 [TabAtkins]
I also proposed "text-inline-horizontal: none | half | third | quarter".
07:10:22 [TabAtkins]
[last was from jdaggett]
07:10:46 [TabAtkins]
Taro: When two characters are combined, it's possible the editor wants to condense them to get them into 1em width.
07:10:58 [TabAtkins]
Taro: That typically applies to 2-digit numbers without a decimal point.
07:11:08 [TabAtkins]
Taro: The case with a decimal point is kind of an exception.
07:11:37 [TabAtkins]
Nat: We have half and quarter-width characters, but I think that's mostly a throwback to when they weren't really scalable.
07:13:12 [TabAtkins]
[jdaggett shows example from the spec about tatechuyoko]
07:13:20 [TabAtkins]
jdaggett: You see the year and day are using tatechuyoko.
07:13:54 [TabAtkins]
jdaggett: The way it's currently defined, you have to wrap each number in spans. Ideally, you could just say "use tatechuyoko when necessary/possible"
07:14:58 [TabAtkins]
kojiishi: I think that 'automatic' is nice, but if we were only doing one or the other, we should do the explicit one first.
07:16:28 [TabAtkins]
[jdagget shows another example from the email]
07:16:52 [TabAtkins]
jdaggett: Here you have an example of where you want to do tatechuyoko on "up to 2" things.
07:17:14 [TabAtkins]
The first date, with two digits, would use tatechuyoko.
07:17:32 [TabAtkins]
The second date, with a 4-digit eyar, would stack the digits of the year, but use tatechuyoko for the month/day, as they are still two digits.
07:18:43 [TabAtkins]
jdaggett: Also, how does this combine with text-transform?
07:18:53 [TabAtkins]
fantasai: Maybe text-transform would turn off automatically.
07:19:16 [TabAtkins]
fantasai: If the number is too wide, use text-transform, otherwise use tatechuyoko.
07:20:16 [TabAtkins]
jdaggett: I also think it should say that under no circumstances should it change the linebox.
07:20:52 [fantasai]
ISSUE - define interaction with text-transform: fullwidht
07:21:05 [fantasai]
ISSUE - make spec clear that the tcy is only 1em high
07:21:15 [fantasai]
even if the glyphs bleed outside that 1em
07:24:03 [TabAtkins]
fantasai: There's a comment in the spec about automatic tcy saying we could maybe have a value like "digits" and a maximum number of digits to combine.
07:24:27 [TabAtkins]
jdaggett: In the single-digit case you may want to use wider characters, sometimes.
07:24:31 [fantasai]
e.g. text-combine-auto: digits 3;
07:25:17 [TabAtkins]
fantasai: We should be able to solve that by setting text-transform:fullwidth and turning it off when tcy applies.
07:26:24 [TabAtkins]
fantasai: We do want a way to force tcy sometimes, too.
07:26:31 [TabAtkins]
fantasai: If we want to deal with automatic stuff here, we can.
07:27:09 [TabAtkins]
Nat: I think you'll definitely get requests for it. It'll be cumbersome for authors, and tcy, in the 80% case, is just two digits, and you'll want to auto-tcy *all* 2-digit numbers everywhere.
07:27:24 [TabAtkins]
Nat: As long as you keep the edge cases in mind while designing the automatic thing, it'll work.
07:29:15 [TabAtkins]
Nat: [discussion about processing, using "anything that fits into X" versus "all 2/3 digit numbers"]
07:29:36 [TabAtkins]
Nat: [prefers the latter, as it doesn't require you to call down into the font renderer before deciding whether to use tcy]
07:30:13 [TabAtkins]
jdaggett: I mainly just wanted dates to work, so you only needed one span to wrap a date with.
07:30:53 [TabAtkins]
szilles: Automatic is good, but also I want to use tcy on arbitrary characters, so we want manual forcing as well.
07:31:25 [TabAtkins]
Nat: jdaggett's proposal doesn't get "2010" to be quarter-width and "4" being full-width, though.
07:31:31 [TabAtkins]
jdaggett: You can do manual overrides.
07:37:26 [TabAtkins]
Nat: We find that anytime we do automatic, we get people angry because they're doing something weird.
07:37:46 [TabAtkins]
szilles: That should be okay as long as there's an ability to override manually.
07:38:22 [TabAtkins]
Nat: Maybe we can combine these - use tcy for 2/3/4 digits, fullwidth for 1 digit, and let the author use whatever unicode digits they want.
07:38:56 [TabAtkins]
Nat: If we can come up with a property for that and use it in tcy as well, that would be nice.
07:39:33 [TabAtkins]
fantasai: What about "text-combine-horizontal: all | digits <number>? || alpha <number>?".
07:39:38 [dbaron]
dbaron has joined #css
07:39:39 [TabAtkins]
"all" is entire contents, no smushing.
07:45:09 [TabAtkins]
fantasai: "... && [half | third | quarter]"
07:46:31 [TabAtkins]
Nat: For smushing, have the value somehow apply that it's about fitting, whether by using specified special glyphs or by scaling the glyphs directly.
07:47:17 [TabAtkins]
fantasai: or "... && fit"
07:47:35 [TabAtkins]
fantasai: So you can specify "all", which just puts it all in tcy without smushing.
07:47:53 [TabAtkins]
fantasai: Or "alpha <digit>" or "digits <integer>
07:48:00 [TabAtkins]
s/<digit>/<integer>/
07:48:56 [TabAtkins]
fantasai: Which swaps alphas/digits for the appropriate-width characters and does tcy.
07:50:46 [Bert]
(1,000 is different from 1, 000)
07:51:00 [TabAtkins]
"all | [ digits <integer> || alpha <integer> || alphanumeric <integer> ]"
07:53:49 [TabAtkins]
"none | all | [ digits <integer> || alpha <integer> || alphanumeric <integer> ] && [ fit | scale ]"
07:54:46 [TabAtkins]
"fit" means try to use the half/third/quarter-width glyphs first, otherwise fall back to scaling.
07:54:58 [TabAtkins]
"none | all | [ digits <integer> || alpha <integer> || alphanumeric <integer> ] && [ use-glyphs | scale ]"
07:59:32 [TabAtkins]
Nat: My ideal is that by default, you don't do glyph substitution or scaling, and you have to specify to use glyphs or scaling.
08:00:46 [TabAtkins]
plinss: We have enough progress here now. Take the rest for later.
08:00:58 [TabAtkins]
jdaggett: Next issue is that we don't have any talk about form elements.
08:01:28 [TabAtkins]
jdaggett: It's right that CSS doesn't apply to form controls internals, by definition, but still, the layout of a form control has a huge impact on the layout of other things.
08:02:09 [TabAtkins]
fantasai: I'm willing to put in examples of how form controls *should* work in vertical text, so impls can do it right. I'm not willing to do normative text yet, though, because I'm not willing to define how form controls internals are exposed.
08:02:21 [TabAtkins]
jdaggett: I just want to say "form controls follow the text direction", etc.
08:02:31 [TabAtkins]
fantasai: It says that right now.
08:04:02 [fantasai]
ISSUE - put in some examples, maybe using IE9 screenshots
08:04:03 [fantasai]
:)
08:04:31 [Ms2ger]
Hah
08:04:32 [TabAtkins]
jdaggett: Next issue. Minor point, but I don't like that "writing-mode" is labelled the block direction.
08:04:47 [TabAtkins]
jdaggett: It's influencing the direction in which text flows.
08:05:42 [TabAtkins]
Bert: "block flow direction" is a technical term that means quite a lot.
08:05:50 [szilles]
szilles has joined #css
08:05:56 [TabAtkins]
Bert: It implies a bunch of typographic rules, including what's upright and what's rotated.
08:06:23 [TabAtkins]
fantasai: That's writing-mode. The block flow direction basically determines the direction in which block boxes and lineboxes stack, and whether the linebox is horizontal or verticla.
08:08:36 [TabAtkins]
szilles: The title of the section could just be simplified to "The 'writing-mode' Property", to avoid the confusion.
08:09:35 [TabAtkins]
fantasai: The "writing mode" means 3 things (3 properties). The 'writing-mode' property is one aspect.
08:09:53 [TabAtkins]
fantasai: If it was up to me I'd call it 'block-flow-direction', but I think it's too late now.
08:09:59 [TabAtkins]
sylvaing: Why is it too late?
08:10:44 [TabAtkins]
fantasai: maybe I can change it
08:10:59 [TabAtkins]
fantasai: Last issue is text-orientation and punctuation.
08:12:46 [TabAtkins]
jdaggett: I was suggesting as a loose default that you should specify all the scripts that are upright, and everything else is rotated.
08:12:58 [TabAtkins]
jdaggett: For the common/inherited characters, use whatever the previous script block was.
08:13:20 [TabAtkins]
Nat: The problem we ran into is that for the ambiguous chars (U+2000), depending on the font the glyph design was different.
08:13:46 [TabAtkins]
Nat: Our method was that if it was in Shift-JIS and fullwidth, it was upright. Otherwise, rotated.
08:14:51 [TabAtkins]
Nat: [some things are crazy]
08:14:59 [TabAtkins]
jdaggett: Short version - "we're screwed".
08:15:28 [TabAtkins]
fantasai: There's a bunch of characters we can definitely tell for. We say that the ambiguous characters may be UA dependent, and point to two features that can be used for detection.
08:18:12 [TabAtkins]
Nat: Originally a bunch of chinese characters were in PUA, and outside our lists, so we rotated them. We switched to looking at the font to see if it's a vertical script font, and treating the PUA as upright then.
08:20:09 [TabAtkins]
[chatter about fonts and such]
08:24:18 [fantasai]
ISSUE - add reference to Unicode database
08:25:11 [fantasai]
dbaron: Refer to a particular version of Unicode
08:26:40 [r12a]
r12a has joined #css
08:34:58 [fantasai]
[unminuted discussion of font features]
08:35:07 [fantasai]
e.g. vrt2
08:35:49 [fantasai]
Nat: I don't think it's useful to say to the UA to determine which ones are upright and which ones are not, because at the point htat the engines are unfamiliar with , we don't have access to the glyph ids
08:36:05 [fantasai]
Nat: I'm not sure why that's common to the ones I know, but seems to me that it's difficult ...
08:37:15 [fantasai]
Nat explains that most engines he knows split the runs into roman (sideways) and non-roman (upright), and default mode is sideways, and vrt2 requires not splitting runs and making everything upright because it has prerotated glyphs
08:37:23 [Bert]
-> http://www.microsoft.com/typography/otspec/recom.htm Adobe Type Manager/NT 4.1 and Windows 2000 require the vrt2 feature in an OT font to do vertical writing.
08:37:27 [Bert]
-> http://www.microsoft.com/typography/otspec/features_uz.htm#vrt2 Description of the vrt2 feature in OT
08:37:37 [fantasai]
jdaggett: I think we have to do an implementation and see if using vrt2 actually work
08:38:46 [fantasai]
jdaggett: puzzled why Unicode didn't deal with this stuff
08:39:13 [fantasai]
fantasai: partly 'cuz they consider vertical layout out-of-scope
08:39:29 [fantasai]
fantasai: and partly because the correct orientation depends on the font and how that glyph was designed
08:40:17 [fantasai]
Nat: Unicode unified various characters, so ... it's a difficult problem.
08:40:43 [fantasai]
Nat: It would be nice if, Unicode is a good authority .. if they had to go through the exercise of making this table of which ones are upright and which are not, they might realize that maybe they should have separate codepoints.
08:41:57 [fantasai]
topic: unicode-bidi
08:42:06 [fantasai]
dbaron: So you've revised the values of unicode-bidi
08:42:12 [fantasai]
dbaron: I looked it over, and I think it makes sense.
08:42:22 [fantasai]
dbaron: I think the revision now allows the combinations that make sense and not some other combinations
08:42:26 [fantasai]
dbaron: But I guess..
08:43:09 [fantasai]
dbaron: I'm still a little fuzzy on the 'plaintext' thing and why it converts to 'isolate' , given you can use the combination of plaintext and isolate
08:43:59 [fantasai]
fantasai: oh, hm, I'm not sure why I did that
08:45:55 [dbaron]
fantasai: we should have plaintext imply isolate, and then if you set it on an inline element it sets its embedding direction like it would have set its base direction if it were a block
08:46:04 [dbaron]
fantasai: so allowing combination of plaintext and isolate does not make sense
08:46:23 [fantasai]
ACTION: fantasai edit the spec per above and check with smontagu
08:46:23 [trackbot]
Created ACTION-321 - Edit the spec per above and check with smontagu [on Elika Etemad - due 2011-06-09].
08:47:09 [fantasai]
dbaron: Other interesting ocnstraint is that the current restrictions on the values don't allow combinations of new values and old values, which is nice because we can prefix the new values and implement the whole new proposal
08:48:08 [fantasai]
fantasai: so the remaining issue is the box model for bidi when you break the box across lines
08:48:24 [fantasai]
http://lists.w3.org/Archives/Public/www-style/2011May/0186.html
08:48:39 [dbaron]
s/ocnstraint/constraint/
08:48:55 [szilles]
szilles has joined #css
08:49:07 [vhardy]
vhardy has joined #css
08:51:34 [alexmog]
reposting for Vincent: http://lists.w3.org/Archives/Public/www-style/2011May/0186.html
08:53:20 [fantasai]
dbaron: ... yes, I think that makes sense
08:53:27 [fantasai]
fantasai: So should we fix this?
08:53:42 [fantasai]
dbaron: So Gecko does what the spec says in this case and it looks stupid
08:53:49 [dbaron]
http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!DOCTYPE%20html%3E%0A%3Cp%20style%3D%22line-height%3A%202%22%3Ethis%20is%20a%20%3Cspan%20style%3D%22unicode-bidi%3A%20bidi-override%3B%20direction%3A%20rtl%3B%20border%3A%20medium%20solid%20green%22%3Eabcde%3Cbr%3Efghij%3C%2Fspan%3E%20text.%3C%2Fp%3E
08:53:49 [fantasai]
fantasai: I think someone said IE9 does what we're proposing
08:54:37 [fantasai]
plinss: bidi was so broken in CSS2.1 that I don't think there's a backwards-compat issue
08:55:05 [fantasai]
sylvain loads the testcase
08:55:11 [fantasai]
dbaron: That's what fantasai said it should do
08:55:32 [fantasai]
bunch of ppl gather around dbaron and sylvain's laptops
08:56:11 [dbaron]
so Elika's proposal sounds good to me
08:57:49 [fantasai]
RESOLVED: Fix this in CSS2.1 and CSS3 Writing Modes
09:01:33 [fantasai]
Meeting closed.
09:03:20 [danield]
danield has left #css
09:15:14 [fantasai]
RRSAgent: pointer
09:15:14 [RRSAgent]
See http://www.w3.org/2011/06/02-css-irc#T09-15-14
09:15:29 [fantasai]
RRSAgent: make logs public
09:23:18 [TabAtkins]
TabAtkins has joined #css
09:45:32 [szilles]
szilles has joined #css
09:48:40 [sylvaing]
sylvaing has joined #css
09:58:33 [jdaggett]
jdaggett has joined #css
10:14:40 [boblet]
boblet has joined #css
11:21:34 [szilles]
szilles has joined #css
11:46:56 [myakura]
myakura has joined #css
11:48:40 [Martijnc]
Martijnc has joined #css
12:27:12 [sylvaing]
sylvaing has joined #css
12:34:20 [szilles]
szilles has joined #css
12:49:56 [Ms2ger`]
Ms2ger` has joined #css
13:04:33 [jdaggett]
jdaggett has joined #css
13:19:48 [karl]
karl has joined #CSS
13:23:49 [szilles]
szilles has joined #css
14:04:01 [plinss]
plinss has joined #css
14:05:15 [alexmog]
alexmog has joined #css
14:11:29 [arron]
arron has joined #css
14:42:08 [szilles]
szilles has joined #css
15:07:03 [arno]
arno has joined #css
15:07:43 [boblet]
boblet has joined #css
15:11:27 [arronei]
arronei has joined #CSS
15:16:25 [arronei]
arronei has joined #CSS
15:27:47 [arronei]
arronei has joined #CSS
15:50:57 [lhnz]
lhnz has joined #css
15:54:07 [szilles]
szilles has joined #css
15:58:37 [lhnz]
lhnz has joined #css
16:14:13 [lhnz]
lhnz has joined #css
16:17:20 [arno]
arno has joined #css
16:17:44 [lhnz]
lhnz has joined #css
16:29:02 [lhnz]
lhnz has joined #css
17:08:53 [szilles]
szilles has joined #css
17:44:36 [konaya]
konaya has joined #css
18:00:33 [arno]
arno has joined #css
18:22:12 [szilles]
szilles has joined #css
18:51:38 [mg]
mg has joined #css
19:01:47 [arno]
arno has joined #css
19:15:03 [mg]
mg has left #css
19:39:49 [szilles]
szilles has joined #css
20:46:05 [arno]
arno has joined #css
20:52:40 [szilles]
szilles has joined #css
20:59:03 [arno]
arno has joined #css
21:00:29 [arno]
arno has joined #css
21:02:15 [Sidnicious]
Sidnicious has joined #css
21:02:50 [Sidnicious]
Hey. I'm trying to figure out how to express something with the flexible box model. Here's an example that works in WebKit/Gecko: http://jsbin.com/upino6/
21:03:57 [Sidnicious]
Essentially, I'd like the lower element to take up the extra space when there is extra space, but I'd like the upper element to gain a scrollbar and stay on screen when there isn't enough space, so that the body does not have a scrollbar.
21:04:09 [Sidnicious]
Would that be possible?
21:22:04 [sylvaing]
sylvaing has joined #css
21:42:03 [arno]
arno has joined #css
22:08:37 [szilles]
szilles has joined #css
22:14:14 [myakura]
myakura has joined #css
22:30:26 [boblet]
boblet has joined #css
22:34:45 [sylvaing]
sylvaing has joined #css
22:43:37 [dbaron]
dbaron has joined #css
22:52:52 [homata]
homata has joined #CSS
23:11:19 [arno]
arno has joined #css
23:21:53 [szilles]
szilles has joined #css
23:54:34 [TabAtkins]
TabAtkins has joined #css
23:58:26 [dbaron]
dbaron has joined #css
23:59:06 [sylvaing]
sylvaing has joined #css