- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Tue, 10 Apr 2018 14:52:41 +0000
- To: public-css-archive@w3.org
The Working Group just discussed `line-start/end padding`, and agreed to the following resolutions: * `RESOLVED: Add a line-padding property as described in minutes to text level 4.` <details><summary>The full IRC log of that discussion</summary> <fantasai> Topic: line-start/end padding<br> <fantasai> github: https://github.com/w3c/csswg-drafts/issues/1973<br> <fantasai> leaverou, they're the first links in each issue<br> <dael> fantasai: This one is an issue where they want padding at start and end of line and applied to inner most element at that point.<br> <dael> fantasai: If ou have a span broken across 2 lines and at the end line padding is inserted into the span. With CSS you can wrap all the text but it gives you the last result. THis is effectively the opposite of letter spacing. This is outside the letter on the start and end.<br> <dael> fantasai: SHould be easy to impl, but we need syntax for it. I wanted to do this because it's easy to understand.<br> <dael> TabAtkins: Am I imagining a difference in the black line from hello and my?<br> <dael> fantasai: I think that's not intentional.<br> <dael> TabAtkins: Okay.<br> <dael> myles: If you have 2 nested do you use innermost<br> <dael> TabAtkins: It would be like letter spacing where one wins on the letter that ends the line.<br> <dael> florian: this inherits?<br> <dael> fantasai: I think that's simple.<br> <dael> TabAtkins: Has to. Letter spacing but for the space where we don't put letters.<br> <dael> myles: Recommendation is at the tie you do the line breaking you do this for the end of the line? Not sure how it works for beginning.<br> <dael> fantasai: You look at first character on your line and before you figure out how big the character is and like that you have to go forward a bit.<br> <fantasai> You take the line-padding value of that character<br> <dael> astearns: They use line padding as the avenue to control this.<br> <dael> fantasai: We could introduce a line-padding property that has a longhand.<br> <dael> florian: and if you're intrupted by a float?<br> <dael> fantasai: It's between you and the float.<br> <dael> dbaron: Are there interesting things with bidi?<br> <dael> fantasai: no.<br> <dael> dbaron: pre or post reordering<br> <dael> fantasai: post<br> <dael> myles: there's always a character at the end of the line. Whatever element that's part of is what you consult.<br> <dael> florian: If you're post-reorder you might get a different character at the end.<br> <dael> fantasai: Alternative is have this on the block. Whatever block makes the line box gets the value<br> <dael> Rossen: Similar to the box direction.<br> <dael> TabAtkins: Then you jsut shoot the line box.<br> <dael> TabAtkins: Possiblity is make it not inherit.<br> <TabAtkins> s/shoot/shrink/<br> <dael> fantasai: YOu want inherit because you mana anon boxes. BUt you can put it on the block container at which point it's applied.<br> <TabAtkins> s/mana/make/<br> <dael> florian: I think possibility of different padding based on bidi is not useful and complicates things quite a bit.<br> <dael> TabAtkins: This does seem better. NO drilling down and no bidi. I like this.<br> <dael> fantasai: The property is inherited by applies to block containers. When you do your layout you look at line padding property of the line box you're in which comes from the block container.<br> <dael> fantasai: I guess we're rsolved on that approach of having the property<br> <dael> astearns: Text level 4 again?<br> <dael> fantasai: Yeah. Other option is css Inline. Not sure where it fits better.<br> <dael> astearns: Prop: Add a line-padding property as described in minutes to text level 4.<br> <dael> RESOLVED: Add a line-padding property as described in minutes to text level 4.<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1973#issuecomment-380130187 using your GitHub account
Received on Tuesday, 10 April 2018 14:52:45 UTC