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

[text-box-trim] Rename text-box-edge values #47598

Merged
merged 1 commit into from
Aug 14, 2024

Conversation

chromium-wpt-export-bot
Copy link
Collaborator

@chromium-wpt-export-bot chromium-wpt-export-bot commented Aug 14, 2024

This patch renames text-box-edge values from:

  text-box-edge: leading | \<text-edge>

to:

  text-box-edge: auto | \<text-edge>

Note the \<text-edge> definition is unchanged.

  \<text-edge> = [ text | cap | ex ] [ text | alphabetic ]?

as per the resolution at:
w3c/csswg-drafts#10675 (comment)
and the new spec at:
https://drafts.csswg.org/css-inline-3/#propdef-text-box-edge

As per the new spec, the new auto value is identical to
text when the line-fit-edge property is initial.

The functionality the leading value provided is removed.

Bug: 358204934, 40254880
Change-Id: I738058cc79b5525b2cbb151b5765f65363b44e7f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5776349
Reviewed-by: Lingqi Chi <lingqi@chromium.org>
Commit-Queue: Koji Ishii <kojii@chromium.org>
Reviewed-by: Kent Tamura <tkent@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1341434}

This patch renames `text-box-edge` values from:
```
  text-box-edge: leading | <text-edge>
```
to:
```
  text-box-edge: auto | <text-edge>
```

Note the `<text-edge>` definition is unchanged.
```
  <text-edge> = [ text | cap | ex ] [ text | alphabetic ]?
```

as per the resolution at:
w3c/csswg-drafts#10675 (comment)
and the new spec at:
https://drafts.csswg.org/css-inline-3/#propdef-text-box-edge

As per the new spec, the new `auto` value is identical to
`text` when the `line-fit-edge` property is initial.

The functionality the `leading` value provided is removed.

Bug: 358204934, 40254880
Change-Id: I738058cc79b5525b2cbb151b5765f65363b44e7f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5776349
Reviewed-by: Lingqi Chi <lingqi@chromium.org>
Commit-Queue: Koji Ishii <kojii@chromium.org>
Reviewed-by: Kent Tamura <tkent@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1341434}
Copy link
Collaborator

@wpt-pr-bot wpt-pr-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The review process for this patch is being conducted in the Chromium project.

@chromium-wpt-export-bot chromium-wpt-export-bot merged commit 277b9cb into master Aug 14, 2024
16 checks passed
@chromium-wpt-export-bot chromium-wpt-export-bot deleted the chromium-export-cl-5776349 branch August 14, 2024 03:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy