Re: [csswg-drafts] [css-inline] initial-letter appliance and inheritance

The Working Group just discussed `box tree nesting vs initial-letter`, and agreed to the following:

* `RESOLVED: the initial letter will be the first inline that has intial-letter not set to normal, (+details in the spec)`
* `RESOLVED: the initial letters will behave as if was taken/rendered outside of its inline ancestors`

<details><summary>The full IRC log of that discussion</summary>
&lt;fantasai> Topic: box tree nesting vs initial-letter<br>
&lt;fantasai> github: https://github.com/w3c/csswg-drafts/issues/2184#issuecomment-391832514<br>
&lt;frremy> fantasai: we didn't define very clearly what we defined as "the first inline"<br>
&lt;frremy> fantasai: so, it's slighly weird, because adding spans should not change result most of the times<br>
&lt;frremy> fantasai: but in this specific case, if they are nested, it's not clear which one to take<br>
&lt;dauwhe> https://github.com/w3c/csswg-drafts/commit/412bfeabf53c980babe9845c3a2684904790c2e2<br>
&lt;frremy> fantasai: (looking at notes and issues)<br>
&lt;fantasai> “ Specifically, initial-letter also applies to any inline-level box that is the first child of its parent box and whose ancestors (if any) that are descendants of its containing block are all first-child inline boxes that have a computed initial-letter value of normal. ”<br>
&lt;frremy> florian: if you have multiple spans, the outer one does have a border, but the nested one has initial letter<br>
&lt;frremy> florian: does the border wraps around the "nested" initial letter?<br>
&lt;frremy> Rossen: I would assume not<br>
&lt;frremy> florian: so it becomes out of flow, kinda?<br>
&lt;frremy> Rossen: yes<br>
&lt;frremy> fantasai: (reads pasted in text)<br>
&lt;frremy> florian: there are two options (1) you take the nested span out of flow (2) or we can refuse to initial letter any nested span inside something that has a border<br>
&lt;frremy> Rossen: the second options is though from the styling point of view<br>
&lt;frremy> florian: ok, then let's do 1<br>
&lt;florian> s/something that has a border/something that has a margin, border, or padding/<br>
&lt;frremy> PROPOSED: the initial letter will be the first inline that has intial-letter not set to normal, (+details in the spec)<br>
&lt;frremy> Rossen: any objection?<br>
&lt;frremy> RESOLVED: the initial letter will be the first inline that has intial-letter not set to normal, (+details in the spec)<br>
&lt;dauwhe> see https://github.com/w3c/csswg-drafts/issues/743<br>
&lt;frremy> PROPOSED: the content of the initial letter will behave as if was taken outside of its inline ancestors<br>
&lt;fantasai> s/content of the//<br>
&lt;frremy> PROPOSED: the initial letters will behave as if was taken/rendered outside of its inline ancestors<br>
&lt;frremy> RESOLVED: the initial letters will behave as if was taken/rendered outside of its inline ancestors<br>
</details>


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

Received on Thursday, 5 July 2018 02:26:05 UTC