- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Wed, 01 Aug 2018 23:22:49 +0000
- To: public-css-archive@w3.org
The Working Group just discussed `Should dominant-baseline inherit?`, and agreed to the following: * `RESOLVED: Close this issue with no change to CSS Inline` <details><summary>The full IRC log of that discussion</summary> <dael> Topic: Should dominant-baseline inherit?<br> <dael> github: https://github.com/w3c/csswg-drafts/issues/2926<br> <dael> fantasai: I don't remember if we resolved on this, but it's really the only reasonable thing. As spec in SVG this has an auto value that behaves like inherit but only on a text element.<br> <chris> q+<br> <dael> fantasai: Seems awk design that's a result of not thinking about inheritence. CSS inline L3 spec that dom-baseline is inherited value<br> <dael> fantasai: Wanted to ask for review and confirm<br> <astearns> ack chris<br> <dael> chris: This isn't so much inheritence it was more that once you started a text run the font you set on that effected kinda like underline when it effects the children. But if you can make it work using inheritence fine, but that's why originally<br> <dael> fantasai: CSS modal I think we should use works that each element has a dom-baseline property generally same as parent and that sets baseline to align own contents. When align to parent uses alignment baseline which is different prop. I don't see need to inherit.<br> <chris> ok, sounds good<br> <dael> fantasai: If you want a baseline table that passes through changes in font size etc to descendants I can see case for more complex, but I don't think that's deisred. I think you want a localized baseline grid and then that whole thing aligns to parent baseline table. Then you don't pass baseline through multiple elements<br> <dael> chris: Fine to me<br> <dael> fantasai: Okay<br> <dael> astearns: Any concern that 3 engines aren't making prop inheritable?<br> <dael> fantasai: In SVG context the inheritence will be archine. I don't think most people will set on root SVG element. Once on text element it does inherit. I don't think anyone is chaning OM value of dom baseline of a text element in SVG. IN general case behavior is identical. Weird cases for a change and I don't expect them to be common<br> <dael> fantasai: That's my expection, could be wrong<br> <fantasai> s/archine/arcane/<br> <dael> astearns: ericwilligers are you okay having dom baseline inherit?<br> <dael> ericwilligers: Fine with it. It's what blink does. I can send a PR for SVG spec to mention it's inherited<br> <dael> fantasai: Also need to change auto value so it doens't pretend to inherit<br> <dael> astearns: Anything else on this?/<br> <dael> astearns: Prop: Close this issue with no change to CSS Inline<br> <dael> astearns: Objections?<br> <dael> myles: Reset what dom baseline is at writing mode change?<br> <dael> fantasai: At writing mode change the dom baseline also changes.<br> <dael> myles: Isn't that what auto means? If someone sets to another value you want to change at writing mode change<br> <dael> fantasai: That is an interesting idea. Don't know that it's strictly necessary. I think you could argue you might want that to happen, but it depends on writing system.<br> <dael> fantasai: If you have inline block with horz text you would want it not to have central baseline in a vertical doc<br> <dael> florian: Some kind of expanded version of dom baseline with two values?<br> <dael> myles: No, not that. I think current behavior allows for this<br> <dael> fantasai: Currently initial value is auto and doesn't resolve to anything. If you set to a different baseline it inherits through orthogonal flow. For default case, that's typical for Japanese or Chinese because it does the right thing<br> <dael> myles: I'm not sure saying auto works correctly means property is correct. Maybe a new issue?<br> <dael> astearns: I was thinking new issue, but now I'm thinking that if we do take from SVG that dominant doesn't inherit we can have auto do the right thing. We're taking on complexity of auto to solve a writing mode switch<br> <dael> fantasai: But when you switch writing modes and you set something like mathematical baseline what do you expect at a writing mode change? If what you want is to have alphabetic in horz and central in vertical set to auto and it works. If you set to mathematical baseline what do we propose to do other than mathematical. If it's the same as before the writing mode change that's inherit<br> <dael> astearns: I suggest we define auto somewhat like SVG where auto takes dom baseline of parent unless writing mode change and if writing mode change auto takes standard baseline for writing mode<br> <dael> myles: Different. I was thinking that any value for dom baseline would apply to all descendants until a triggering condition makes it not apply<br> <dael> fantasai: What does not apply mean?<br> <dael> myles: On other side of trigger it resets to auto<br> <dael> fantasai: I don't think that is nec what you want. I don't think it's worth the complexity to make this non-inherit. That would be confusing because auto would have to look deep in document trees if you set inside a root. You have to go up the tree every time.<br> <chris> q+<br> <dael> fantasai: And what would we gain? I don't think anything because I don't think switching is always the right call. When we want the writing mode to trigger a change in dominant is switch between alpahetic or cental and auto will do the switch. Unless you set it to something else it will have that behavior. I don't think resetting it is nec/ the right answer<br> <dael> fantasai: No one has given me a clear use case where writing modes should trigger a change in dom baseline except what's covered in auto. Unless there's another use case it's not worth doing<br> <dael> dbaron: Is norm for Hindi and other languages that you'd want to set dom baseline to hanging?<br> <dael> astearns: no b/c fonts don't support. Indic uses another baseline<br> <dael> myles: [missed] If you're using web fonts and you know it supports you should<br> <dael> dbaron: If you're saying this work auto if for vertical Chinese in a Hinid doc it doesn't work then it doesn't.<br> <astearns> s/Indic uses another/Indic uses alphabetic/<br> <dael> chris: To dbaron not all fonts support all baselines and it's more a case that an occational one does support. myles spoke about triggering conditions, which are other triggering conditions? If it's just that one perhaps the 2 values florian suggested would be better?<br> <dael> myles: I don't know on other triggering. I haven't don research. one prop with 2 values seems a lot of added complexity.<br> <dael> fantasai: dbaron your case when switching Indic to Chinese when you haev a writing system change you want a baseline change. Horz Chinese in an Indic doc you'd want Chinese to have own dominent baseline. That's a writing system change, not a writing mode change. Writing mode isn't trigger you're looking for. Indic doc with hanging baseline and both horz and vert text would you switch dom baseline for vert indic text would you switch? I don't htink so.<br> <dbaron> fantasai, that makes sense to me<br> <dael> astearns: I haven't heard anything that makes me thing we would keep dom baseline from inheriting. I think we should open a new issue for these switches and what happens. Is everyone okay leaving this to another issue and close this one?<br> <dael> myles: Fine<br> <dael> astearns: Everyone was interested, but it would be good to have this as an issue.<br> <fantasai> propsed resolution: No change to css-inline, dominant-baseline inherits and auto only switches between alphabetic/central (not synthesizing inheritance)<br> <dael> florian: Fine. We can expore 2 value eslewhere<br> <dael> astearns: Objections to Close this issue with no change to CSS Inline<br> <dael> astearns: ?<br> <dael> RESOLVED: Close this issue with no change to CSS Inline<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2926#issuecomment-409756798 using your GitHub account
Received on Wednesday, 1 August 2018 23:22:52 UTC