08:18:05 RRSAgent has joined #css 08:18:05 logging to http://www.w3.org/2008/08/20-css-irc 08:18:11 RRSAgent, make logs public 08:18:24 plh has joined #css 08:18:35 Scribe: Bert 08:18:39 ScribeNick: Bert 08:18:50 Topic: Text layout 08:20:36 Chair: #css 08:20:58 People are setting up the projector. Alex will project a demo. 08:22:05 Picture on the screen shows many combinations of text directions. 08:22:20 Including different positions of scrollbars 08:22:53 Fantasai: I think the scrollbar positions are wrong. Should always be in the same place, for usability. 08:24:11 howcome and glazou arrive 08:24:38 Attendees: howcome, dbaron, glazou, salonir, phillippe, jdaggett, stevez, alexmog, bert, fantasai, anne 08:28:45 s/phil+ip+e/philippe/ 08:29:23 peterl walks by the window, will be here soon we hope 08:32:10 +peterl 08:32:14 +rishida 08:37:59 plinss_ has joined #css 08:39:07 Interlude: quick round the table, now that everybody is here. 08:46:07 Text layout topic postponed. 08:46:13 Topic: CSS 2.1 issues 08:48:17 Topic: CSS 2.1 issue 14 08:48:24 http://csswg.inkedblade.net/spec/css2.1#issue-14 08:48:48 David: Proposal needs replacing. The condition it includes is always true. 08:49:36 David: Issue is when element's top & bottom collapses in presence of min-height. 08:50:22 David: If min-height happens to be exactly the intrinsic height, spec currently says margins don't collapse. 08:50:58 Fantasai: My proposal: don't say less than or equal, but say "effecting height." 08:51:24 s/effect/affect/ 08:51:34 Fantasai: Bert had some reference to another part of the spec. which might help as well. 08:52:15 Fantasai: alternate proposal, change "less than" to "not affecting" and "greater than" to "not affecting" 08:52:29 Steve: David, are you concerned about the word "affect"? 08:52:33 David: Yes. 08:52:57 Steve: True that height is *always* affected by min-height in a sense... 08:53:10 http://lists.w3.org/Archives/Public/www-style/2008Jul/0586.html 08:53:30 Fantasai: This is Bert's message. 08:53:57 ACTION: dbaron write new proposed text for Issue 14 08:53:58 Created ACTION-91 - Write new proposed text for Issue 14 [on David Baron - due 2008-08-27]. 08:54:31 Peter: Issue also affects max-height. 08:54:39 David: Yes, the action applies to that as well. 08:55:16 Peter: Are we sure everybody agrees with the behavior, apart form the wording? 08:55:28 David: I can make text before the end of this ftf. 08:55:54 Daniel: Let's try to come back to this tomorrow then. 08:56:23 RESOLVED: to change spec so that case where auto height is equal to min/max height margin collapsing is not disabled. Exact wording to be determined later 08:56:29 http://csswg.inkedblade.net/spec/css2.1#issue-42 08:56:32 Topic: CSS 2.1 issue 42 08:56:58 Fantasai: About static position, should also include assumed 'clear: none' 08:57:24 Fantasai: I have no opinion. 08:58:05 David: I don't like to think about that... 08:58:13 The suggested addition matches what most UAs do, with the exception 08:58:13 of IE7, but IE8 beta 1 seems to match other UAs now. See [1] for 08:58:13 test details. 08:58:20 er that's not the testcase url 08:58:25 https://bugzilla.mozilla.org/attachment.cgi?id=308701 08:58:31 Fantasai: I have a test case that shows that clear is not honored when finding static position. 09:00:34 Fantasai: The second blue has the same 'clear' as the first, but is positioned. You can see the second blue is not pushed down as the first one is. 09:01:21 Alex: The easier it is to compute the static position the better. 09:01:33 Alex: Ignoring clear thus seems right thing to do. 09:01:56 Fantasai: No opinion on whther it is better, but at least we have more interop that way. 09:02:25 Steve/Daniel: Still confused about what it means... 09:02:59 David explains the basic case, 'position: absolute; top: auto' 09:03:10 r12a has joined #css 09:03:39 Steve: It does seem to make sense to use the initial valiue of clear... 09:04:09 Fantasai: It makes it easier to express that to say "as if clear had been none." 09:05:25 Alex: A number of things happen, becomes block, taken out of flow... so concept of where it *would* have been becomes dificult. 09:05:46 I was saying that if you consider that there may have been text/margins after the cleared-positioned element, then it gets complicated to figure out the static position 09:05:51 Alex: Who wants to guess at where it would have been if it had floated!? 09:06:39 Alex: For 'display: block', logic is fairly simple: the static pos. is on the next line. For clear there is more work to do. 09:06:57 David: It's not that much more complicated, just yet another thing to look at. 09:07:14 Peter: And 'clear' can make things move *up* can't it? 09:07:27 Fantasai: We ficed the spec that that doens't happen anymore. 09:07:38 s/ficed/fixed/ 09:08:12 David: The spec also says that the UA is free to approximate the position... 09:08:57 glazou has joined #css 09:09:02 yoooooo 09:09:39 jdaggett has joined #css 09:10:09 ah port 80... 09:11:47 Proposal strawpoll: 3 yes, rest abstains 09:12:07 plinss_ has joined #css 09:14:02 Anne: We're probably OK with changing to the proposal... 09:14:34 People are looking at Opera's behavior. Opera seems to apply clear, but also seems to have some problem, maybe with margins. 09:14:54 Firefox ignores the clear. 09:15:30 Opera has no interoperability issue, it only has a bug :-) 09:16:24 IE7 behavior appears difficult to interpret. 09:16:45 Webkit is compatible with Firefox 09:17:02 glazou: apparently the proposal makes sense to all browser vendors 09:18:01 Daniel: Seems we have implementations and promises of change, so we can accept the proposal. Is that correct? 09:18:24 Alex: IE8 *does* ignore clear, what you see is an artifact of something else. 09:18:31 RESOLVED: accept proposal for Issue 42 09:19:10 Topic: CSS 2.1 issue 53 09:19:22 http://csswg.inkedblade.net/spec/css2.1#issue-53 09:19:43 How does justification work in pre? 09:21:13 Topic: CSS 2.1 issue 60 09:22:16 The issue is described in a 25-page document... 09:22:26 http://csswg.inkedblade.net/spec/css2.1#issue-48 09:22:27 Topic: CSS 2.1 issue 49 09:22:38 Topic: CSS 2.1 issue 48 & 49 09:22:42 http://csswg.inkedblade.net/spec/css2.1#issue-49 09:23:01 s/Topic: CSS 2.1 issue 49// 09:23:51 dbaron: goal is to use the next available bolder/lighter font 09:24:02 dbaron: definition of computed value used to be incompatible with this 09:24:13 dbaron: we fixed this, but didn't remove the old text completley 09:24:31 David describes issue. Computing 'bolder' involves stepping to next available weight. But computed value may be a non-existent weight. Not all text in spec was corrected to reflect that. 09:25:13 David: You don't know the available weights and there may also be multiple fonts involved in an element. 09:25:17 jdaggett: Windows has problems with weights. In Windows you have only two weights. On Mac this is more of an issue 09:25:48 glazou does not like the way computed values for font-weight is a tuple when the property takes a single value. 09:26:05 glazou: If the computed value is not a valid value, it is very complex 09:26:21 jdaggett: we have a similar issue with font-stretch, where we have wider and narrower 09:26:29 Daniel: I don't like that value is one keyword, but computed value can be *two* keywords. You cannot write down the computed value. 09:26:31 dbaron: whatever we decide for font-weight should also apply to font-stretch 09:26:59 dbaron: the other issue is that the way multiple occurrences of bolder/lighter compound with each other isn't really defined in the spec 09:27:07 David: Spec is unclear about sequences of multiple bolder and ligher. 09:27:17 dbaron: you could view the computed value of font-weight as a base weight followed by an ordered sequence of bolders and lighters 09:27:43 dbaron: or you can see it as the sum of bolders and lighters, e.g. bolderx3 or lighterx2 09:27:56 dbaron: this gives different results 09:28:23 John: Have to carry around complex datastructures for cases that never happen. 09:29:08 John: Want to make it simpler. Bolder just bumps the weight by two steps. 09:29:09 John: We should do something simpler. 09:29:28 John: 400 to 500 usually won't trigger a bolder font 09:29:43 John: bumbing it up to 600 will get you a bolder font, because 500 falls back to normal 09:31:43 Discussion about stepping by 100 or 200 and what the effect is if font has *all* weights (synthesized, e.g.). 09:31:51 dbaron: there's three options for what the computed value should be 09:31:59 David draws on white board. 09:32:10 dbaron: Option A, which was vaguely implied in CSS2, is it's some value 100-900 09:32:28 David: option A: computed value is a single number 100-900 09:32:33 dbaron: Option B, it's some value 100-900 and then an integer representing the number of bolders/lighters applied 09:32:45 dbaron: option C, it's value 100-900 and then a sequence 09:33:06 dbaron: Difference between B and C ... 09:33:20 David: option B: number 100-900 plus the sum of the bolders (+100) and lighters (-100) 09:33:49 David: Option C: weight 100-900 and *sequence* of steps bolder and lighter. 09:34:12 David: Options B and C are not the same, depending on the fonts. 09:34:28 [jing] B 09:34:46 David: Option C is more complex. 09:35:03 Steve: Now I understand why this is an edge case... :-) 09:35:42 C is better, right, but it's also totally crazy and means nobody will ever use the computed value of font-weight 09:36:06 John: The computed style is not itself a useful value in options B/C. 09:36:45 Steve: There are many fonts where weights differ in only one step (100). 09:36:54 :) 09:37:48 glazou: a lot of websites use 'bolder' rather than 'bold' 09:38:07 Daniel: Many people who use 'bolder' expect to go from 'normal' to 'bold'. 09:38:27 dbaron: For GetComputedStyle, there are manyt hings you could do. You could look up the fonts and return a numeric value. 09:38:33 dbaron: I'm more concerned about what inherits. 09:39:40 Steve: If you mix fonts, option C seems overly complex for little gain in practice. It's the theoretically right way, but is it worth it? 09:40:01 David: I think there are problems with C as well. 09:40:30 Peter: Say you have a set font. Later you go bolder. Inside that you go lighter. Shouldn't you be back where you started? 09:40:41 Peter: After 'bolder' and 'lighter', don't you expect to be back where you were? 09:42:22 Steve: 'bolder' is more reliable, because fonts don't always have bolder weight at 700. 09:42:42 Daniel/David: I expect many people use 'bolder' and 'bold' as synonyms. 09:42:52 glazou: most web authors don't even know 100-900 values exist... 09:44:13 Peter: Saying normal and then bolder, the author expects to see something bolder if it exists, so just bumping by 100 doesn't work. 09:45:25 Peter: Trick I used was encoding B all in a single integer, something like 101 stands for weight 100 + 1 times bolder. 09:45:54 David: The spec has been modified many times and not always consitently. 09:46:13 dbaron notes that GetComputedStyle doesn't return the "computed style" in the CSS2.1 sense, but rather the "computed style" of the CSS2 spec, which is more like the "used style" of CSS2.1 09:47:03 David: The text I want to remove is that, if there is no darker font, the computed value is bumped by 100. 09:48:12 ... because it is leftover from before we fixed the computed value to use a tuple 09:48:13 Peter: If the OS *can* make an arbitrary weight, then that is what the UA should use. 09:49:45 David: There were two parts to this issue: removing the text just quoted about unavailable weight, and chosing between options B and C. 09:50:36 John: if you have bolder, bolder, lighter and only two weights available, with B you get bold, with C you get normal 09:50:43 John: One typical question is what we expect after normal + blder + bolder + lighter: If font has one bold only, are we back at normal? 09:50:53 http://hixie.ch/tests/adhoc/css/fonts/weight/ 09:51:07 s/blder/bolder/ 09:51:49 http://www.hixie.ch/tests/adhoc/css/fonts/weight/002.xml 09:52:11 http://hixie.ch/tests/adhoc/css/fonts/weight/002.html 09:52:18 (works prolly better in IE) 09:52:44 http://dbaron.org/css/test/2008/font-lighter 09:52:57 David gives a simpler test. 09:54:40 Moz is bold, Opera is normal, Safari is normal. 09:55:49 Peter: What does the author expect in this case? 09:57:29 Peter rephrases the difference between C and B. Does 2 bolder + 1 lighter end up at normal or at bold (if font has only one bold)? 09:59:06 John: There are few systems in practice with fonts with multiple weights. Basically only some Macs. 09:59:51 Hakon: We need to cater for higher quality fonts, there will be more of them. 10:00:37 Steve: Many fonts have weights that are not normal and bold, has to support those. 10:01:02 Fantasai: We can't really answer the question what an author expects after bolder+bolder+lighter? 10:01:08 s/\?// 10:01:17 because we have no web designers here today 10:01:33 SteveZ: the other important question is should bolder+lighter give you back the normal font? 10:02:15 SteveZ: the sequence won't always do that, if e.g. there is no bolder font but there is a lighter font 10:03:08 Should we take a B vs. C straw poll? 10:03:20 yes 10:03:26 Steve: Think e.g., about the case that there is no bolder, but there is a lighter one. In option C, normal + bolder + lighter will give you that ligher one, not the normal one. So option C is not correct for this case. 10:04:06 Philippe: Maybe this is not worth fixing in the time scale for CSS 2.1. 10:06:00 Discussion about whether it is important (and if so, when) that computed value is a "string" in CSS syntax. 10:06:18 It's an issue for the DOM, is it also for CSS 2.1? 10:07:17 Daniel: Should we do a strawpoll? 10:07:56 Anne: abstain 10:08:00 fantasai: B 10:08:08 Bert: 60% B 40% C 10:08:22 SteveZ has joined #css 10:08:24 John: The behavior and the syntax of the computed value are separate questions. 10:08:28 Rcihard: abstain 10:08:31 Alex: C 10:08:33 Peter: B 10:08:36 Steve: B 10:08:38 John: B 10:08:44 Phillippe: Abstain 10:08:48 Saloni: Abstain 10:08:57 Daniel: 60% B 40% C 10:08:59 David: B 10:09:03 Howcome: B 10:10:44 glazou: Add a note saying that GetComputedStyle is unpredictable for anything aside from normal and bold 10:11:25 John: IE already has an extesnion to getcomputedstyle for the font weight. 10:11:59 Daniel: Seems we have preference for B, but do we have consensus? 10:12:12 Peter: My concern is what happens when we start getting rich fonts with multiple weights. 10:12:26 Peter: I want to be sure that result is intuitive for fonts with more than two weights. 10:13:22 Peter: Imagine a font with seven weights and he does lots of 'bolder' and maybe one lighter, but then the page gets displayed on a system with just one bold. 10:14:14 Peter: We need to describe what we want 'bolder' to really *mean*. Different people have a different interpretation. 10:14:51 Daniel: Take a break and come back a bit later? 10:15:08 Fantasai: Could ask Molly and Jason, but maybe can also just resolve it now. 10:15:14 RESOLVED: Accepted proposal for Issue 48 10:15:19 (49 still open) 10:15:43 [Break 15 mins] 10:28:54 shepazu has joined #css 10:33:44 Daniel: Extra agenda for Friday: charter 10:34:29 hi doug 10:34:40 Daniel: ... about process, milestones, etc., and explaining things to Philippe. 10:35:32 Back to issue 49. 10:35:55 Alex: Not sure the implementations will want to change. 10:36:14 Peter: How about in a future version? 10:37:02 Alex: Maybe designers should avoid 'bolder' and 'lighter' and we should say so in the spec. 10:37:29 Alex: Because it may have effect on soem systems and not on others. 10:38:40 Richard: You were trying to find out how people use it. Should maybe ask that of some actual users. 10:39:30 John: We're defining edge case behavior. Should not say "don't use this" because in a world with two weights, it works as expected. 10:40:34 Fantasai: Even if we don't say anything in level 2, we should be precise in level 3. 10:40:58 Philippe: But there is something in level 2 already. 10:41:02 glazou has joined #css 10:41:39 John: How about font-stretch: wider? 10:41:52 http://www.w3.org/blog/CSS/2007/08/29/backlog_resolutions 10:42:09 "RESOLVED: The Markus Principle: ..." :) 10:42:13 Peter: Only reason to not define in CSS 2.1 mightbe that we have differing implementations. 10:42:47 Peter: But still want to decide what we'll have in level 3, even if we leave level 2 undefined. 10:43:04 Alex: Feedback from designers is necessary here. 10:43:20 Fantasai: Can Peter take an action to ask Molly and others? 10:44:27 Discussion about leaving it undefined in level 2 and under what conditions. 10:44:32 myakura has joined #css 10:44:46 Fantasai: OK with leaving CSS 2.1, as long as we decide what to do for level 3. 10:45:20 Daniel: Or just say that we will resolve for level 3, without saying what way. 10:45:43 SteveZe: "A sequence of bolders and lighters may have different results in different UAs." 10:45:51 Steve: We can put a note that sequences of bolder and lighter may have different results on different sstems. 10:46:03 Fantasai: add that this will be defined in CSS3 10:46:40 Daniel: "Seq. of bolder and lighter may have unpredictable result in level 2, but will be defined in level 3." 10:46:47 Peter: Add dependence on UA, OS, and font availability 10:46:58 Peter: So authors know how widely they need to test 10:47:05 ACTION: fantasai Draft a note 10:47:06 Created ACTION-92 - Draft a note [on Elika Etemad - due 2008-08-27]. 10:47:33 RESOLVED: Leave undefined in CSS2.1, add note as described above 10:47:40 for ISSUE 49 10:48:08 ACTION: Peter Consult Jason, Molly, other web designers, about what is expected behavior for bolder + lighter, bolder+bolder+lighter 10:48:08 Created ACTION-93 - Consult Jason, Molly, other web designers, about what is expected behavior for bolder + lighter, bolder+bolder+lighter [on Peter Linss - due 2008-08-27]. 10:48:43 Philippe: Can you add an issue on CSS3 Fonts about this, so that it doens't get lost? 10:48:57 Fantasai: Doing it right now... 10:49:58 Philippe: And can you add the test cases to that issue? 10:50:30 ISSUE-61 recorded against CSS3 Fonts 10:51:01 Topic: CSS 2.1 issue 52 10:51:25 http://lists.w3.org/Archives/Public/www-style/2008Aug/0154.html 10:51:52 http://csswg.inkedblade.net/spec/css2.1#issue-52 10:53:07 Issue is about practice of putting page-break on BR, which is not allowed by spec (unless BR is made a 'block') 10:53:32 David: Seems page-break is a bit like clear, for which we allow UAs to apply it to inlines. 10:53:58 Alex: Think it should apply only to BR, not to all inlines. 10:54:12 Bert: What is the difference between BR and SPAN? 10:55:34 Alex: Not a lot of interoperability on BR, e.g., applying :before to it. 10:55:36 br { content: '\A'; white-space: pre; } 10:55:53 but need to make 'clear' apply specially 10:56:06 Anne: That (Fantasai's rule) is what Opera does, 10:56:08 Anne: That's how Opera implements
10:56:49 Alex: What is the size and position of BR in Opera in DOM? 10:57:17 Fantasai: Same as with a line feed... 10:58:09 Daniel: A 'page-break-before' on BR puts a blank line at the top of the page. 10:59:09 Steve: Whether page break applies shoudl depend on how the elt is styled, in particular whether it is block-level. 11:00:29 Daniel: One use case is a BODY consisting of nothing but text and BR. Want to break page at some BR. 11:00:51 ... or
 and 
11:00:59 Daniel: Users of word processors often work like that: turn some line break into a page break. 11:01:19 (Opera's behavior with respect to the interaction of 'content', 'clear', and
is slightly weird.) 11:01:41 Steve: 'last-line-align' applies to last line before the BR. 11:01:41 (The moment you use 'content' on
it no longer has special 'clear' behavior, even if it is "\A".) 11:02:19 Steve: So it looks also like a natural break point. It *looks* like a paragraph. 11:03:03 Daniel: BR could be used for page breaks as well. HTML doesn't have a page break element, but could imagine
11:03:14 fantasai: The same applies to '\A' in a white-space: pre element 11:03:39 Saloni: What if we apply page breaks to all elements, not only block-level? 11:04:17 Fantasai: We would make an exception for HTML: page break applies to block-level, except in HTML it also applies to... 11:05:21 Steve: Everywhere where last-line-align applies should also accept page break properties. 11:05:40 fantasai, (since people are talking) you could just define some special construct and then HTML5 says that
is such a construct 11:05:43 David: Lines in PRE also have last-line-align' applied. 11:05:46 fantasai, then magic langauges work too 11:06:07 David: Which of many "last" lines has the page break applied to? 11:07:26 Fantasai: Imagine a pre, *all* lines would have page break properties applied. 11:07:54 Steve: The alternative is that 'last-line-align' doens't apply. 11:08:20 Fantasai: The 'last-line-align' applies because there is a forced line break. 11:08:45 Steve: I wouldn't call that an inline element. 11:09:45 David: Maybe the term [inline] is not fully intuitive, but it *is* precisely defined. 11:11:11 Daniel: What about some XML format (because there are many now), where I want to turn some element into a page break? Think MS Word. 11:11:51 Alex: Many cases: line breaks, page breaks, paragraph breaks, and any of there with or without last line behavior. 11:11:54 s/langauges/languages/ 11:12:04 Alex: Seems we need 'display: break' 11:13:23 Peter: Steve's argument is a negative argument. He says *if* we do this then we have to do that. Not that we have to do "that." 11:14:10 Anne: Just adding 'display: block' when needed to make an element into a page break element is not a big deal. 11:14:37 Daniel: Consider editing perspective. It's easy to insert an empty element. 11:14:59 br { white-space: pre; content: '\A'; } 11:15:07 Fantasai: Just insert an empty element with both page break and display:block 11:15:15 br[type="page"] { display: block; content: none; page-break-before: always; } 11:15:49 Daniel: But we can't reproduce HTML's BR in XML. 11:16:12 Hakon: Yes you can, the sample style sheet shows how. 11:17:07 Fantasai: Anne and I are saying that you can get the functionality you want in XML. 11:17:21 Fantasai: just without the quirkcs 11:17:46 Anne: Or we introduce an abtract magic element and then any language can decalre that some element act as that magic element. 11:19:29 Several people explain the problem of sequences of BR. The second and subsequent ones cannot be 'block' because they shouldn't collapse. 11:20:03 Hakon: Can solve that with selectors, BR + BR. 11:20:09 http://www.joelonsoftware.com/articles/fog0000000018.html 11:20:32 Fantasai: The quirky behavior of BR is that 'clear' applies. 11:21:08 Peter: Now imagine I want to set 'content' on my BR, I lose the line breaking behavior. 11:21:18 Several: Just add the \A as well. 11:21:42 Peter: I want an extra property, or a 'display' value, for BR. 11:23:09 Hakon: But that doesn't work in current browsers. 11:23:40 Steve comes back to what "inline" means, doesn't think a \A can be called "inline." 11:24:42 Fantasai: So you don't want to call the span in "
foo [linebreak] bar
" inline? In CSS it is defined as inline. 11:25:19 Daniel: The width of the line box before the break is different. 11:25:27 s/[linebreak]/test[linebreak]test/ 11:25:34 Hakon: Really? And does that matter at all? 11:26:22 Daniel: You can ask for the bounding rect of Fantasai's SPAN in the DOM. But it may not be relevant for this discussion. 11:27:13 Saloni: Do we all agree that page break applies to BR, independent of how we explain it? 11:27:32 Bert: No, don't make exceptions for HTML. 11:27:58 Alex: We (IE) have a special 'display' tupe (more or less) for BR. 11:28:29 Hakon: What then happens in IE if I set :before{content:"\A"} on the BR? 11:29:32 Hakon: Is that display type hardcoded? Or can you override it with a style rule? 11:29:45 Steve: Can you change BR to list-item? 11:29:54 Hakon: Should work in Opera, yes. 11:30:28 Peter: How can a user override the rules? 11:31:13 Peter: I like there to be a simple rule to make the BR behave one way or another. Make it not break a line, e.g., 11:31:32 Hakon: That works in Opera. 11:31:56 Peter: I also want the way to override it consistent among browsers. 11:32:17 Daniel: That's not the question we are discussing. We started with page breaks... 11:32:37 Peter: And I don't want to use the 'content' proeprty. 11:32:42 Hakon: Why not? 11:33:27 No resolution for issue 52 right now. 11:34:30 David: If we decide for 'display: break', we can say that it applies to BR and in level 3 we can say that page-break and clear applies to elements with that display type. 11:35:32 Alex: We can just say in 2.1 that level 3 will provide a more generic approach. 11:36:13 Peter: I think we need the Markus principle again, because we cannot define it better in CSS 2.1. 11:37:52 Strawpoll proposed question: Should page-break-before/afetr apply to BR in CSS 2.1? 11:38:10 Peter: Make it more generic, and ask about a BR-like element instead of BR itself? 11:38:25 --
-- 11:38:26
11:38:27
12:29:31 jason_cranfordtea has joined #css 12:36:46 hi jason_cranfordtea!! 12:37:01 hey 12:37:37 jason_cranfordtea: we had a long discussion about font-weight today. I assure you you wouldn't have wanted to listen to it all, but finally it has boiled down to a question for you and Molly. 12:38:06 yeah 12:38:11 I saw that in the transcript 12:38:18 jason_cranfordtea: cool 12:38:36 up, we are restarting the meeting 12:38:37 expected behavior of lighter and bolder 12:38:42 Read: we didn't want to leave the discussion without deciding at least something, and so we decided to ask you :-) 12:38:42 yes 12:38:44 when nested 12:39:05 so it's a question of inheritance? 12:39:16 no 12:39:17 or absolute? 12:39:18 it's a question of 12:39:23 if you have three nested spans 12:39:30 the outer two with 'bolder' 12:39:33 the inner one with 'lighter' 12:39:38 but your font only has two weights, normal and bold 12:39:48 what is the text of the innermost span? 12:39:52 is it normal or bold? 12:39:56 right 12:40:15 that's what I was thinking of 12:40:19 then take that same page and render it with a font that has three weights 12:40:20 let me think of it 12:40:31 the behavior should make sense to the author in both cases 12:40:36 of course 12:41:45 Scribe: SteveZ 12:42:10 We are resuming after a lunch break 12:42:22 Topic: Definition of BR 12:43:35 This discussion is for CSS3 12:44:04 The definition is currently in the Generated Content draft 12:44:44 The content property does not apply to all elements in CSS 2.1 12:45:13 (you need br { content:"\A"; ... } for cases such as
foobar
(possible in XHTML)) 12:45:49 ScribeNick: SteveZ 12:46:25 (You can do that with ':before {content: "\A"} br {content: none}' as well and still be compliant with the sample style sheet from level 2.) 12:46:36 Anne, listing solution mechanisms: 12:47:00 1. treat the HTML
element as a special HTML only case 12:47:24 2. use display: block 12:47:35 s/block/break/ 12:49:19 Anne: using content(/A) would not make "clear" apply to the element because it would still be an inline element 12:50:12 3. add a "line-break-*" properties that could apply to inlines 12:51:15 BB: would this mimic the current
behavior w.r.t. one BR vs two BRs 12:52:21 EE: does "clear" apply to a run-in element, depending on what it is followed by? 12:52:38 s/apply/apply sometimes/ 12:53:18 DG: requirements include avoiding a special exception for HTML and making the BR element special 12:54:26 EE: would it be possible to make BR be a run-in; i.e. display: runin 12:54:36 s/runin/run-in 12:54:58 DB: can you have multiple run-ins into the same block? 12:55:38 BB: if there are multiple run-ins only that last one is before the next block and has the run-in behavior 12:56:03 DB: note that BR adds height to the line before, note that line after. 12:56:33 DB: This may only apply in "quirks mode", but I am not sure about this 12:57:28 DB: It should not matter in standards mode unless a font-height is appled to the BR 12:58:41 Anne: in Opera, changing the font-size on the BR does not affect the line-height of the previous line 12:59:11 Anne: It does not in IE6 either 12:59:37 Anne: only Firefox shows the change of line-height 13:00:05 http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!doctype%20html%3E%3Cstyle%3E%20span%20{%20font-size%3A2em%20}%20%3C%2Fstyle%3E%0A...%3Cspan%3E%3Cbr%3E%3C%2Fspan%3E... 13:00:12 http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!DOCTYPE%20html%3E%3Cstyle%3E%20br%20%7B%20font-size%3A1.5em%20%7D%20%3C%2Fstyle%3E%0D%0A...%3Cbr%3E... 13:00:28 Anne: and the line-height change does not show up in quirks mode 13:00:49 Above are the test cases 13:08:07 HL: we have a way of defining BR in CSS, namely using the content property to insert a /A 13:08:20 Opera allows the content property on all elements 13:09:17 AM: the issue is having a definition that triggers that special behaviors of BR w.r.t. clear and page-break-* 13:09:41 SZ: the Opera solution does not work for clear or page-break-* 13:10:30 AM: is it OK to have content language (e.g. HTML) special exceptions 13:11:13 EE and Anne: we already have special cases 13:12:04 Anne: it is the element in the HtML namespace that is special cased 13:14:07 What I said was that the HTML element is special cased in HTML and XML (though the CSS 2.1 still needs an update regarding this) 13:14:20 DG: It is mandatory to have a way to put in hard line breaks, but special casing BR in HTML only is a hack that does not help in XML 13:15:32 Steve: there four things about
13:15:38 Steve: 1. You get a line break 13:15:40 shepazu has joined #css 13:15:52 Steve: 2. You get last-line alignement behavior in the previous line (due to the forced break) 13:15:56 Steve: 3. Clear applies 13:16:01 Steve: 4. Maybe page-break applies 13:16:09 Steve: Most of these are because of the line 13:16:10 break 13:16:59 Is there a reason that point 4 is not a certainty? 13:17:21 it's not in the spec currently 13:17:39 so it's the issue that started this whole discussion :) 13:19:36 Anne: if you want properties 3 and 4, you should set the display: block property on the BR 13:19:57 Elika: The problem isn't with XML dialects. It's with backwards compatibility wrt clear on BR. 13:20:22 Elika: In a new XML dialect, you can create a break element that behaves like
by using CG line breaks 13:20:38 Elika: And if you want the element to clear (or page break) then you need to set display: block; at the same time. 13:20:47 (The "problem" is the same problem we have much too often, unfortunately: browsers have bugs and don't dare fixing them :-( ) 13:20:53 Elika: The problem we have here is that you can't do that with BR for backwards compatibility reasons 13:21:08 Elika: Because right now you can set 'clear' without setting 'display: block;' and it works. 13:21:47 Anne: I don't think it makes sense to spend so much time on this based on hypothetical XML vocabularies. 13:22:05 Anne: If someone comes forward and says I need this behavior without setting 'display: block', then we can discuss it further 13:24:36



13:24:51 (or do I mean "all" instead of "both"?) 13:25:19 Google says all 13:25:28 (For the record, I was saying verbally that markup like that is probably used a good bit on the Web.) 13:26:54 Anne and EE: you probably do not need all the quirks of BR if you are just trying to satisfy the requirement for a hard line break in XML 13:27:53 hard line break, clear, and page-break 13:28:32 PL: what is wrong with adding a "break" value to display? 13:29:02 Anne: I think it adds more complexity, to the code and the tests 13:29:25 DG and PL: it simplifies the spec, because it removes all the special cases 13:31:20 EE: if you add the new display value, you must update the spec for the influence of this new value on the other properties. 13:33:13 EE: If I were to define
, I'd define it as an inline element whose contents are a preserved line feed and to which the 'clear' property applies. 13:34:26 Many: it does not appear that the spec get vastly simpler whether or not you special case the
element or add a "break" value 13:35:22 Anne: it is more difficult to test because one must test the behavior when this property value is combined with most of the other properties 13:36:53 BB: Since we have not needed a better defintion of BR up to now why are we so concerned about it now 13:37:21 SZ: becuase the issue of how does page-break-* apply 13:39:23 SZ: What I got from this discussion is that using display: block; would satisfy the use case requirements for XML. 13:39:49 SZ: So I would conclude that we should special-case BR, but also add a note explaining how to get similar behavior with another mechanism. 13:41:59 SZ: since display: block gives most of the properites that an XML document would want for a hard line break, we should adopt solution 1 with a note to explain the display: block mechanism 13:42:59 Straw Poll for CSS2.1: 13:43:06 0. No change to CSS 2.1 13:43:26 AM: if we are adopting option 1 in CSS2.1, it can describe all the specialiality, including page-break-* behavior 13:43:33 1. Special-case XHTML
to take page-break, add a note explaining how to get it to work for other elements (by using 'display: block') 13:44:29 Peter: I'm ok with saying that page-break also applies to "other elements", not calling out HTML:br 13:44:46 s/1./1a./ 13:44:54 PL: we could have a note, like that in Clear which does not call out the elements to which page-break-* applies 13:45:26 1b. Say page-break may apply to "other elements" 13:47:44 The above Straw Poll is w.r.t. Issue 52 only and not for CSS3 13:48:29 Furthermore, the options apply to what is said about the page-break-* properties 13:49:15 s/to take page-break/to take page-break and clear/ 13:49:26 s/XHTML
/(X)HTML
/ 13:49:50 (option 4: page break applies to all elements?) 13:52:04 PL: option 1b was proposed so that we can, in the future, adhere to the Markus Principle, agreeing to define in CSS3 this clearly ambiguous behavior; the behavior is, at this point, intentionally left ambiguious to reflect current implementations 13:52:56 play: block; (or some other block-level value) 13:53:56 0. No normative change. 13:53:56 Add a note to say that if you want this property to apply 13:53:56 you have to set display: block; (or some other block-level 13:53:56 value) 13:53:56 1a. Special-case HTML:br to say that page-break also applies 13:53:58 Add a note to say that you can get page-break to apply to 13:54:01 other break elements by saying 'display: block'. 13:54:03 1b. Say page-break applies to block-level elements and may 13:54:06 also be applied to "other elements" 13:54:08 4. Page-break applies to all elements 13:54:11 Howcome: 0, could live with 1a 13:54:13 David: 1a, second choice 0 13:54:23 Daniel: 0 13:54:37 Saloni: 1b, then 1a 13:54:59 John: abstain 13:55:13 Richard, PLH: abstain 13:55:16 Steve: I can live with anything but 4 13:55:23 Peter: 1b 13:55:37 Alex: 50% on 1a or 1b 13:56:05 Bert: 0, can live with 4 and 1b in that order 13:56:10 (this is for CSS 2.1; options (2) and (3) could be relevant for css3) 13:56:23 Elika: 0 or 1a 13:56:29 Anne: 1a 13:57:30 Steve: So we've observed that some implementations currently do this 13:57:38 Steve: 2.1 should reflect what implementations do 13:58:15 Steve: 1b seems consistent with that 13:58:34 Steve: It seems you /may/. 13:58:41 David: It seems unnecessarily broad to me. 13:59:01 David: The clear definition is necessarily broad because of what CSS1 said 13:59:17 Anne: The 'clear' part is a non-normative note. Normatively it's not allowed 13:59:48 Peter: So to move CSS2.1 forward we either need a consensus, or we need to leave it vague and tackle in CSS3. 14:01:04 SZ: I thought the goal of CSS2.1 was to document what CSS implementation actually do and to be ambiguous where agreement cannot be reached; the goal of CSS3 is to remove ambiguities 14:02:39 BB, PL and DG: I cannot live with 1a 14:02:56 Daniel: I see no consensus on definition of
or on whether page-break should apply to it 14:05:20 Daniel/Steve: How do we ask the next question, how do we find the best option that people can all live with? 14:05:35 Fantasai: I note that 1b would allow page-break to apply to table-row elements, which we may actually want 14:05:48 DB: how about broadening 1b to say "may apply to inline elements" 14:06:06 s/broadening/narrowing/ 14:06:45 Philippe: When you do a straw poll, you ask three questions: what do you want, what can you live with, what can you not live with? 14:08:53 Straw poll: Which options can you not live with? 14:10:26 Everyone can live with 1b 14:10:40 AM and SR cannot live with 1b 14:11:01 s/1b/0/ 14:11:25 Anne, EE, AM, SR, DB cannot live with 0 14:11:33 s/with 0/with 4/ 14:12:03 RESOLVED: Say that page-break "may apply" to other elements besides block-level elements 14:22:35 http://www.metoffice.gov.uk/weather/uk/ee/cambridge_forecast_weather.html 14:26:01 http://tinyurl.com/6end6o 14:28:01 http://www.metoffice.gov.uk/weather/uk/ee/cambridge_forecast_weather_noscript.html 14:39:01 We returned from a break at 15:40 14:41:09 Topic: test harness 14:41:33 EE: HP is working on this, has sent a prototype 14:43:22 EE: can run test from groups or single tests; has option to run least tested tests first 14:44:00 EE: What kinds of charts should the results component generate? 14:44:22 PL: How are tests placed in the harness? 14:45:04 EE: There is a script that can be run by someone on the W3C server team to move testcases into the harness 14:46:49 EE: currently, everynight there is a build of the testsuite; can add to chron job to run the script 14:47:28 PlH: Can you add a button that says, "I think this test is incorrect" to flag tests in question 14:48:27 EE: We think this will not be useful for tests used by the general public; getting e-mail messages seems to work better, but still not very well. 14:48:41 EE: we do not yet have a good system for reviewing tests 14:50:23 PlH: is there a way to delete results either because the tester has a bad track record or because the test has been changed? 14:50:31 EE: not yet 14:51:18 EE: the intent is that if a test changes, all past results will be removed so there is no prior history 14:52:41 EE: Have a display that shows a table with the tests as the row labels and the UAs and their context as the column labels; the cells show how many checked which box on the test 14:54:19 EE: the tests will have metadata that will indicate if special device characteristics (e.g., 9dpi displays, letter paper, ...) to run the test. These will appear when test is selected for execution. 14:55:16 PlH: prior to running a series of tests, it is desirable to have the set of requirements for all the tests in the series. 14:57:07 SZ: The groups defined by the WG should avoid having conflicting requirements in the series 14:57:44 PL: there will be a Skip button on the test to allow it to be skipped because the special requirements for the test may not be met. 14:58:20 EE: the goal is to write the test so that they are DPI independent 14:59:51 EE: the goal is also to be font independent, but some tests may require the use of a standard set of public usable fonts. 15:00:22 EE: the tests require a blank user stylesheet. 15:02:30 PL: we should create one or more test that test the assumptions for the test suite 15:03:00 PlH: what does "full color" mean to the average user? 15:03:49 PlH: I would like for other groups in the Interaction Domain to be able to use this test harness 15:06:34 SZ: can I use the test harness in automatic mode, for example to do regression testing against stored bit maps 15:07:34 EE: not using the harness, but the test suite is in CVS and it can be pulled and used for anything consistent with the license. 15:09:15 DB: in Mozilla, we have tests that have to pieces of HTML that must either render to the same bit map or to two different bit maps 15:10:09 EE: the test are designed without reference rendering; the tester should read the instructions and determine the correctness of the results 15:10:32 EE: it would be possible to accept reference renderings, however. 15:11:11 JD: note that with text renderings are rarely, if ever, the same among browsers 15:13:06 PL: I would like to see Implementation Reports generated from the test harness results 15:13:49 http://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/Dashboard.html?rev=1.85&content-type=text/html;%20charset=iso-8859-1 15:13:49 SZ: when implementations are generally passing most tests, it would be useful to have the subset of tests that are still being failed 15:16:09 PlH: suggests that the above dashboard was useful for WSDL WG and might suggest ways to organize the CSS results (which are more complex) 15:16:58 PlH: one thing that was nice was to see what test assertion(s) were being failed in a given test run 15:19:28 -> http://dev.w3.org/cvsweb/2008/test-harness/ CSS test harness 15:19:34 JD and EE: there is a bunch of build scripts that build the metadata and other stuff for the test harness which grabs the data from the build process 15:20:57 EE: one of the reasons for having a user friendly test harness is to allow volunteers to do some of the testing for this. 15:22:34 sylvaing has joined #css 15:22:50 HL: I would like to have a large page with a collection of tests in a group, perhaps using IFrames, that I can scroll thru to see the failures myself 15:23:15 EE: HL wants a page like DG did for selectors 15:24:17 EE: one can add a script to build such an IFrame test; please do not change any of the existing scripts 15:24:52 http://www.w3.org/Style/CSS/Test/CSS2.1/current/xhtml1/by-section.xht 15:25:40 EE: this is the index by section of all the tests in the CSS2.1 test suite 15:26:29 RI: some of the I18N tests have changed recently; are you picking these up? 15:27:28 EE: Ira has been working on picking up such tests, but he may be leaving soon. 15:28:02 s/Ira/Eira/ 15:28:10 s/he/she/ 15:28:28 EE: for tests that arrive in the wrong format, a repository will be created to store them until that can be adapted to the system 15:29:19 PlH: could I18N write there tests for the above test harness? 15:30:47 RI: right now, constructing the test in format suitable is extra work beyond what is being done by I18N (which often means me) 15:31:19 RI; the I18N format has multiple test per page and has additional info beyond that used by CSS 15:32:49 EE: there is a relatively simple template for the test; the scripts build the harness code around that test file matching that template 15:33:00 http://lists.w3.org/Archives/Public/public-css-testsuite/2008Aug/0009.html 15:33:12 http://csswg.inkedblade.net/test/css2.1/format 15:33:23 The above is the URL for the test template 15:34:10 RI: how does one indicate what the requirements for running a given test are? 15:34:34 RI: e.g., a special font must be loaded 15:36:26 EE: uncommon requirements should be in the test instructions, but this will not be pulled out in a requirements summary 15:38:09 RI: Why not have a "requirements" metatag that takes a string to be displayed as part of the requirements display 15:39:20 SZ: how could we internationalize such requirements strings? 15:40:22 EE: the other requirements that are common to many cases are coded as flags that can be internationalized 15:42:24 EE: the build process generates three versions of each test, 1. mostly a copy of the test, 2. an HTML file and 3. an HTML print file. 15:43:59 Supporting the test harnes and the test for langauges other than English is out of scope 15:44:17 s/harnes/harness/ 15:45:17 example of what PLH is saying: http://www.w3.org/International/tests/test-encoding-detection-6 15:46:47 EE: agreed that files must be served with specific headers, but that is out of scope for the test harness 15:47:50 RI: I have a bunch of test for character encoding that require specific headers 15:47:51 EE: The test harness doesn't contain or serve up the tests. They need to be hosted elsewhere. The test harness just links to them 15:48:18 EE: If you have special hosting requirements, you need to set those up where the tests are hosted. There's no interaction there with the test harness 15:48:50 EE: the test harness just links to the test; therefore it is the server on which the tests are stored that is responsible for generating the correct headers 15:49:54 http://lists.w3.org/Archives/Public/public-css-testsuite/2008Jul/0000.html 15:50:45 dsinger has joined #css 15:51:28 The above URL is a message about the BiDi test that were being converted for the test harness 15:52:56 That completes this topic 15:55:04 dsinger: we just adjourned the meeting for the day ! 15:55:36 The meeting is now adjouned for the day 16:10:01 anne has left #css 16:31:35 alexmog has joined #css 16:50:54 jason_cranfordtea has left #css 17:53:21 jdaggett has joined #css 19:07:44 sylvaing has joined #css 20:57:08 arronei has joined #CSS 21:37:38 shepazu has joined #css 21:47:29 plinss_ has joined #css 21:55:43 dbaron has joined #css 22:06:49 MoZ has joined #css 22:14:57 dbaron has joined #css 22:32:12 dbaron has joined #css 23:13:31 melinda has joined #CSS