01:38:43 RRSAgent has joined #CSS 01:38:43 logging to http://www.w3.org/2010/09/23-CSS-irc 01:38:48 Topic: CSS3 Text 01:39:01 Present: Murakami-san, Ishii-san, fantasai 01:39:04 Scribe: fantasai 01:39:09 ScribeNick: fantasai 01:39:42 M: The line breaking strictness and word-break should be separate properties 01:39:47 M: The old version is better, with two properties 01:40:53 M shows a proposal from Toppan Printing and Sony Corp for EPUB requirements 01:41:40 M: They propos characters-not-starting-line property and characters-not-ending-line property 01:41:46 f: um..... 01:43:09 M: They have a default 'none' value. I think the default value should be 'auto' 01:44:25 f: I would prefer to have Kobayashi-sensei define several levels of strictness 01:44:39 f: If individual character control is needed by some people, that can be an additional level of control. 01:45:52 I: If I think about authors writing HTML with text editors, I agree with you. 01:50:02 I: But if I assume most users will be using editing tools, each can have different preset 01:50:45 f argues that CSS is a dynamic layout format, and this level of control is excessive when you can't even control the font size 01:53:19 [unminuted discussion] 01:56:31 also that authors shouldn't have to deal with this low-level of control 02:15:09 discuss having line-break: loose \ normal | strict and having a separate property as a diff against the default set of restrictions 02:41:14 We study a matrix of breaking options 02:41:27 CJK breaking restrictions on one axis, non-CJK breaking restrictions on another 02:41:40 question is, do we need two properties, or is one linear axis of strictness enough 03:01:32 Current proposal: 03:01:44 break-non-CJK: break-all | hyphenate | keep-together 03:01:55 break-CJK: newspaper | normal | strict | keep-together 03:02:01 defaults are 03:02:06 break-non-CJK: keep-together 03:02:11 break-CJK: normal 03:02:42 break-CJK: keep-together is used for Korean and (known to be) non-CJK texts 03:02:47 Discuss naming and IE compat 03:02:51 Current proposal: 03:02:59 word-break: break-all | hyphenate | normal 03:03:10 ine-break: newspaper | normal | strict | keep-all 03:03:14 s/ine/line/ 03:03:32 This is compatible with IE except that IE's "word-break: keep-all" is "line-break: keep-all" 03:03:49 The change is so that one property deals only with non-CJK and one property deals with only CJK -- it is a more logical division 03:04:04 Question: how are fullwidth characters treated? As CJK or non-CJK? 03:04:18 Murakami-san and Ishii-san suspect as CJK. UAX14 confirms. 03:11:17
04:05:53 M and I are studying the white-space controls in css3-text 04:17:21 Topic: text-emphasis 04:17:37 fantasai reviewed Ken Lunde's chart of emphasis shapes 04:17:49 suggested syntax: 04:18:21 [ filled | open ] || [ dot | circle | double-circle | triangle | sesame ] 04:18:55 Suggestion to rename "filled" to "solid" 04:19:02 But it is confusing with double-circle 04:19:18 Ishii-san also points out it could be confused with a solid-stroke circle vs. dotted-stroke circle 04:19:24 Seem to be settling on "filled" 04:19:49 Filled is the default 04:20:10 If the shape is left out, then it computes to "dot" in horizontal writing mode and "sesame" in vertical writing mode 04:25:42 Murakami-san notes that we need text-emphasis-color 04:25:55 Discussing options for text-emphasis-position 04:26:01 current values in the spec are before | after 04:26:23 but does this make sense in Mongolian writing mode, where the before edge doesn't coincide with the "top" edge of the line? 04:26:51 Ishii-san suggests an 'auto' value, that maps from the language to the correct side 04:27:01 Japanese uses above in horizontal; Chinese uses below 04:28:00 We would need a chart in the spec 04:33:19 probably use "before" for Japanese and traditional chinese, "after" for everything else 04:33:32 (We have examples of Tibetan text using after.) 04:34:48 Question: Should text-emphasis marks be applied to punctuation? 04:39:08 JLTF document says not to apply them to commas, full stops, opening brackets (cl-01) or closing brackets (cl-02) 04:39:56 should also skip spaces 04:40:59 If text-emphasis dots conflict with ruby, they should be skipped 04:41:33 alternatively, the ruby or dots sides can be switched? 04:42:49 Settled on making the dots go away; it's the author's responsibility to use text-emphasis-position or ruby-position to avoid such conflicts 04:48:00 Proposed starting point: follow suggested rules for which punctuation gets emphasized in JLTF document. All punctuation not mentioned in that document gets skipped. 04:53:26 Back to text-emphasis-position 04:58:25 and the fact that in Mongolian text the before edge is on the left but the top of a line is on the right 04:58:30 Suggestion: 04:58:35 text-emphasis-position: above | below 04:58:52 to avoid confusion with 'before' and 'after' terminology 05:01:32 Changed to above | below, marked as issue for feedback 05:01:47 Would need corresponding changes to css3-ruby, though. 05:02:46 shepazu has joined #css 05:03:38 Question: should emphasis dots factor into the line height? 05:03:51 f suggests it should follow the same rules as for ruby, whatever those are 05:04:47 fantasai: just turning in, though... attending Web Directions USA in Atlanta 05:05:11 that makes sense... I personally don't think that any glyph characteristics should factor into line height, only the "glyph/character cell" and the font size 05:11:26 Discussing justification now 05:11:46 M asks what inter-word is for. It's for e.g. Latin texts, where CJK should not space out 05:11:55 M and I want more details for auto 05:12:10 f suggests providing examples; doesn't want to recommend anything because there are many different ways of being smart 05:13:55 Discuss kashida value. 05:14:07 It's for Arabic, which has two methods of justification: stretching glyphs, or stretching spaces 05:14:18 "clustered" should probably shift to 3rd priority 05:14:28 Everything except those two would be a fallback case 05:20:01 Discussion of what would be a good default justification algorithm for all scripts 05:20:11 Probably like distribute, but with "discrete" dropped to 2nd priority 05:25:34 Ishii-san suggests having that as an example for 'auto' to encourage UAs to do something that works better for non discrete scripts 05:33:18 Murakami-san draws up the chart for this 05:33:38 M: This should be the baseline. The UA can do better, but this would be the suggestion in the chart 05:34:02 fantasai notes to self that the "connected" and "cursive" categories probably should be last priority for all groups... 05:35:01 Note to previous discussion: add as possible value for text-emphasis-style 05:46:00 short break 05:46:04 Topic: punctuation-trim 05:46:37 fantasai, can I make the log public? 05:46:41 oh 05:46:42 yeah 05:46:48 I forgot to do that 05:46:52 RSSAgent, make log public. 05:46:58 It's publicly logged at krijnh's site anyway :) 05:47:04 RRSAgent, make log public. 05:47:15 RRSAgent: make logs public 05:47:42 M: Current draft is ok, but we need more options 05:48:01 M writes "start-except-first-line" 05:48:45 f: We had a previous version that had none | start | start-edge | end-edge | hyphens 05:48:59 f: oh wait, that's hanging-punctuation 05:49:18 M pulls up an example 05:49:44 kennyluck has joined #CSS 05:50:57 M: Here is some plaintext. Paragraph breaks represented by line breaks, indent represented as space 05:51:08 M: Open parentheses replaces the indent space 05:51:47 f: you could handle that type of formatting, if you had markup, with hanging-idnent: start 05:54:33 s/start/first/ 05:56:24 p { 05:56:28 margin: 0; 05:56:32 text-indent: 1em; 05:56:35 hanging-punctuation: first; 05:56:39 punctuation-trim: start adjacent end; 05:56:41 } 05:56:49 (M writing into his notebook) 06:00:12 M: This works if I have correct markup with

and use text-indent for indentation 06:00:28 But if someone is using ideographic space for indentation 06:00:38 Then a fullwidth opening bracket should not be trimmedon the first page 06:01:18 Ishii-san, fantasai: This is incorrect markup. The space should not be there. The text should be transformed to correct markup. 06:02:28 Ishii-san, fantasai: Run a preprocessor. 06:02:39 on the source 06:09:34 Topic: text-justify-trim 06:10:18 http://www.w3.org/TR/2003/CR-css3-text-20030514/#text-justify-trim-prop 06:11:07 f: How does this interact with punctuation-trim? 06:11:56 M: This interacts with line-breaking 06:39:55 whiteboard work 06:40:10 Draw a bunch of boxes. One half-width box with a bracket followed by a fullwidth bracket 06:40:17 one box on the second line 06:40:26 two half-shaded boxes (trimmable) on the first line 06:40:33 Notes on conclusions: 06:41:00 * First, apply punctuation-trim. (This is like kerning; it effectively changes the width of the characters.) 06:42:59 * If everything fits perfectly, no text-justify-trim 06:43:13 * If hanging punctuation solves the gapping problem, no tjt 06:43:38 * If tjt would prevent gap at end of line, apply tjt. Does not have to be in fixed increments: arbitrary trimming amounts ok. 06:43:51 * Q: relative priority to other justification methods? 06:44:03 Suggestion: text-justify: inter-ideograph punctuation-trim; 06:44:31 Define relative priority in text-justify definition/charts 06:44:44 * Japanese (CJK?) favors compression. Other scripts favor expansion. 06:45:06 * tjt might be applied even when not justifying 06:45:13 text-justify: punctuation-trim; ? 06:46:57 i.e. if text-align is not justify and text-justify has punctuation-trim, apply the trim? 06:47:19 RRSAgent, make minutes. 06:47:19 I'm logging. I don't understand 'make minutes.', kennyluck. Try /msg RRSAgent help 06:49:10 RRSAgent, draft minutes. 06:49:10 I'm logging. I don't understand 'draft minutes.', kennyluck. Try /msg RRSAgent help 06:49:18 RRSAgent: make minutes 06:49:18 I have made the request to generate http://www.w3.org/2010/09/23-CSS-minutes.html fantasai 06:49:30 kennyluck: he's fussy about punctuation :) 06:49:43 RRSAgent、make minutes 06:50:12 Huh 06:51:57 kennyluck: that looks like ideographic comma. 06:52:01 kennyluck: try ascii comma 06:52:02 :P 06:52:18 M: Maybe text-justify: avoid-trim; 06:52:26 M: Allow punctuation-trim by default 06:53:21 f: Doesn't make sense for most other scripts. 06:53:56 Do we want inter-ideograph to punctuation-trim by default? 06:54:46 f: What if you want inter-ideograph without punctuation-trim? 06:55:45 ... 06:56:04 M: Default of punctuation-trim is 'none'. That's not good for Japanese layout. You want "start adjacent end" 06:56:21 M: You also would want text-justify: inter-ideograph punctuation-trim; for Japanese 06:56:46 M: But that doesn't need to be the default 07:01:04 Looking at punctuation-trim. Is there a problem with making the default not 'none'? 07:01:23 Some trimmed characters are not FULLWIDTH characters, but are stndard punctuation, which may not be full width 07:05:10 :lang(ja) { punctuation-trim: start adjacent end; } 07:06:06 We should add an Appendix with suggested rules for the default style sheet 07:06:20 this can be one of them 07:07:12 We could even do this instead of the 'auto' value for text-emphasis 07:07:32 although that might not work so well if we have a shorthand that resets text-emphasis-position... 07:13:32 Murakami-san writes into his notebook: 07:13:49 text-justify: auto | [ [inter-word|...] || trim ] 07:14:02 text-justify: trim; means prefer trimming, but do auto 07:14:13 auto is allowed to use trim, although it should be careful about when it does so 07:14:18 trim means prefer compression to expansion 07:14:26 and allows trimming of punctuation 07:14:53 text-justify: inter-word trim; means trim punctuation and compress spaces first priority; if that doesn't work, then expand spaces 07:17:09 Topic: text-autospace 07:17:51 (to close previous discussion, Ishii-san and fantasai will draft something based on above notes, and we will review again with Murakami-san next week) 07:25:39 Looking at definition in old css3-text CR. Not sure what values are needed. Text needs more details (e.g. how much space) 07:27:23 Also doesn't explain what happens when there's punctuation involved at the boundary 07:27:34 IE apparently implements all values (according to MSDN) 07:28:02 This property should have some values to handle French punctuation's non-breaking-thin-space before ! ? and guillemots 07:28:56 U+202F 07:31:10 http://unicode.org/udhr/n/notes_fra.html 07:33:44 anne has joined #css 07:34:25 Random notes: 07:34:39 add text-transform: fullwidth; to transform letters to fullwidth 07:34:46 e.g. acronym { text-transform: fullwidth; } 07:36:47 fantasai asks if text-transform: katakana; is needed to transform hiragana to katakana 07:36:53 Murakami-san doesn't think so 07:37:15 but notes that translating small kana to full-size kana might be necessary for ruby 07:37:54 fantasai: jdaggett mentioned that a good font would have a variant for use in Ruby. Wouldn't it take care of this? 07:41:04 M: rt { text-transform: large-kana; } 07:54:01 Murakami-san notes that automatic transformation of numbers is also needed 07:54:12 e.g. from ASCII to Fullwidth or ASCII to ideographic 07:54:37 fantasai: we also have a font-variant-numeric property 07:55:22 I'm not sure if that's more appropriate or not 07:56:04 We could put it in text-transform and ask jdaggett for comments 08:05:35 side conversation about 08:05:44 Would be useful if it didn't use the dictionary to define its meaning 08:05:49 http://en.wikipedia.org/wiki/Acronym_and_initialism 08:08:45 note that is gone from HTML5 08:08:53 yes, I know 08:08:53 there's only 08:09:36 It would be useful if were defined in a way that it could be used for all abbreviations that get capital letters 08:10:03 because those are styled specially sometimes 08:10:35 sometimes in small-caps in western typography 08:10:44 usually in fullwidth variants in eastern typography 08:10:46 etc. 08:11:28 yeah maybe, people hardly use these elements though 08:12:06 and is only three characters longer 08:13:40 Yeah, if didn't already exist I probably wouldn't think of it 08:13:41 :) 08:17:49 but it does already exist and is implemented, 08:17:54 would be useful in some cases we're discussing 08:20:56 Ok, so summary is new values for text-transform 08:22:02 fullwidth | large-kana | fullwidth-digits | ideographic-digits 08:36:05 Ishii-san is skeptical that the *-digits values are needed 08:36:09 fantasai doesn't have an opinion 08:37:09 Ishii-san: If you convert digits, would you also convert punctuation like commas and slashes? 08:37:20 OS/2 08:37:22 21,200 08:37:25 '98 08:38:35 text-transform: fullwidth transforms anything that has a fullwidth variant into that variant 08:38:40 use markup to restrict scope 08:43:26 text-transform: fullwidth | large-kana 08:44:30 f: could add note wrt large-kana to look into whether font can handle it 08:59:46 break 09:19:45 Murakami-san shows implementation of vertical text with rotated layout 09:19:47 plinss_ has joined #css 09:19:50 width and height are swapped 09:19:55 except for replaced elements 09:20:07 due to UA stylesheet img { writing-mode: horizontal; } 09:20:11 which prevents the rotation of its contents 09:20:43 and the swapping of its width and height properties 09:23:05 correction - the contents dont' rotate if the writing mode stays vertical; the width and height properties just swap 09:23:15 tabatkins has joined #css 09:24:17 Ishii-san thinks it makes sense for the contents to rotate too 09:27:54 Murakami-san shows floats to the left and right 09:27:58 they float to the top and bottom 09:28:16 we probably have to do this even in an absolute coordinate system, because there are no top/bottom floats 09:28:25 (except in gcpm, but most implementations don't support those) 09:28:37 Murakami-san shows repeat-x 09:28:44 in this implementation it stays as repeat-x 09:28:51 which gives a very different effect... 09:29:14 Murakami-san: Have a sizing problem with background-size as well 09:30:01 Murakami-san: and the implementor thinks the image might need to be rotated 09:34:45 fantasai, Ishii-san: whether background image is rotated depends on the image 09:35:54 Ishii-san: If there are rules for transforming, they should transform everything to be consistent and easy to understand. 09:36:29 Ishii-san: The author can then predict what will happen and tweak the style sheet accordingly. 09:37:16 Murakami-san writes: image-orientation-vertical: upright | 90deg 09:38:33 fantasai: You want to control image rotation per image, not per element 09:40:16 Murakami-san: page-break-before: left and right would need to swap 09:40:52 Murakami-san: In this implementation, "right" is "odd-page" 09:48:01 Murakami-san draws a horizontal writing mode box with a top-border inside a vertical text flow 09:48:08 How do the margins map? 09:48:11 How do the borders map? 09:48:31 fantasai: block formatting context is horizontal, box behaves as vertical box 09:48:42 Ishii-san: what about tables? want borders to match contents there. 09:48:55 Ishii-san: Maybe make the boundary the border edge 09:49:10 Ishii-san: so margins match outer context, borders and padding match inner context 09:49:38 Ishii-san: width and height follow inner context, just like replaced elements. 09:50:44 fantasai: Another thing about tables is that there's an outer box and an inner box. 09:52:30 fantasai: so treating the table borders the same as the inner context would not be inconsistent. 09:52:44 Murakami-san: The box with writing-mode change is a very special box. 09:52:56 Murakami-san proposes an anonymous box. 09:53:13 for the writing-mode-switching div. 09:54:49 Murakami-san: outer box has outer writing mode 09:54:58 Murakami-san: The margin is on the outer box 09:55:46 Murakami-san: borders and padding are set on the inner box 09:57:48 Ishii-san: I made a list of properties that could possibly be affected. 09:58:02 Ishii-san: We talked about border and padding and backgrounds 09:58:06 Ishii-san: also have box-shadow 09:58:12 Ishii-san: position 09:58:19 Ishii-san: caption-side could also be an issue 09:58:31 Ishii-san: clear is ok, just like floats 09:58:36 Ishii-san: clip needs discussion 09:58:50 Ishii-san: multi-column is not a problem 09:59:22 Ishii-san: crop is like clip 09:59:24 fantasai: crop? 09:59:27 Ishii-san: css3-content 09:59:37 fantasai: Oh, we're going to cut that out. 09:59:42 Along with most of the rest of the spec :) 10:00:04 Ishii-san: object-position 10:00:26 Ishii-san: float-offset might not need anything 10:00:35 Ishii-san: width/height/etc we discussed 10:00:48 Ishii-san: image-orientation should be discussed 10:01:06 Ishii-san: overflow-x/y needs discussion 10:01:26 Ishii-san: @page size, I think we can easily agree not to rotate in this case 10:01:54 Ishii-san: Do we need to discuss css-3d-transform perspective-origin? 10:01:56 don't know 10:02:21 Ishii-san: rotation, rotation-point 10:02:26 Ishii-san: And template layout 10:02:52 fantasai: uhh, you'd need to transpose the layout...... 10:03:05 Ishii-san: text-align is ok. Text-shadow similar to box-shadow 10:03:26 Ishii-san: form elements and object elements, do they rotate? 10:03:34 Ishii-san: Tables would transpose. 10:03:40 fantasai: yes, certainly 10:04:23 Ishii-san: So basically my idea is that since there are so many properties, and future properties coming every year, just transform the axis and think everything rotates 90deg 10:04:31 Ishii-san: easier than picking which property to rotate 10:05:11 Murakami-san: writing-mode: vertical-transform would mean changing the coordinate system, not just the properties 10:05:23 Ishii-san: My idea is to also rotate the image contents, so it's more than that. 10:07:36 fantasai: whether we define this rotation as a layout thing or as part of a style sheet transformation process, we still have to deal with all these issues 10:10:02 ... 10:10:20 fantasai: If your replaced element is a Flash application, you can't just rotate it like you can with an image 10:14:28 Ishii-san: Back to the image 10:56:58 fantasai writes: 10:57:01 html { 10:57:05 transform: rotate(90deg); 10:57:12 font-variant: vertical; 10:57:13 } 10:57:15 Done. 10:57:30 If we're rotating everything, why don't we actually rotate everything 10:57:42 full-on graphical transform should do the trick 10:57:48 just reset the font 10:57:55 to pretend its vertical 15:54:26 RRSAgent has joined #CSS 15:54:26 logging to http://www.w3.org/2010/09/23-CSS-irc 15:54:41 RRSAgent: make minutes 15:54:41 I have made the request to generate http://www.w3.org/2010/09/23-CSS-minutes.html kennyluck 16:09:51 arronei has joined #CSS 17:54:42 dbaron has joined #css