Skip to content

[css-inline-3] Sizing atomic inlines as initial letters #3231

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
fantasai opened this issue Oct 22, 2018 · 1 comment
Closed

[css-inline-3] Sizing atomic inlines as initial letters #3231

fantasai opened this issue Oct 22, 2018 · 1 comment

Comments

@fantasai
Copy link
Collaborator

We allow initial letters to be atomic inlines, but the spec isn't entirely clear on how that works. I've clarified that layout within the atomic inline isn't affected by any of the magic, however I think we also want to say that if it has auto height, that height is calculated by the initial letter properties. Opening this issue to confirm with the WG.

@fantasai fantasai added the css-inline-3 Current Work label Oct 22, 2018
fantasai added a commit that referenced this issue Oct 22, 2018
…follow usual rules unless 'auto', in which case it follows initial-letter 'border-box' rules. #3231
@css-meeting-bot
Copy link
Member

The CSS Working Group just discussed Sizing atomic inlines as initial letters, and agreed to the following:

  • RESOLVED: Atomic inline initial letter size as regular atomic inlines, except for auto sizes being calculated using the initial letter algorithm
The full IRC log of that discussion <heycam> Topic: Sizing atomic inlines as initial letters
<heycam> github: https://github.com//issues/3231
<heycam> fantasai: an atomic inline is something like an image or an inline-block
<heycam> ... wasn't a lot of clarity on it, committed a bunch of changes saying the size as they do in normal circumstances unless it's an auto size, when we use the initial letter sizing algorithm
<fantasai> https://github.com/w3c/csswg-drafts/commit/7f135bedb7e7732e2ca042efd906a1e51d171cf9
<heycam> ... auto sizing is special, but everything else is normally as for atomic inlines
<heycam> ... wanted to run this past the WG
<heycam> florian: it's a change from being vague? or some other definition?
<heycam> fantasai: from being vague
<heycam> faceless2_: we're trying to do this right now. seems to be a good idea, looks like it will work
<heycam> Rossen_: any other opinions or objections?
<heycam> RESOLVED: Atomic inline initial letter size as regular atomic inlines, except for auto sizes being calculated using the initial letter algorithm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants