[word-space-transform] Implement parsing of `word-space-transform` [chromium/src : main]

0 views
Skip to first unread message

Minseong Kim (Gerrit)

unread,
Aug 18, 2025, 12:27:59 AMAug 18
to Ian Kilpatrick, Rune Lillesveen, Chromium LUCI CQ, chromium...@chromium.org, Chromium Metrics Reviews, Alexis Menard, AyeAye, blink-...@chromium.org, blink-revie...@chromium.org, blink-rev...@chromium.org, zol...@webkit.org, jmedle...@chromium.org, blink-re...@chromium.org, blink-revi...@chromium.org, kinuko...@chromium.org, apavlo...@chromium.org, asvitkine...@chromium.org, blink-re...@chromium.org
Attention needed from Ian Kilpatrick and Rune Lillesveen

Minseong Kim added 1 comment

Patchset-level comments
File-level comment, Patchset 18 (Latest):
Minseong Kim . resolved

Hi! Would you review this CL, please?

Open in Gerrit

Related details

Attention is currently required from:
  • Ian Kilpatrick
  • Rune Lillesveen
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I1948662fedd35bfea8aad6533df9f72d805f5981
Gerrit-Change-Number: 6666903
Gerrit-PatchSet: 18
Gerrit-Owner: Minseong Kim <jja0...@gmail.com>
Gerrit-Reviewer: Ian Kilpatrick <ikilp...@chromium.org>
Gerrit-Reviewer: Minseong Kim <jja0...@gmail.com>
Gerrit-Reviewer: Rune Lillesveen <fut...@chromium.org>
Gerrit-CC: Alexis Menard <alexis...@intel.com>
Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
Gerrit-Attention: Rune Lillesveen <fut...@chromium.org>
Gerrit-Attention: Ian Kilpatrick <ikilp...@chromium.org>
Gerrit-Comment-Date: Mon, 18 Aug 2025 04:27:32 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Rune Lillesveen (Gerrit)

unread,
Aug 18, 2025, 2:45:28 AMAug 18
to Minseong Kim, Ian Kilpatrick, Rune Lillesveen, Chromium LUCI CQ, chromium...@chromium.org, Chromium Metrics Reviews, Alexis Menard, AyeAye, blink-...@chromium.org, blink-revie...@chromium.org, blink-rev...@chromium.org, zol...@webkit.org, jmedle...@chromium.org, blink-re...@chromium.org, blink-revi...@chromium.org, kinuko...@chromium.org, apavlo...@chromium.org, asvitkine...@chromium.org, blink-re...@chromium.org
Attention needed from Ian Kilpatrick and Minseong Kim

Rune Lillesveen added 10 comments

Commit Message
Line 15, Patchset 18:for each one of thos keywords.
Rune Lillesveen . unresolved

Please fix this WARNING reported by Spellchecker: "thos" is a possible misspelling of "those" or "this".

To bypass Spellchecker, ...

"thos" is a possible misspelling of "those" or "this".

To bypass Spellchecker, add a footer with DISABLE_SPELLCHECKER

File third_party/blink/renderer/core/css/css_properties.json5
Line 7349, Patchset 18: valid_for_first_letter: true,
Rune Lillesveen . unresolved

Does this make sense for ::first-letter? Does the spec list it?

Line 7350, Patchset 18: valid_for_first_line: true,
Rune Lillesveen . unresolved

Likewise

Line 7351, Patchset 18: valid_for_marker: true,
Rune Lillesveen . unresolved

I think the spec for ::marker has an explicit list for which properties apply. Is this included?

Line 7352, Patchset 18: valid_for_page_context: true,
Rune Lillesveen . unresolved

Doesn't sound correct?

Line 7354, Patchset 18: valid_for_permission_element: true,
Rune Lillesveen . unresolved

This is definitely suspicious.

File third_party/blink/renderer/core/css/properties/css_parsing_utils.cc
Line 4559, Patchset 18:
Rune Lillesveen . unresolved

If you add the syntax as a comment, the code is easier to read:

`// none | [ space | ideographic-space ] && auto-phrase?`

Line 4576, Patchset 18: list->Append(*auto_phrase);
Rune Lillesveen . unresolved

Since you're adding the values as you go, the serialization won't be canonicalized when serializing declaration values, which I think the spec demands in this case:

"If certain component values can appear in any order without changing the meaning of the value (a pattern typically represented by a double bar || in the value syntax), reorder the component values to use the canonical order of component values as given in the property definition table."

I suggest creating the list value after the loop, always with the auto-phrase at the end.

File third_party/blink/renderer/core/css/properties/longhands/longhands_custom.cc
Line 12120, Patchset 18: } else if (word_space_transform & kWordSpaceTransformIdeographicSpace) {
Rune Lillesveen . unresolved

This could be a pure `else` because of the DCHECK above. Also, if the `else` failed here, you would get a crash in the dereference below.

How about just:

```
CSSValueID space_keyword = (word_space_transform & kWordSpaceTransformSpace) ? CSSValueID::kSpace : CSSValueID::kWordSpaceTransformIdeographicSpace;
CSSValue* space_value = CSSIdentifiedValue::Create(space_keyword);
```

File third_party/blink/renderer/core/style/computed_style.cc
Line 128, Patchset 18: Member<void*> pointers[12];
Rune Lillesveen . unresolved

This size change is not acceptable. You need to add this to a `group:` in css_properties.json5. Either to `"*"` or if there is an existing named group for text properties where this naturally fits in.

Open in Gerrit

Related details

Attention is currently required from:
  • Ian Kilpatrick
  • Minseong Kim
Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I1948662fedd35bfea8aad6533df9f72d805f5981
    Gerrit-Change-Number: 6666903
    Gerrit-PatchSet: 18
    Gerrit-Owner: Minseong Kim <jja0...@gmail.com>
    Gerrit-Reviewer: Ian Kilpatrick <ikilp...@chromium.org>
    Gerrit-Reviewer: Minseong Kim <jja0...@gmail.com>
    Gerrit-Reviewer: Rune Lillesveen <fut...@chromium.org>
    Gerrit-CC: Alexis Menard <alexis...@intel.com>
    Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
    Gerrit-Attention: Minseong Kim <jja0...@gmail.com>
    Gerrit-Attention: Ian Kilpatrick <ikilp...@chromium.org>
    Gerrit-Comment-Date: Mon, 18 Aug 2025 06:45:14 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Morten Stenshorne (Gerrit)

    unread,
    Aug 18, 2025, 4:52:50 AMAug 18
    to Minseong Kim, Ian Kilpatrick, Rune Lillesveen, Chromium LUCI CQ, chromium...@chromium.org, Chromium Metrics Reviews, Alexis Menard, AyeAye, blink-...@chromium.org, blink-revie...@chromium.org, blink-rev...@chromium.org, zol...@webkit.org, jmedle...@chromium.org, blink-re...@chromium.org, blink-revi...@chromium.org, kinuko...@chromium.org, apavlo...@chromium.org, asvitkine...@chromium.org, blink-re...@chromium.org
    Attention needed from Ian Kilpatrick and Minseong Kim

    Morten Stenshorne added 1 comment

    File third_party/blink/renderer/core/css/css_properties.json5
    Line 7352, Patchset 18: valid_for_page_context: true,
    Rune Lillesveen . unresolved

    Doesn't sound correct?

    Morten Stenshorne

    This seems fine. There's a list of properties that must be supported in `@page`, and this one is not on the list. "Behavior for properties not included in CSS 2.1 is undefined.". Still, I think this one should be allowed. There may be text in `@page` margins.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Ian Kilpatrick
    • Minseong Kim
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I1948662fedd35bfea8aad6533df9f72d805f5981
    Gerrit-Change-Number: 6666903
    Gerrit-PatchSet: 20
    Gerrit-Owner: Minseong Kim <jja0...@gmail.com>
    Gerrit-Reviewer: Ian Kilpatrick <ikilp...@chromium.org>
    Gerrit-Reviewer: Minseong Kim <jja0...@gmail.com>
    Gerrit-Reviewer: Rune Lillesveen <fut...@chromium.org>
    Gerrit-CC: Alexis Menard <alexis...@intel.com>
    Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
    Gerrit-CC: Morten Stenshorne <mste...@chromium.org>
    Gerrit-Attention: Minseong Kim <jja0...@gmail.com>
    Gerrit-Attention: Ian Kilpatrick <ikilp...@chromium.org>
    Gerrit-Comment-Date: Mon, 18 Aug 2025 08:52:34 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Rune Lillesveen <fut...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Rune Lillesveen (Gerrit)

    unread,
    Aug 18, 2025, 5:18:10 AMAug 18
    to Minseong Kim, Morten Stenshorne, Ian Kilpatrick, Rune Lillesveen, Chromium LUCI CQ, chromium...@chromium.org, Chromium Metrics Reviews, Alexis Menard, AyeAye, blink-...@chromium.org, blink-revie...@chromium.org, blink-rev...@chromium.org, zol...@webkit.org, jmedle...@chromium.org, blink-re...@chromium.org, blink-revi...@chromium.org, kinuko...@chromium.org, apavlo...@chromium.org, asvitkine...@chromium.org, blink-re...@chromium.org
    Attention needed from Ian Kilpatrick, Minseong Kim and Morten Stenshorne

    Rune Lillesveen added 1 comment

    File third_party/blink/renderer/core/css/css_properties.json5
    Line 7352, Patchset 18: valid_for_page_context: true,
    Rune Lillesveen . resolved

    Doesn't sound correct?

    Morten Stenshorne

    This seems fine. There's a list of properties that must be supported in `@page`, and this one is not on the list. "Behavior for properties not included in CSS 2.1 is undefined.". Still, I think this one should be allowed. There may be text in `@page` margins.

    Rune Lillesveen

    Acknowledged

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Ian Kilpatrick
    • Minseong Kim
    • Morten Stenshorne
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I1948662fedd35bfea8aad6533df9f72d805f5981
    Gerrit-Change-Number: 6666903
    Gerrit-PatchSet: 20
    Gerrit-Owner: Minseong Kim <jja0...@gmail.com>
    Gerrit-Reviewer: Ian Kilpatrick <ikilp...@chromium.org>
    Gerrit-Reviewer: Minseong Kim <jja0...@gmail.com>
    Gerrit-Reviewer: Rune Lillesveen <fut...@chromium.org>
    Gerrit-CC: Alexis Menard <alexis...@intel.com>
    Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
    Gerrit-CC: Morten Stenshorne <mste...@chromium.org>
    Gerrit-Attention: Minseong Kim <jja0...@gmail.com>
    Gerrit-Attention: Morten Stenshorne <mste...@chromium.org>
    Gerrit-Attention: Ian Kilpatrick <ikilp...@chromium.org>
    Gerrit-Comment-Date: Mon, 18 Aug 2025 09:17:52 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Rune Lillesveen <fut...@chromium.org>
    Comment-In-Reply-To: Morten Stenshorne <mste...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Minseong Kim (Gerrit)

    unread,
    Aug 18, 2025, 11:36:28 PMAug 18
    to Ian Kilpatrick, Rune Lillesveen, Chromium LUCI CQ, chromium...@chromium.org, Chromium Metrics Reviews, Alexis Menard, AyeAye, blink-...@chromium.org, blink-revie...@chromium.org, blink-rev...@chromium.org, zol...@webkit.org, jmedle...@chromium.org, blink-re...@chromium.org, blink-revi...@chromium.org, kinuko...@chromium.org, apavlo...@chromium.org, asvitkine...@chromium.org, blink-re...@chromium.org
    Attention needed from Ian Kilpatrick and Rune Lillesveen

    Minseong Kim added 9 comments

    Commit Message
    Line 15, Patchset 18:for each one of thos keywords.
    Rune Lillesveen . resolved

    Please fix this WARNING reported by Spellchecker: "thos" is a possible misspelling of "those" or "this".

    To bypass Spellchecker, ...

    "thos" is a possible misspelling of "those" or "this".

    To bypass Spellchecker, add a footer with DISABLE_SPELLCHECKER

    Minseong Kim

    Opps, I missed this report. Thanks.

    File third_party/blink/renderer/core/css/css_properties.json5
    Line 7349, Patchset 18: valid_for_first_letter: true,
    Rune Lillesveen . resolved

    Does this make sense for ::first-letter? Does the spec list it?

    Minseong Kim

    Hmm, I think this doesn't make sense for ::first-letter and couldn't find this at the spec list. I removed this.

    Line 7350, Patchset 18: valid_for_first_line: true,
    Rune Lillesveen . resolved

    Likewise

    Minseong Kim

    The [::first-line spec](https://www.w3.org/TR/css-pseudo-4/#first-line-styling) says:

    any typesetting properties that apply to inline elements (see [CSS-TEXT-4])

    But, I'm not sure the `word-space-transform` can be used in `inline` elements. I removed this and try to open a CSSWG issue to ensure it.

    Line 7351, Patchset 18: valid_for_marker: true,
    Rune Lillesveen . resolved

    I think the spec for ::marker has an explicit list for which properties apply. Is this included?

    Minseong Kim

    The [spec(CSS Lists and Counters Module Level 3)](https://www.w3.org/TR/css-lists-3/#marker-properties) says:

    However, inheritable properties that apply to text can be set on the ::marker pseudo-element: these will inherit to and take effect on its text contents.
    white-space, text-transform, letter-spacing (see [CSS-TEXT-3])

    But, there is no `word-space-transform` in the spec. So, I removed this and open a CSSWG issue same as the `valid_for_first_line`.

    Line 7354, Patchset 18: valid_for_permission_element: true,
    Rune Lillesveen . resolved

    This is definitely suspicious.

    Minseong Kim

    Ok, I removed this. Thanks.

    File third_party/blink/renderer/core/css/properties/css_parsing_utils.cc
    Line 4559, Patchset 18:
    Rune Lillesveen . resolved

    If you add the syntax as a comment, the code is easier to read:

    `// none | [ space | ideographic-space ] && auto-phrase?`

    Minseong Kim

    Done

    Line 4576, Patchset 18: list->Append(*auto_phrase);
    Rune Lillesveen . resolved

    Since you're adding the values as you go, the serialization won't be canonicalized when serializing declaration values, which I think the spec demands in this case:

    "If certain component values can appear in any order without changing the meaning of the value (a pattern typically represented by a double bar || in the value syntax), reorder the component values to use the canonical order of component values as given in the property definition table."

    I suggest creating the list value after the loop, always with the auto-phrase at the end.

    Minseong Kim

    Yes, you're right. I was confused because [some test](https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/web_tests/external/wpt/css/css-text/parsing/word-space-transform-valid.html;l=19-20) contained the following invalid expectations.
    ```
    test_valid_value("word-space-transform", "auto-phrase space");
    test_valid_value("word-space-transform", "auto-phrase ideographic-space");
    ```
    So, I updated the test by adding `serializedValue` parameters. Thanks!

    File third_party/blink/renderer/core/css/properties/longhands/longhands_custom.cc
    Line 12120, Patchset 18: } else if (word_space_transform & kWordSpaceTransformIdeographicSpace) {
    Rune Lillesveen . resolved

    This could be a pure `else` because of the DCHECK above. Also, if the `else` failed here, you would get a crash in the dereference below.

    How about just:

    ```
    CSSValueID space_keyword = (word_space_transform & kWordSpaceTransformSpace) ? CSSValueID::kSpace : CSSValueID::kWordSpaceTransformIdeographicSpace;
    CSSValue* space_value = CSSIdentifiedValue::Create(space_keyword);
    ```

    Minseong Kim

    Thanks. The code looks much simpler and readable.

    File third_party/blink/renderer/core/style/computed_style.cc
    Line 128, Patchset 18: Member<void*> pointers[12];
    Rune Lillesveen . resolved

    This size change is not acceptable. You need to add this to a `group:` in css_properties.json5. Either to `"*"` or if there is an existing named group for text properties where this naturally fits in.

    Minseong Kim

    Done. I also removed the `independent: true`. Thanks for giving the information!

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Ian Kilpatrick
    • Rune Lillesveen
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I1948662fedd35bfea8aad6533df9f72d805f5981
    Gerrit-Change-Number: 6666903
    Gerrit-PatchSet: 27
    Gerrit-Owner: Minseong Kim <jja0...@gmail.com>
    Gerrit-Reviewer: Ian Kilpatrick <ikilp...@chromium.org>
    Gerrit-Reviewer: Minseong Kim <jja0...@gmail.com>
    Gerrit-Reviewer: Rune Lillesveen <fut...@chromium.org>
    Gerrit-CC: Alexis Menard <alexis...@intel.com>
    Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
    Gerrit-Attention: Rune Lillesveen <fut...@chromium.org>
    Gerrit-Attention: Ian Kilpatrick <ikilp...@chromium.org>
    Gerrit-Comment-Date: Tue, 19 Aug 2025 03:36:04 +0000
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    fabian athayde (Gerrit)

    unread,
    Aug 18, 2025, 11:42:08 PMAug 18
    to Minseong Kim, Ian Kilpatrick, Rune Lillesveen, Chromium LUCI CQ, chromium...@chromium.org, Chromium Metrics Reviews, Alexis Menard, AyeAye, blink-...@chromium.org, blink-revie...@chromium.org, blink-rev...@chromium.org, zol...@webkit.org, jmedle...@chromium.org, blink-re...@chromium.org, blink-revi...@chromium.org, kinuko...@chromium.org, apavlo...@chromium.org, asvitkine...@chromium.org, blink-re...@chromium.org
    Attention needed from Ian Kilpatrick and Rune Lillesveen

    fabian athayde added 1 comment

    Message

    Pushing emails again there must be a string they are using for that

    On Mon, Aug 18, 2025, 10:36 PM Minseong Kim (Gerrit) <noreply-gerritcodereview+4NaADPwo-z39kpmWJ06gtQ==@> wrote: chromium.org

    1 comment

    Patchset-level comments
    File-level comment, Patchset 27 (Latest):
    fabian athayde . resolved

    Pushing emails again there must be a string they are using for that

    On Mon, Aug 18, 2025, 10:36 PM Minseong Kim (Gerrit) <noreply-gerritcodereview+4NaADPwo-z39kpmWJ06gtQ==@> wrote: chromium.org

    Gerrit-Comment-Date: Tue, 19 Aug 2025 03:42:02 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    fabian athayde (Gerrit)

    unread,
    Aug 18, 2025, 11:42:46 PMAug 18
    to Minseong Kim, Ian Kilpatrick, Rune Lillesveen, Chromium LUCI CQ, chromium...@chromium.org, Chromium Metrics Reviews, Alexis Menard, AyeAye, blink-...@chromium.org, blink-revie...@chromium.org, blink-rev...@chromium.org, zol...@webkit.org, jmedle...@chromium.org, blink-re...@chromium.org, blink-revi...@chromium.org, kinuko...@chromium.org, apavlo...@chromium.org, asvitkine...@chromium.org, blink-re...@chromium.org
    Attention needed from Ian Kilpatrick and Rune Lillesveen

    fabian athayde added 1 comment

    Message

    And phone mirrored

    On Mon, Aug 18, 2025, 10:36 PM Minseong Kim (Gerrit) <noreply-gerritcodereview+4NaADPwo-z39kpmWJ06gtQ==@> wrote: chromium.org

    1 comment

    Patchset-level comments
    fabian athayde . resolved

    And phone mirrored

    Gerrit-Comment-Date: Tue, 19 Aug 2025 03:42:33 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Rune Lillesveen (Gerrit)

    unread,
    Aug 19, 2025, 2:29:49 AMAug 19
    to Minseong Kim, Rune Lillesveen, Ian Kilpatrick, Chromium LUCI CQ, chromium...@chromium.org, Chromium Metrics Reviews, Alexis Menard, AyeAye, blink-...@chromium.org, blink-revie...@chromium.org, blink-rev...@chromium.org, zol...@webkit.org, jmedle...@chromium.org, blink-re...@chromium.org, blink-revi...@chromium.org, kinuko...@chromium.org, apavlo...@chromium.org, asvitkine...@chromium.org, blink-re...@chromium.org
    Attention needed from Ian Kilpatrick and Minseong Kim

    Rune Lillesveen voted and added 1 comment

    Votes added by Rune Lillesveen

    Code-Review+1

    1 comment

    Patchset-level comments
    Rune Lillesveen . resolved

    lgtm

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Ian Kilpatrick
    • Minseong Kim
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I1948662fedd35bfea8aad6533df9f72d805f5981
    Gerrit-Change-Number: 6666903
    Gerrit-PatchSet: 27
    Gerrit-Owner: Minseong Kim <jja0...@gmail.com>
    Gerrit-Reviewer: Ian Kilpatrick <ikilp...@chromium.org>
    Gerrit-Reviewer: Minseong Kim <jja0...@gmail.com>
    Gerrit-Reviewer: Rune Lillesveen <fut...@chromium.org>
    Gerrit-CC: Alexis Menard <alexis...@intel.com>
    Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
    Gerrit-Attention: Minseong Kim <jja0...@gmail.com>
    Gerrit-Attention: Ian Kilpatrick <ikilp...@chromium.org>
    Gerrit-Comment-Date: Tue, 19 Aug 2025 06:29:30 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Ian Kilpatrick (Gerrit)

    unread,
    Aug 20, 2025, 4:13:36 PMAug 20
    to Minseong Kim, Rune Lillesveen, Chromium LUCI CQ, chromium...@chromium.org, Chromium Metrics Reviews, Alexis Menard, AyeAye, blink-...@chromium.org, blink-revie...@chromium.org, blink-rev...@chromium.org, zol...@webkit.org, jmedle...@chromium.org, blink-re...@chromium.org, blink-revi...@chromium.org, kinuko...@chromium.org, apavlo...@chromium.org, asvitkine...@chromium.org, blink-re...@chromium.org
    Attention needed from Minseong Kim

    Ian Kilpatrick voted and added 1 comment

    Votes added by Ian Kilpatrick

    Code-Review+1

    1 comment

    File third_party/blink/renderer/core/css/css_properties.json5
    Line 7343, Patchset 27 (Latest): field_size: 4,
    Ian Kilpatrick . unresolved

    Isn't the value space 3 bits?

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Minseong Kim
    Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement satisfiedCode-Owners
      • requirement satisfiedCode-Review
      • requirement is not satisfiedNo-Unresolved-Comments
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I1948662fedd35bfea8aad6533df9f72d805f5981
      Gerrit-Change-Number: 6666903
      Gerrit-PatchSet: 27
      Gerrit-Owner: Minseong Kim <jja0...@gmail.com>
      Gerrit-Reviewer: Ian Kilpatrick <ikilp...@chromium.org>
      Gerrit-Reviewer: Minseong Kim <jja0...@gmail.com>
      Gerrit-Reviewer: Rune Lillesveen <fut...@chromium.org>
      Gerrit-CC: Alexis Menard <alexis...@intel.com>
      Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
      Gerrit-Attention: Minseong Kim <jja0...@gmail.com>
      Gerrit-Comment-Date: Wed, 20 Aug 2025 20:13:24 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Minseong Kim (Gerrit)

      unread,
      Aug 20, 2025, 8:50:12 PMAug 20
      to Ian Kilpatrick, Rune Lillesveen, Chromium LUCI CQ, chromium...@chromium.org, Chromium Metrics Reviews, Alexis Menard, AyeAye, blink-...@chromium.org, blink-revie...@chromium.org, blink-rev...@chromium.org, zol...@webkit.org, jmedle...@chromium.org, blink-re...@chromium.org, blink-revi...@chromium.org, kinuko...@chromium.org, apavlo...@chromium.org, asvitkine...@chromium.org, blink-re...@chromium.org
      Attention needed from Ian Kilpatrick and Rune Lillesveen

      Minseong Kim added 1 comment

      File third_party/blink/renderer/core/css/css_properties.json5
      Line 7343, Patchset 27: field_size: 4,
      Ian Kilpatrick . resolved

      Isn't the value space 3 bits?

      Minseong Kim

      Oh. Yes, it seems the `3 bits` is right. But, the [win-libfuzzer-asan-rel](https://logs.chromium.org/logs/chromium/buildbucket/cr-buildbucket/8705972567820416225/+/u/compile/raw_io.output_text_failure_summary_) is failed after changing. How can I fix this failure? I couldn't find the way.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Ian Kilpatrick
      • Rune Lillesveen
      Submit Requirements:
        • requirement satisfiedCode-Coverage
        • requirement satisfiedCode-Owners
        • requirement is not satisfiedCode-Review
        Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
        Gerrit-MessageType: comment
        Gerrit-Project: chromium/src
        Gerrit-Branch: main
        Gerrit-Change-Id: I1948662fedd35bfea8aad6533df9f72d805f5981
        Gerrit-Change-Number: 6666903
        Gerrit-PatchSet: 28
        Gerrit-Owner: Minseong Kim <jja0...@gmail.com>
        Gerrit-Reviewer: Ian Kilpatrick <ikilp...@chromium.org>
        Gerrit-Reviewer: Minseong Kim <jja0...@gmail.com>
        Gerrit-Reviewer: Rune Lillesveen <fut...@chromium.org>
        Gerrit-CC: Alexis Menard <alexis...@intel.com>
        Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
        Gerrit-Attention: Rune Lillesveen <fut...@chromium.org>
        Gerrit-Attention: Ian Kilpatrick <ikilp...@chromium.org>
        Gerrit-Comment-Date: Thu, 21 Aug 2025 00:49:39 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: No
        Comment-In-Reply-To: Ian Kilpatrick <ikilp...@chromium.org>
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Koji Ishii (Gerrit)

        unread,
        Aug 21, 2025, 2:02:38 AMAug 21
        to Minseong Kim, Ian Kilpatrick, Rune Lillesveen, Chromium LUCI CQ, chromium...@chromium.org, Chromium Metrics Reviews, Alexis Menard, AyeAye, blink-...@chromium.org, blink-revie...@chromium.org, blink-rev...@chromium.org, zol...@webkit.org, jmedle...@chromium.org, blink-re...@chromium.org, blink-revi...@chromium.org, kinuko...@chromium.org, apavlo...@chromium.org, asvitkine...@chromium.org, blink-re...@chromium.org
        Attention needed from Ian Kilpatrick, Minseong Kim and Rune Lillesveen

        Koji Ishii added 1 comment

        Patchset-level comments
        File-level comment, Patchset 28 (Latest):
        Koji Ishii . resolved

        Sorry I should have noticed earlier, but I don't think we can implement this property, because ICU doesn't expose the "virtual expandable separators".

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Ian Kilpatrick
        • Minseong Kim
        • Rune Lillesveen
        Submit Requirements:
        • requirement satisfiedCode-Coverage
        • requirement satisfiedCode-Owners
        • requirement is not satisfiedCode-Review
        Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
        Gerrit-MessageType: comment
        Gerrit-Project: chromium/src
        Gerrit-Branch: main
        Gerrit-Change-Id: I1948662fedd35bfea8aad6533df9f72d805f5981
        Gerrit-Change-Number: 6666903
        Gerrit-PatchSet: 28
        Gerrit-Owner: Minseong Kim <jja0...@gmail.com>
        Gerrit-Reviewer: Ian Kilpatrick <ikilp...@chromium.org>
        Gerrit-Reviewer: Minseong Kim <jja0...@gmail.com>
        Gerrit-Reviewer: Rune Lillesveen <fut...@chromium.org>
        Gerrit-CC: Alexis Menard <alexis...@intel.com>
        Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
        Gerrit-CC: Koji Ishii <ko...@chromium.org>
        Gerrit-Attention: Rune Lillesveen <fut...@chromium.org>
        Gerrit-Attention: Minseong Kim <jja0...@gmail.com>
        Gerrit-Attention: Ian Kilpatrick <ikilp...@chromium.org>
        Gerrit-Comment-Date: Thu, 21 Aug 2025 06:02:03 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: No
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Koji Ishii (Gerrit)

        unread,
        Aug 21, 2025, 2:09:59 AMAug 21
        to Minseong Kim, Ian Kilpatrick, Rune Lillesveen, Chromium LUCI CQ, chromium...@chromium.org, Chromium Metrics Reviews, Alexis Menard, AyeAye, blink-...@chromium.org, blink-revie...@chromium.org, blink-rev...@chromium.org, zol...@webkit.org, jmedle...@chromium.org, blink-re...@chromium.org, blink-revi...@chromium.org, kinuko...@chromium.org, apavlo...@chromium.org, asvitkine...@chromium.org, blink-re...@chromium.org
        Attention needed from Ian Kilpatrick, Minseong Kim and Rune Lillesveen

        Koji Ishii added 1 comment

        Patchset-level comments
        Koji Ishii . unresolved

        Sorry I should have noticed earlier, but I don't think we can implement this property, because ICU doesn't expose the "virtual expandable separators".

        Koji Ishii

        If you have ideas how to compute it, can you write a one-pager?

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Ian Kilpatrick
        • Minseong Kim
        • Rune Lillesveen
        Submit Requirements:
          • requirement satisfiedCode-Coverage
          • requirement satisfiedCode-Owners
          • requirement is not satisfiedCode-Review
          • requirement is not satisfiedNo-Unresolved-Comments
          Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
          Gerrit-MessageType: comment
          Gerrit-Project: chromium/src
          Gerrit-Branch: main
          Gerrit-Change-Id: I1948662fedd35bfea8aad6533df9f72d805f5981
          Gerrit-Change-Number: 6666903
          Gerrit-PatchSet: 28
          Gerrit-Owner: Minseong Kim <jja0...@gmail.com>
          Gerrit-Reviewer: Ian Kilpatrick <ikilp...@chromium.org>
          Gerrit-Reviewer: Minseong Kim <jja0...@gmail.com>
          Gerrit-Reviewer: Rune Lillesveen <fut...@chromium.org>
          Gerrit-CC: Alexis Menard <alexis...@intel.com>
          Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
          Gerrit-CC: Koji Ishii <ko...@chromium.org>
          Gerrit-Attention: Rune Lillesveen <fut...@chromium.org>
          Gerrit-Attention: Minseong Kim <jja0...@gmail.com>
          Gerrit-Attention: Ian Kilpatrick <ikilp...@chromium.org>
          Gerrit-Comment-Date: Thu, 21 Aug 2025 06:09:30 +0000
          Gerrit-HasComments: Yes
          Gerrit-Has-Labels: No
          Comment-In-Reply-To: Koji Ishii <ko...@chromium.org>
          satisfied_requirement
          unsatisfied_requirement
          open
          diffy

          Minseong Kim (Gerrit)

          unread,
          Aug 21, 2025, 9:32:16 PMAug 21
          to Koji Ishii, Ian Kilpatrick, Rune Lillesveen, Chromium LUCI CQ, chromium...@chromium.org, Chromium Metrics Reviews, Alexis Menard, AyeAye, blink-...@chromium.org, blink-revie...@chromium.org, blink-rev...@chromium.org, zol...@webkit.org, jmedle...@chromium.org, blink-re...@chromium.org, blink-revi...@chromium.org, kinuko...@chromium.org, apavlo...@chromium.org, asvitkine...@chromium.org, blink-re...@chromium.org
          Attention needed from Ian Kilpatrick, Koji Ishii and Rune Lillesveen

          Minseong Kim added 1 comment

          Patchset-level comments
          Koji Ishii . unresolved

          Sorry I should have noticed earlier, but I don't think we can implement this property, because ICU doesn't expose the "virtual expandable separators".

          Koji Ishii

          If you have ideas how to compute it, can you write a one-pager?

          Minseong Kim

          Does your comment mean that ICU currently lacks the capability to detect phrase boundaries?

          Would it be infeasible to leverage technologies like budouX, as mentioned in [this document that you wrote](https://docs.google.com/document/d/1QyPza8XS4aaYD-yA1MHYx56Hy7DZuEm9cAH-A6lTu8c/edit?usp=sharing)?

          I would like to clarify what the exact technical constraints are.

          If there are hard limitations, would it be acceptable to implement the property without the `auto-phrase` part for now?

          Thank you for your attention.

          Open in Gerrit

          Related details

          Attention is currently required from:
          • Ian Kilpatrick
          • Koji Ishii
          • Rune Lillesveen
          Submit Requirements:
          • requirement satisfiedCode-Coverage
          • requirement satisfiedCode-Owners
          • requirement is not satisfiedCode-Review
          • requirement is not satisfiedNo-Unresolved-Comments
          Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
          Gerrit-MessageType: comment
          Gerrit-Project: chromium/src
          Gerrit-Branch: main
          Gerrit-Change-Id: I1948662fedd35bfea8aad6533df9f72d805f5981
          Gerrit-Change-Number: 6666903
          Gerrit-PatchSet: 28
          Gerrit-Owner: Minseong Kim <jja0...@gmail.com>
          Gerrit-Reviewer: Ian Kilpatrick <ikilp...@chromium.org>
          Gerrit-Reviewer: Minseong Kim <jja0...@gmail.com>
          Gerrit-Reviewer: Rune Lillesveen <fut...@chromium.org>
          Gerrit-CC: Alexis Menard <alexis...@intel.com>
          Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
          Gerrit-CC: Koji Ishii <ko...@chromium.org>
          Gerrit-Attention: Koji Ishii <ko...@chromium.org>
          Gerrit-Attention: Rune Lillesveen <fut...@chromium.org>
          Gerrit-Attention: Ian Kilpatrick <ikilp...@chromium.org>
          Gerrit-Comment-Date: Fri, 22 Aug 2025 01:32:06 +0000
          satisfied_requirement
          unsatisfied_requirement
          open
          diffy

          Koji Ishii (Gerrit)

          unread,
          Aug 22, 2025, 12:03:13 AMAug 22
          to Minseong Kim, Ian Kilpatrick, Rune Lillesveen, Chromium LUCI CQ, chromium...@chromium.org, Chromium Metrics Reviews, Alexis Menard, AyeAye, blink-...@chromium.org, blink-revie...@chromium.org, blink-rev...@chromium.org, zol...@webkit.org, jmedle...@chromium.org, blink-re...@chromium.org, blink-revi...@chromium.org, kinuko...@chromium.org, apavlo...@chromium.org, asvitkine...@chromium.org, blink-re...@chromium.org
          Attention needed from Ian Kilpatrick, Minseong Kim and Rune Lillesveen

          Koji Ishii added 1 comment

          Patchset-level comments
          Koji Ishii . unresolved

          Sorry I should have noticed earlier, but I don't think we can implement this property, because ICU doesn't expose the "virtual expandable separators".

          Koji Ishii

          If you have ideas how to compute it, can you write a one-pager?

          Minseong Kim

          Does your comment mean that ICU currently lacks the capability to detect phrase boundaries?

          Would it be infeasible to leverage technologies like budouX, as mentioned in [this document that you wrote](https://docs.google.com/document/d/1QyPza8XS4aaYD-yA1MHYx56Hy7DZuEm9cAH-A6lTu8c/edit?usp=sharing)?

          I would like to clarify what the exact technical constraints are.

          If there are hard limitations, would it be acceptable to implement the property without the `auto-phrase` part for now?

          Thank you for your attention.

          Koji Ishii

          ICU computes all break opportunities, not only the "virtual expandable separators", so you will need to distinguish whether a break opportunity is a normal one or the virtual one. The only way I can think is to run the break iterator twice, once for `auto-phrase` and another without, and subtract the difference, but it's complicated and slow, and I'm not sure if that'd work reliably.

          Also, if we succeeded to compute the virtual one, I'm curious how you're planning to insert the space. I guess it'll need to change pre-layout, line breaker, shaping, editing, and maybe more, but there may be other simpler approaches. I'm curious how you're planning to do it.

          It'd help us if you can write up your thoughts on a doc.

          Open in Gerrit

          Related details

          Attention is currently required from:
          • Ian Kilpatrick
          • Minseong Kim
          • Rune Lillesveen
          Submit Requirements:
          • requirement satisfiedCode-Coverage
          • requirement satisfiedCode-Owners
          • requirement is not satisfiedCode-Review
          • requirement is not satisfiedNo-Unresolved-Comments
          Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
          Gerrit-MessageType: comment
          Gerrit-Project: chromium/src
          Gerrit-Branch: main
          Gerrit-Change-Id: I1948662fedd35bfea8aad6533df9f72d805f5981
          Gerrit-Change-Number: 6666903
          Gerrit-PatchSet: 28
          Gerrit-Owner: Minseong Kim <jja0...@gmail.com>
          Gerrit-Reviewer: Ian Kilpatrick <ikilp...@chromium.org>
          Gerrit-Reviewer: Minseong Kim <jja0...@gmail.com>
          Gerrit-Reviewer: Rune Lillesveen <fut...@chromium.org>
          Gerrit-CC: Alexis Menard <alexis...@intel.com>
          Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
          Gerrit-CC: Koji Ishii <ko...@chromium.org>
          Gerrit-Attention: Rune Lillesveen <fut...@chromium.org>
          Gerrit-Attention: Minseong Kim <jja0...@gmail.com>
          Gerrit-Attention: Ian Kilpatrick <ikilp...@chromium.org>
          Gerrit-Comment-Date: Fri, 22 Aug 2025 04:02:46 +0000
          Gerrit-HasComments: Yes
          Gerrit-Has-Labels: No
          Comment-In-Reply-To: Koji Ishii <ko...@chromium.org>
          Comment-In-Reply-To: Minseong Kim <jja0...@gmail.com>
          satisfied_requirement
          unsatisfied_requirement
          open
          diffy

          Minseong Kim (Gerrit)

          unread,
          Aug 24, 2025, 11:04:02 PMAug 24
          to Koji Ishii, Ian Kilpatrick, Rune Lillesveen, Chromium LUCI CQ, chromium...@chromium.org, Chromium Metrics Reviews, Alexis Menard, AyeAye, blink-...@chromium.org, blink-revie...@chromium.org, blink-rev...@chromium.org, zol...@webkit.org, jmedle...@chromium.org, blink-re...@chromium.org, blink-revi...@chromium.org, kinuko...@chromium.org, apavlo...@chromium.org, asvitkine...@chromium.org, blink-re...@chromium.org
          Attention needed from Ian Kilpatrick, Koji Ishii and Rune Lillesveen

          Minseong Kim added 1 comment

          Patchset-level comments
          Koji Ishii . unresolved

          Sorry I should have noticed earlier, but I don't think we can implement this property, because ICU doesn't expose the "virtual expandable separators".

          Koji Ishii

          If you have ideas how to compute it, can you write a one-pager?

          Minseong Kim

          Does your comment mean that ICU currently lacks the capability to detect phrase boundaries?

          Would it be infeasible to leverage technologies like budouX, as mentioned in [this document that you wrote](https://docs.google.com/document/d/1QyPza8XS4aaYD-yA1MHYx56Hy7DZuEm9cAH-A6lTu8c/edit?usp=sharing)?

          I would like to clarify what the exact technical constraints are.

          If there are hard limitations, would it be acceptable to implement the property without the `auto-phrase` part for now?

          Thank you for your attention.

          Koji Ishii

          ICU computes all break opportunities, not only the "virtual expandable separators", so you will need to distinguish whether a break opportunity is a normal one or the virtual one. The only way I can think is to run the break iterator twice, once for `auto-phrase` and another without, and subtract the difference, but it's complicated and slow, and I'm not sure if that'd work reliably.

          Also, if we succeeded to compute the virtual one, I'm curious how you're planning to insert the space. I guess it'll need to change pre-layout, line breaker, shaping, editing, and maybe more, but there may be other simpler approaches. I'm curious how you're planning to do it.

          It'd help us if you can write up your thoughts on a doc.

          Minseong Kim

          Thank you very much for the detailed explanation.

          After reviewing both your comments and the related code, I now understand why distinguishing the “virtual expandable separators” is quite difficult in practice. I agree that the approach would be complicated and may not work reliably.

          I really appreciate your insights. For now, I will keep this patch as WIP, since the implementation does not seem feasible with the current constraints.

          Thanks again for your guidance.

          Open in Gerrit

          Related details

          Attention is currently required from:
          • Ian Kilpatrick
          • Koji Ishii
          • Rune Lillesveen
          Submit Requirements:
          • requirement satisfiedCode-Coverage
          • requirement satisfiedCode-Owners
          • requirement is not satisfiedCode-Review
          • requirement is not satisfiedNo-Unresolved-Comments
          Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
          Gerrit-MessageType: comment
          Gerrit-Project: chromium/src
          Gerrit-Branch: main
          Gerrit-Change-Id: I1948662fedd35bfea8aad6533df9f72d805f5981
          Gerrit-Change-Number: 6666903
          Gerrit-PatchSet: 28
          Gerrit-Owner: Minseong Kim <jja0...@gmail.com>
          Gerrit-Reviewer: Ian Kilpatrick <ikilp...@chromium.org>
          Gerrit-Reviewer: Minseong Kim <jja0...@gmail.com>
          Gerrit-Reviewer: Rune Lillesveen <fut...@chromium.org>
          Gerrit-CC: Alexis Menard <alexis...@intel.com>
          Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
          Gerrit-CC: Koji Ishii <ko...@chromium.org>
          Gerrit-Attention: Koji Ishii <ko...@chromium.org>
          Gerrit-Attention: Rune Lillesveen <fut...@chromium.org>
          Gerrit-Attention: Ian Kilpatrick <ikilp...@chromium.org>
          Gerrit-Comment-Date: Mon, 25 Aug 2025 03:03:35 +0000
          satisfied_requirement
          unsatisfied_requirement
          open
          diffy
          Reply all
          Reply to author
          Forward
          0 new messages