Re: [csswg-drafts] [css-text-decor-4] Composition of inset shadows (#7251)

The CSS Working Group just discussed `[css-text-decor-4] Composition of inset shadows`.

<details><summary>The full IRC log of that discussion</summary>
&lt;dael> Topic: [css-text-decor-4] Composition of inset shadows<br>
&lt;dael> github:  https://github.com/w3c/csswg-drafts/issues/7251<br>
&lt;dael> fantasai: After the call lastweek jensimmons and I chatted about what is reasonable behavior and how does it relate to decorations and stroke<br>
&lt;jensimmons> q+<br>
&lt;dael> fantasai: She gave a bunch of examples. Author expectionation is text including stroke is composit together and shadowed for outset. Same should be for insit<br>
&lt;dael> fantasai: So you're taking text and dropping or lifting above paper. Doing same for inset as outset makes this cleaner.<br>
&lt;dael> fantasai: That's my proposal. If we want variety in future we can do something to allow for it, but this seems like a good default<br>
&lt;dael> jensimmons: Clearifying. When I was reading back our conversation I can see many authors might want shadow between stroke and center part of letter. I don't know. If definitely easier to impl with everything shadowed that's sort of compelling reason to do it<br>
&lt;dael> jensimmons: If I could have anything what authors would want is opportunity to do both. Could be great graphic dsign. Does seem like authors might want shadow between stroke<br>
&lt;Rossen_> ack jensimmons<br>
&lt;astearns> fwiw I have some details from Adobe’s design tools, but inset-shadow is not a built-in feature in any of them. It’s something you have to do on your own (so pretty much any combination is possible)<br>
&lt;dael> fantasai: My take away is while authors might want both when you have stroke text and stroke text decor and drop shadow that ends up being [missed]. In most cases with no stroke we want to make sure that works and in that case you want to composit together<br>
&lt;dael> smfr: We don't allow authors to control compositing for inset box shadow. Maybe start with one impl and if we get authors requests for more control we can do in future<br>
&lt;dael> fantasai: I think right answer is composite text, decor, and stroke together an shadow as one unit<br>
&lt;dael> Rossen_: What can we resolve on?<br>
&lt;Rossen_> q?<br>
&lt;dael> fantasai: Prop: Composite the text, stroke, and decoration and then shadow it for both types of shadow<br>
&lt;dael> fantasai: I think that' b/c when you have no stroke then you want to composite and that's more common than stroking text<br>
&lt;dael> jensimmons: Agree without stroke everything composites together and then shadow<br>
&lt;dael> Rossen_: Additional comments on this?<br>
&lt;dael> smfr: Still want to see pretty pictures to show us how this should look<br>
&lt;dael> Rossen_: Examples would be great<br>
&lt;dael> fantasai: I have a test case showing how it should not work<br>
&lt;dael> fantasai: I took text and put strike through and then shadow that and if you shadow the strike through's shadow is darker. Looks bad<br>
&lt;dael> Rossen_: Ready to resolve?<br>
&lt;dael> Rossen_: Prop: Composite the text, stroke, and decoration and then shadow it for both types of shadow<br>
&lt;dael> Rossen_: Or smfr do you want examples first?<br>
&lt;dael> smfr: w/o stroke okay but would like pictures. With stroke I think inset shadow needs to be between fill and stroke<br>
&lt;dael> fantasai: Problem is b/c it's between fill and stroke so you have to fold the stroke into that sandwich<br>
&lt;dael> smfr: Text stroke doesn't apply to decorations?<br>
&lt;astearns> +1 to smfr adding inset shadow between fill and stroke<br>
&lt;dael> fantasai: Can't remember. I think text stroke...I can't remember<br>
&lt;dael> fantasai: In any case stroke on text is between text and strike-through. So if shadow text decoration with text you have to also shadow stroke b/c it's in between<br>
&lt;dael> smfr: Still hard to visualize<br>
&lt;dael> smfr: astearns I don't suppose you could drive adobe tools to create options<br>
&lt;dael> astearns: I could play with Illustrator. Got feedback from Dirk and illustrator lets you do all the options<br>
&lt;dael> Rossen_: Let's allow those examples to take place and then come back to resolve. There's lack of clear expectations without illustration and I'm sensing hesitency<br>
&lt;dael> astearns: Could someone summerize the bits and pieces would like in example? fill,s troke, decoration, inside shadows, outside shadows?<br>
&lt;dael> fantasai: Line-through makes it fun<br>
&lt;dael> smfr: I think inset shadows and line-through combo is most interesting<br>
&lt;dael> Rossen_: We're 3 minutes over. astearns do you have what you need?<br>
&lt;dael> astearns: Yeah, I can do something for next week<br>
&lt;dael> Rossen_: Fantastic, thank you. We'll discuss again next week<br>
</details>


-- 
GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7251#issuecomment-1144265075 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 2 June 2022 00:04:34 UTC