{"action":"created","issue":{"url":"https://api.github.com/repos/w3c/csswg-drafts/issues/2184","repository_url":"https://api.github.com/repos/w3c/csswg-drafts","labels_url":"https://api.github.com/repos/w3c/csswg-drafts/issues/2184/labels{/name}","comments_url":"https://api.github.com/repos/w3c/csswg-drafts/issues/2184/comments","events_url":"https://api.github.com/repos/w3c/csswg-drafts/issues/2184/events","html_url":"https://github.com/w3c/csswg-drafts/issues/2184","id":288229024,"number":2184,"title":"[css-inline] initial-letter appliance and inheritance","user":{"login":"Loirooriol","id":7477678,"avatar_url":"https://avatars1.githubusercontent.com/u/7477678?v=4","gravatar_id":"","url":"https://api.github.com/users/Loirooriol","html_url":"https://github.com/Loirooriol","followers_url":"https://api.github.com/users/Loirooriol/followers","following_url":"https://api.github.com/users/Loirooriol/following{/other_user}","gists_url":"https://api.github.com/users/Loirooriol/gists{/gist_id}","starred_url":"https://api.github.com/users/Loirooriol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Loirooriol/subscriptions","organizations_url":"https://api.github.com/users/Loirooriol/orgs","repos_url":"https://api.github.com/users/Loirooriol/repos","events_url":"https://api.github.com/users/Loirooriol/events{/privacy}","received_events_url":"https://api.github.com/users/Loirooriol/received_events","type":"User","site_admin":false},"labels":[{"id":382591170,"url":"https://api.github.com/repos/w3c/csswg-drafts/labels/Agenda+","name":"Agenda+","color":"000000","default":false},{"id":395791224,"url":"https://api.github.com/repos/w3c/csswg-drafts/labels/Commenter%20Response%20Pending","name":"Commenter Response Pending","color":"fbca04","default":false},{"id":381889345,"url":"https://api.github.com/repos/w3c/csswg-drafts/labels/css-inline-3","name":"css-inline-3","color":"c5def5","default":false}],"state":"open","locked":false,"assignee":{"login":"dauwhe","id":5687700,"avatar_url":"https://avatars1.githubusercontent.com/u/5687700?v=4","gravatar_id":"","url":"https://api.github.com/users/dauwhe","html_url":"https://github.com/dauwhe","followers_url":"https://api.github.com/users/dauwhe/followers","following_url":"https://api.github.com/users/dauwhe/following{/other_user}","gists_url":"https://api.github.com/users/dauwhe/gists{/gist_id}","starred_url":"https://api.github.com/users/dauwhe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dauwhe/subscriptions","organizations_url":"https://api.github.com/users/dauwhe/orgs","repos_url":"https://api.github.com/users/dauwhe/repos","events_url":"https://api.github.com/users/dauwhe/events{/privacy}","received_events_url":"https://api.github.com/users/dauwhe/received_events","type":"User","site_admin":false},"assignees":[{"login":"dauwhe","id":5687700,"avatar_url":"https://avatars1.githubusercontent.com/u/5687700?v=4","gravatar_id":"","url":"https://api.github.com/users/dauwhe","html_url":"https://github.com/dauwhe","followers_url":"https://api.github.com/users/dauwhe/followers","following_url":"https://api.github.com/users/dauwhe/following{/other_user}","gists_url":"https://api.github.com/users/dauwhe/gists{/gist_id}","starred_url":"https://api.github.com/users/dauwhe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dauwhe/subscriptions","organizations_url":"https://api.github.com/users/dauwhe/orgs","repos_url":"https://api.github.com/users/dauwhe/repos","events_url":"https://api.github.com/users/dauwhe/events{/privacy}","received_events_url":"https://api.github.com/users/dauwhe/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2018-01-12T19:54:42Z","updated_at":"2018-05-24T21:48:59Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"[`initial-letter`](https://drafts.csswg.org/css-inline/#sizing-drop-initials) does not inherit and applies to\r\n\r\n> `::first-letter` pseudo-elements and inline-level first child of a block container\r\n\r\nThe problem is that the inline-level first child box of a block container is the [root inline box](https://drafts.csswg.org/css-inline/#root-inline-box), which cannot be targeted using selectors.\r\n\r\nIf the definition refers to the first child in the element tree then that's a problem with `display: contents`. And if you have `<div><b><i>Text</i></b></div>`, it's not clear why `initial-letter` applies to `b` but not to `i`.\r\n\r\nIn any case, since there is no inheritance, it's not clear what happens if you set `initial-letter` both to that first child and to the block container's `::first-letter`, or to nested `::first-letter`s.\r\n\r\nInstead, I think there are three reasonable possibilities:\r\n\r\n - `initial-letter` only applies to block containers that establish an inline formatting context, and affects the initial letter of the block container. But note that often the block container that establishes the IFC is an anonymous one, so `initial-letter` should inherit.\r\n - `initial-letter` only applies to innermost `::first-letter` pseudo-elements, but it inherits, so you can set it on a block-level, inline-level or `::first-letter` parent box.\r\n - `initial-letter` only applies to innermost `::first-letter` pseudo-elements. And that's all because it doesn't inherit."},"comment":{"url":"https://api.github.com/repos/w3c/csswg-drafts/issues/comments/391875953","html_url":"https://github.com/w3c/csswg-drafts/issues/2184#issuecomment-391875953","issue_url":"https://api.github.com/repos/w3c/csswg-drafts/issues/2184","id":391875953,"user":{"login":"fantasai","id":725717,"avatar_url":"https://avatars3.githubusercontent.com/u/725717?v=4","gravatar_id":"","url":"https://api.github.com/users/fantasai","html_url":"https://github.com/fantasai","followers_url":"https://api.github.com/users/fantasai/followers","following_url":"https://api.github.com/users/fantasai/following{/other_user}","gists_url":"https://api.github.com/users/fantasai/gists{/gist_id}","starred_url":"https://api.github.com/users/fantasai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fantasai/subscriptions","organizations_url":"https://api.github.com/users/fantasai/orgs","repos_url":"https://api.github.com/users/fantasai/repos","events_url":"https://api.github.com/users/fantasai/events{/privacy}","received_events_url":"https://api.github.com/users/fantasai/received_events","type":"User","site_admin":false},"created_at":"2018-05-24T21:48:59Z","updated_at":"2018-05-24T21:48:59Z","author_association":"CONTRIBUTOR","body":"OK, checked in https://github.com/w3c/csswg-drafts/commit/412bfeabf53c980babe9845c3a2684904790c2e2 which isn't the same as your wording because I tried to tighten up some of the related restrictions. Also broke up the sentences a bit and rearranged things so that we don't need the throw-away term. Let me know if it's up to snuff!"}}
{"actor":{"display_login":"fantasai"}}