Skip to content
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

[IDEA] Support inline-block 'spacers' in the data model #41

Open
travisleithead opened this issue Feb 2, 2022 · 2 comments
Open

[IDEA] Support inline-block 'spacers' in the data model #41

travisleithead opened this issue Feb 2, 2022 · 2 comments

Comments

@travisleithead
Copy link
Member

In the Houdini layout API, the metrics infra will already need to handle inline-block content in the flow of inline text. Thus a representation of this kind of content will be needed for alignment of the output of format with what is already possible in HTML.

With that, it makes sense to provide inline-block 'spacers' as input to format so that similar in-flow content can be laid out, and later found-and-replaced with actual content, once the metrics are queried. I wouldn't expect the spacers to render anything (they would just reserve space in the flow and participate in wrapping as a whole).

Note: fragmentation of the spacer would need to be considered.

@travisleithead
Copy link
Member Author

#46 will wholly support this scenario; I don't believe we'll need a separate feature for inline-block spacers. :)

@travisleithead
Copy link
Member Author

#46 did not end up addressing this--it was decided not to add too much complexity to that PR, so this inline-block proposal still remains to be added to the spec.

@travisleithead travisleithead reopened this May 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant