-
Notifications
You must be signed in to change notification settings - Fork 22.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New module: css inline layout (#36582)
* New module: css inline layout * Apply suggestions from code review Co-authored-by: Chris Mills <[email protected]> --------- Co-authored-by: Chris Mills <[email protected]>
- Loading branch information
1 parent
14f294a
commit 58dd075
Showing
2 changed files
with
49 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
--- | ||
title: CSS inline layout | ||
slug: Web/CSS/CSS_inline_layout | ||
page-type: css-module | ||
spec-urls: https://drafts.csswg.org/css-inline | ||
--- | ||
|
||
{{CSSRef}} | ||
|
||
The **CSS inline layout** module defines the block-axis alignment and sizing of inline-level content and adds a special layout mode for drop-caps. It describes the CSS formatting model for a flow of elements and text inside a container to be wrapped across multiple lines. | ||
|
||
## Reference | ||
|
||
### Properties | ||
|
||
- {{cssxref("dominant-baseline")}} | ||
- {{cssxref("initial-letter")}} | ||
- {{cssxref("line-height")}} | ||
- {{cssxref("vertical-align")}} | ||
|
||
The specification also defines the `alignment-baseline`, `baseline-shift`, `baseline-source`, `initial-letter-align`, `initial-letter-wrap`, `inline-sizing`, `line-fit-edge`, `text-box`, `text-box-edge`, and `text-box-trim` properties, which are not yet supported by any browser. | ||
|
||
### Glossary terms | ||
|
||
- {{glossary("baseline/typography", "baseline")}} | ||
|
||
## Related concepts | ||
|
||
- {{cssxref("font-size")}} property | ||
- {{cssxref("font-feature-settings")}} property | ||
- {{cssxref("letter-spacing")}} property | ||
- {{cssxref("text-anchor")}} property | ||
- {{cssxref("::first-letter")}} pseudo-element | ||
- {{cssxref(":first-child")}} pseudo-class | ||
|
||
## Specifications | ||
|
||
{{Specifications}} | ||
|
||
## See also | ||
|
||
- [CSS text](/en-US/docs/Web/CSS/CSS_text) module | ||
- [CSS fonts](/en-US/docs/Web/CSS/CSS_fonts) module | ||
- [CSS writing modes](/en-US/docs/Web/CSS/CSS_writing_modes) module |