[PDF Ink Signatures] Add WebFormControlElement::GetTextInfo() [chromium/src : main]

0 views
Skip to first unread message

AI Code Reviewer (Gerrit)

unread,
Feb 26, 2026, 5:08:17 PMFeb 26
to Lei Zhang, Ian Kilpatrick, chromium...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org
Attention needed from Ian Kilpatrick

AI Code Reviewer added 5 comments

File third_party/blink/public/web/web_form_control_element.h
Line 182, Patchset 1 (Latest): std::optional<std::vector<TextInfo>> GetTextInfo() const;
AI Code Reviewer . unresolved

Blink Style Guide: Prefer blink:: types over STL and base types. In the public API, consider using `WebVector<TextInfo>` instead of `std::vector<TextInfo>`.

To keep this interaction as brief and non-intrusive as possible, please consider responding with one of following options:
**Done** | **OK But Won't Fix**: reason | **Later**: b/<bug_id> | **Invalid:** reason


_This comment was generated by [Experimental Blink C++ Code Review Agent](http://go/blink-c++-code-review-agent)._
_AI reviews can sometimes be inaccurate; We appreciate your 🙏 feedback 🙏 to help us improve._
_[File a bug](http://go/blink-c++-code-review-agent-feedback) | [Provide feedback on chat](https://chat.google.com/room/AAQA0zhQHe0?cls=4) | [Opt-out](https://ganpati2.corp.google.com/group/peep-genai-blink-agent-optout.prod)_

Line 58, Patchset 1 (Latest): std::vector<uint16_t> glyphs;
AI Code Reviewer . unresolved

Blink Style Guide: Prefer blink:: types over STL and base types. In the public API, consider using `WebVector<uint16_t>` instead of `std::vector<uint16_t>`.

To keep this interaction as brief and non-intrusive as possible, please consider responding with one of following options:
**Done** | **OK But Won't Fix**: reason | **Later**: b/<bug_id> | **Invalid:** reason


_This comment was generated by [Experimental Blink C++ Code Review Agent](http://go/blink-c++-code-review-agent)._
_AI reviews can sometimes be inaccurate; We appreciate your 🙏 feedback 🙏 to help us improve._
_[File a bug](http://go/blink-c++-code-review-agent-feedback) | [Provide feedback on chat](https://chat.google.com/room/AAQA0zhQHe0?cls=4) | [Opt-out](https://ganpati2.corp.google.com/group/peep-genai-blink-agent-optout.prod)_

File third_party/blink/renderer/core/html/forms/html_text_area_element.h
Line 86, Patchset 1 (Latest): std::vector<WebFormControlElement::TextInfo> GetTextInfo() const;
AI Code Reviewer . unresolved

Blink Style Guide: Prefer blink:: types over STL and base types. Use `WTF::Vector` instead of `std::vector` in `core/` code.

To keep this interaction as brief and non-intrusive as possible, please consider responding with one of following options:
**Done** | **OK But Won't Fix**: reason | **Later**: b/<bug_id> | **Invalid:** reason


_This comment was generated by [Experimental Blink C++ Code Review Agent](http://go/blink-c++-code-review-agent)._
_AI reviews can sometimes be inaccurate; We appreciate your 🙏 feedback 🙏 to help us improve._
_[File a bug](http://go/blink-c++-code-review-agent-feedback) | [Provide feedback on chat](https://chat.google.com/room/AAQA0zhQHe0?cls=4) | [Opt-out](https://ganpati2.corp.google.com/group/peep-genai-blink-agent-optout.prod)_

File third_party/blink/renderer/core/html/forms/html_text_area_element.cc
Line 110, Patchset 1 (Latest): auto& results =
AI Code Reviewer . unresolved

Blink Style Guide: Prefer blink:: types over STL and base types. Use `WTF::Vector` instead of `std::vector`.

To keep this interaction as brief and non-intrusive as possible, please consider responding with one of following options:
**Done** | **OK But Won't Fix**: reason | **Later**: b/<bug_id> | **Invalid:** reason


_This comment was generated by [Experimental Blink C++ Code Review Agent](http://go/blink-c++-code-review-agent)._
_AI reviews can sometimes be inaccurate; We appreciate your 🙏 feedback 🙏 to help us improve._
_[File a bug](http://go/blink-c++-code-review-agent-feedback) | [Provide feedback on chat](https://chat.google.com/room/AAQA0zhQHe0?cls=4) | [Opt-out](https://ganpati2.corp.google.com/group/peep-genai-blink-agent-optout.prod)_

Line 875, Patchset 1 (Latest):std::vector<WebFormControlElement::TextInfo> HTMLTextAreaElement::GetTextInfo()
AI Code Reviewer . unresolved

Blink Style Guide: Prefer blink:: types over STL and base types. Use `WTF::Vector` instead of `std::vector` for the return type.

To keep this interaction as brief and non-intrusive as possible, please consider responding with one of following options:
**Done** | **OK But Won't Fix**: reason | **Later**: b/<bug_id> | **Invalid:** reason


_This comment was generated by [Experimental Blink C++ Code Review Agent](http://go/blink-c++-code-review-agent)._
_AI reviews can sometimes be inaccurate; We appreciate your 🙏 feedback 🙏 to help us improve._
_[File a bug](http://go/blink-c++-code-review-agent-feedback) | [Provide feedback on chat](https://chat.google.com/room/AAQA0zhQHe0?cls=4) | [Opt-out](https://ganpati2.corp.google.com/group/peep-genai-blink-agent-optout.prod)_

Open in Gerrit

Related details

Attention is currently required from:
  • Ian Kilpatrick
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
  • requirement is not satisfiedReview-Enforcement
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: Ie67c70ac22e2c93e19aeab1bd2b2ae009f1baed8
Gerrit-Change-Number: 7615407
Gerrit-PatchSet: 1
Gerrit-Owner: Lei Zhang <the...@chromium.org>
Gerrit-Reviewer: Ian Kilpatrick <ikilp...@chromium.org>
Gerrit-CC: AI Code Reviewer <peep-gen...@system.gserviceaccount.com>
Gerrit-Attention: Ian Kilpatrick <ikilp...@chromium.org>
Gerrit-Comment-Date: Thu, 26 Feb 2026 22:08:14 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Lei Zhang (Gerrit)

unread,
Feb 26, 2026, 5:48:20 PMFeb 26
to Lei Zhang, Chromium LUCI CQ, AI Code Reviewer, Ian Kilpatrick, chromium...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org
Attention needed from Ian Kilpatrick

Lei Zhang added 1 comment

File third_party/blink/renderer/core/html/forms/html_text_area_element_test.cc
Line 218, Patchset 2 (Latest): SetBodyContent("<textarea id=test>ai\nis 爱\n</textarea>");
Lei Zhang . resolved

Added a basic test here. The result is currently:

`["aiis ", "爱"]`

but maybe the result needs to be split into:

`[["ai"], ["is ", "爱"]]`.

Not 100% sure what we need yet, but this is roughly the direction this CL is going in.

Open in Gerrit

Related details

Attention is currently required from:
  • Ian Kilpatrick
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
  • requirement is not satisfiedReview-Enforcement
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: Ie67c70ac22e2c93e19aeab1bd2b2ae009f1baed8
Gerrit-Change-Number: 7615407
Gerrit-PatchSet: 2
Gerrit-Owner: Lei Zhang <the...@chromium.org>
Gerrit-Reviewer: Ian Kilpatrick <ikilp...@chromium.org>
Gerrit-Reviewer: Lei Zhang <the...@chromium.org>
Gerrit-CC: AI Code Reviewer <peep-gen...@system.gserviceaccount.com>
Gerrit-Attention: Ian Kilpatrick <ikilp...@chromium.org>
Gerrit-Comment-Date: Thu, 26 Feb 2026 22:48:14 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Lei Zhang (Gerrit)

unread,
Feb 26, 2026, 7:59:09 PMFeb 26
to Lei Zhang, Chromium LUCI CQ, AI Code Reviewer, Ian Kilpatrick, chromium...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org
Attention needed from Ian Kilpatrick

Lei Zhang added 1 comment

Patchset-level comments
File-level comment, Patchset 2 (Latest):
Lei Zhang . resolved

Also, would it be ok to exclude all this code from non-Desktop platforms and sidestep the red Fuchsia bot which probably does font matching differently.

Gerrit-Comment-Date: Fri, 27 Feb 2026 00:59:03 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Dominik Röttsches (Gerrit)

unread,
Feb 27, 2026, 3:24:08 AMFeb 27
to Lei Zhang, Chromium LUCI CQ, AI Code Reviewer, Ian Kilpatrick, chromium...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org
Attention needed from Ian Kilpatrick and Lei Zhang

Dominik Röttsches added 1 comment

File third_party/blink/renderer/core/html/forms/html_text_area_element.cc
Line 908, Patchset 2 (Latest): shape_result_view->ForEachGlyph(/*initial_advance=*/0.0f,
Dominik Röttsches . unresolved

Approach seems correct to me, thanks for your patience and reworking this.

Open in Gerrit

Related details

Attention is currently required from:
  • Ian Kilpatrick
  • Lei Zhang
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
  • requirement is not satisfiedReview-Enforcement
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: Ie67c70ac22e2c93e19aeab1bd2b2ae009f1baed8
Gerrit-Change-Number: 7615407
Gerrit-PatchSet: 2
Gerrit-Owner: Lei Zhang <the...@chromium.org>
Gerrit-Reviewer: Ian Kilpatrick <ikilp...@chromium.org>
Gerrit-Reviewer: Lei Zhang <the...@chromium.org>
Gerrit-CC: AI Code Reviewer <peep-gen...@system.gserviceaccount.com>
Gerrit-CC: Dominik Röttsches <dr...@chromium.org>
Gerrit-Attention: Lei Zhang <the...@chromium.org>
Gerrit-Attention: Ian Kilpatrick <ikilp...@chromium.org>
Gerrit-Comment-Date: Fri, 27 Feb 2026 08:23:51 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Ian Kilpatrick (Gerrit)

unread,
Feb 27, 2026, 2:02:10 PMFeb 27
to Lei Zhang, Dominik Röttsches, Chromium LUCI CQ, AI Code Reviewer, chromium...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org
Attention needed from Lei Zhang

Ian Kilpatrick added 1 comment

Patchset-level comments
Ian Kilpatrick . unresolved

Does this patch replace the other patches that were out for review?

Open in Gerrit

Related details

Attention is currently required from:
  • Lei Zhang
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
  • requirement is not satisfiedReview-Enforcement
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: Ie67c70ac22e2c93e19aeab1bd2b2ae009f1baed8
Gerrit-Change-Number: 7615407
Gerrit-PatchSet: 2
Gerrit-Owner: Lei Zhang <the...@chromium.org>
Gerrit-Reviewer: Ian Kilpatrick <ikilp...@chromium.org>
Gerrit-Reviewer: Lei Zhang <the...@chromium.org>
Gerrit-CC: AI Code Reviewer <peep-gen...@system.gserviceaccount.com>
Gerrit-CC: Dominik Röttsches <dr...@chromium.org>
Gerrit-Attention: Lei Zhang <the...@chromium.org>
Gerrit-Comment-Date: Fri, 27 Feb 2026 19:02:02 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Lei Zhang (Gerrit)

unread,
Feb 27, 2026, 2:08:50 PMFeb 27
to Lei Zhang, Dominik Röttsches, Chromium LUCI CQ, AI Code Reviewer, Ian Kilpatrick, chromium...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org
Attention needed from Ian Kilpatrick

Lei Zhang added 1 comment

Patchset-level comments
Ian Kilpatrick . unresolved

Does this patch replace the other patches that were out for review?

Lei Zhang

I've abandoned all my other CLs, so this replaces my CLs where you were CC'd. I can't speak for https://crrev.com/c/7597894 with 100% certainty, but I imagine it will change if it gets built on top of this CL.

Open in Gerrit

Related details

Attention is currently required from:
  • Ian Kilpatrick
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
  • requirement is not satisfiedReview-Enforcement
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: Ie67c70ac22e2c93e19aeab1bd2b2ae009f1baed8
Gerrit-Change-Number: 7615407
Gerrit-PatchSet: 2
Gerrit-Owner: Lei Zhang <the...@chromium.org>
Gerrit-Reviewer: Ian Kilpatrick <ikilp...@chromium.org>
Gerrit-Reviewer: Lei Zhang <the...@chromium.org>
Gerrit-CC: AI Code Reviewer <peep-gen...@system.gserviceaccount.com>
Gerrit-CC: Dominik Röttsches <dr...@chromium.org>
Gerrit-Attention: Ian Kilpatrick <ikilp...@chromium.org>
Gerrit-Comment-Date: Fri, 27 Feb 2026 19:08:41 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Ian Kilpatrick <ikilp...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy

Ian Kilpatrick (Gerrit)

unread,
Mar 2, 2026, 12:14:26 PMMar 2
to Lei Zhang, Dominik Röttsches, Chromium LUCI CQ, AI Code Reviewer, chromium...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org
Attention needed from Lei Zhang

Ian Kilpatrick added 1 comment

Patchset-level comments
Ian Kilpatrick . unresolved

Does this patch replace the other patches that were out for review?

Lei Zhang

I've abandoned all my other CLs, so this replaces my CLs where you were CC'd. I can't speak for https://crrev.com/c/7597894 with 100% certainty, but I imagine it will change if it gets built on top of this CL.

Ian Kilpatrick

Can you merge https://crrev.com/c/7597894 and this into one patch?

Open in Gerrit

Related details

Attention is currently required from:
  • Lei Zhang
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
  • requirement is not satisfiedReview-Enforcement
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: Ie67c70ac22e2c93e19aeab1bd2b2ae009f1baed8
Gerrit-Change-Number: 7615407
Gerrit-PatchSet: 2
Gerrit-Owner: Lei Zhang <the...@chromium.org>
Gerrit-Reviewer: Ian Kilpatrick <ikilp...@chromium.org>
Gerrit-Reviewer: Lei Zhang <the...@chromium.org>
Gerrit-CC: AI Code Reviewer <peep-gen...@system.gserviceaccount.com>
Gerrit-CC: Dominik Röttsches <dr...@chromium.org>
Gerrit-Attention: Lei Zhang <the...@chromium.org>
Gerrit-Comment-Date: Mon, 02 Mar 2026 17:14:15 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Lei Zhang <the...@chromium.org>
Comment-In-Reply-To: Ian Kilpatrick <ikilp...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy

April Kallmeyer (Gerrit)

unread,
Mar 2, 2026, 12:41:09 PMMar 2
to Lei Zhang, Dominik Röttsches, Chromium LUCI CQ, AI Code Reviewer, Ian Kilpatrick, chromium...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org
Attention needed from Lei Zhang

April Kallmeyer added 1 comment

Patchset-level comments
Ian Kilpatrick . unresolved

Does this patch replace the other patches that were out for review?

Lei Zhang

I've abandoned all my other CLs, so this replaces my CLs where you were CC'd. I can't speak for https://crrev.com/c/7597894 with 100% certainty, but I imagine it will change if it gets built on top of this CL.

Ian Kilpatrick

Can you merge https://crrev.com/c/7597894 and this into one patch?

April Kallmeyer

I'm working on this merge. I think it will ideally end up being two separate CLs.

Open in Gerrit

Related details

Attention is currently required from:
  • Lei Zhang
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
  • requirement is not satisfiedReview-Enforcement
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: Ie67c70ac22e2c93e19aeab1bd2b2ae009f1baed8
Gerrit-Change-Number: 7615407
Gerrit-PatchSet: 2
Gerrit-Owner: Lei Zhang <the...@chromium.org>
Gerrit-Reviewer: Ian Kilpatrick <ikilp...@chromium.org>
Gerrit-Reviewer: Lei Zhang <the...@chromium.org>
Gerrit-CC: AI Code Reviewer <peep-gen...@system.gserviceaccount.com>
Gerrit-CC: April Kallmeyer <a...@chromium.org>
Gerrit-CC: Dominik Röttsches <dr...@chromium.org>
Gerrit-Attention: Lei Zhang <the...@chromium.org>
Gerrit-Comment-Date: Mon, 02 Mar 2026 17:41:02 +0000
satisfied_requirement
unsatisfied_requirement
open
diffy

April Kallmeyer (Gerrit)

unread,
Mar 2, 2026, 5:35:38 PMMar 2
to Lei Zhang, Dominik Röttsches, Chromium LUCI CQ, AI Code Reviewer, Ian Kilpatrick, chromium...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org
Attention needed from Lei Zhang

April Kallmeyer added 1 comment

Patchset-level comments
Ian Kilpatrick . unresolved

Does this patch replace the other patches that were out for review?

Lei Zhang

I've abandoned all my other CLs, so this replaces my CLs where you were CC'd. I can't speak for https://crrev.com/c/7597894 with 100% certainty, but I imagine it will change if it gets built on top of this CL.

Ian Kilpatrick

Can you merge https://crrev.com/c/7597894 and this into one patch?

April Kallmeyer

I'm working on this merge. I think it will ideally end up being two separate CLs.

April Kallmeyer

So far it looks like the API change will just be

```
struct TextInfo {
sk_sp<SkTypeface> typeface;
std::vector<uint16_t> glyphs;
+ std::vector<gfx::Vector2dF> glyph_offset;
+ gfx::RectF location;
};
```

with some more significant changes in the implementation.

Gerrit-Comment-Date: Mon, 02 Mar 2026 22:35:29 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Lei Zhang <the...@chromium.org>
Comment-In-Reply-To: April Kallmeyer <a...@chromium.org>
Comment-In-Reply-To: Ian Kilpatrick <ikilp...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy

April Kallmeyer (Gerrit)

unread,
Mar 4, 2026, 2:07:43 PMMar 4
to Lei Zhang, Dominik Röttsches, Chromium LUCI CQ, AI Code Reviewer, Ian Kilpatrick, chromium...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org
Attention needed from Ian Kilpatrick and Lei Zhang

April Kallmeyer added 1 comment

Patchset-level comments
File-level comment, Patchset 2:
Ian Kilpatrick . resolved

Does this patch replace the other patches that were out for review?

Lei Zhang

I've abandoned all my other CLs, so this replaces my CLs where you were CC'd. I can't speak for https://crrev.com/c/7597894 with 100% certainty, but I imagine it will change if it gets built on top of this CL.

Ian Kilpatrick

Can you merge https://crrev.com/c/7597894 and this into one patch?

April Kallmeyer

I'm working on this merge. I think it will ideally end up being two separate CLs.

April Kallmeyer

So far it looks like the API change will just be

```
struct TextInfo {
sk_sp<SkTypeface> typeface;
std::vector<uint16_t> glyphs;
+ std::vector<gfx::Vector2dF> glyph_offset;
+ gfx::RectF location;
};
```

with some more significant changes in the implementation.

April Kallmeyer

Here is how it will look https://crrev.com/c/7632866 (further patchsets coming soon)

I think I might want to combine those 3 vectors into one vector of structs. Also I might clean up the temporary vector in the implementation.

I was able to test this end to end and get the text to line up exactly.

Open in Gerrit

Related details

Attention is currently required from:
  • Ian Kilpatrick
  • Lei Zhang
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
  • requirement is not satisfiedReview-Enforcement
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: Ie67c70ac22e2c93e19aeab1bd2b2ae009f1baed8
Gerrit-Change-Number: 7615407
Gerrit-PatchSet: 4
Gerrit-Owner: Lei Zhang <the...@chromium.org>
Gerrit-Reviewer: Ian Kilpatrick <ikilp...@chromium.org>
Gerrit-Reviewer: Lei Zhang <the...@chromium.org>
Gerrit-CC: AI Code Reviewer <peep-gen...@system.gserviceaccount.com>
Gerrit-CC: April Kallmeyer <a...@chromium.org>
Gerrit-CC: Dominik Röttsches <dr...@chromium.org>
Gerrit-Attention: Lei Zhang <the...@chromium.org>
Gerrit-Attention: Ian Kilpatrick <ikilp...@chromium.org>
Gerrit-Comment-Date: Wed, 04 Mar 2026 19:07:33 +0000
satisfied_requirement
unsatisfied_requirement
open
diffy

Lei Zhang (Gerrit)

unread,
Mar 9, 2026, 2:27:01 PM (12 days ago) Mar 9
to Lei Zhang, Code Review Nudger, April Kallmeyer, Dominik Röttsches, Chromium LUCI CQ, AI Code Reviewer, Ian Kilpatrick, chromium...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org
Attention needed from Ian Kilpatrick

Lei Zhang added 1 comment

File third_party/blink/renderer/core/html/forms/html_text_area_element.cc
Line 908, Patchset 2: shape_result_view->ForEachGlyph(/*initial_advance=*/0.0f,
Dominik Röttsches . resolved

Approach seems correct to me, thanks for your patience and reworking this.

Lei Zhang

Acknowledged

Open in Gerrit

Related details

Attention is currently required from:
  • Ian Kilpatrick
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
  • requirement is not satisfiedReview-Enforcement
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: Ie67c70ac22e2c93e19aeab1bd2b2ae009f1baed8
Gerrit-Change-Number: 7615407
Gerrit-PatchSet: 5
Gerrit-Owner: Lei Zhang <the...@chromium.org>
Gerrit-Reviewer: Ian Kilpatrick <ikilp...@chromium.org>
Gerrit-Reviewer: Lei Zhang <the...@chromium.org>
Gerrit-CC: AI Code Reviewer <peep-gen...@system.gserviceaccount.com>
Gerrit-CC: April Kallmeyer <a...@chromium.org>
Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
Gerrit-CC: Dominik Röttsches <dr...@chromium.org>
Gerrit-Attention: Ian Kilpatrick <ikilp...@chromium.org>
Gerrit-Comment-Date: Mon, 09 Mar 2026 18:26:52 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Dominik Röttsches <dr...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy

Ian Kilpatrick (Gerrit)

unread,
Mar 20, 2026, 6:55:59 PM (2 days ago) Mar 20
to Lei Zhang, Code Review Nudger, April Kallmeyer, Dominik Röttsches, Chromium LUCI CQ, AI Code Reviewer, chromium...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org
Attention needed from Lei Zhang

Ian Kilpatrick added 1 comment

File third_party/blink/renderer/core/html/forms/html_text_area_element_test.cc
Line 237, Patchset 11 (Latest): ASSERT_EQ(1u, text_info[1].glyphs.size());
Ian Kilpatrick . unresolved

If possible load in fonts with known glyphs. E.g. see: https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/html/canvas/text_metrics_test.cc;l=45-46;drc=3f7112dccdaf8ad032ee03247030eb43cfc8d706;bpv=1;bpt=1

Then if you list the font-family as Ahem, Roboto or similar it'll work the same on all platforms.

Open in Gerrit

Related details

Attention is currently required from:
  • Lei Zhang
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
  • requirement is not satisfiedReview-Enforcement
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: Ie67c70ac22e2c93e19aeab1bd2b2ae009f1baed8
Gerrit-Change-Number: 7615407
Gerrit-PatchSet: 11
Gerrit-Owner: Lei Zhang <the...@chromium.org>
Gerrit-Reviewer: Ian Kilpatrick <ikilp...@chromium.org>
Gerrit-Reviewer: Lei Zhang <the...@chromium.org>
Gerrit-CC: AI Code Reviewer <peep-gen...@system.gserviceaccount.com>
Gerrit-CC: April Kallmeyer <a...@chromium.org>
Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
Gerrit-CC: Dominik Röttsches <dr...@chromium.org>
Gerrit-Attention: Lei Zhang <the...@chromium.org>
Gerrit-Comment-Date: Fri, 20 Mar 2026 22:55:48 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Lei Zhang (Gerrit)

unread,
Mar 21, 2026, 1:11:36 PM (12 hours ago) Mar 21
to Lei Zhang, Code Review Nudger, April Kallmeyer, Dominik Röttsches, Chromium LUCI CQ, AI Code Reviewer, Ian Kilpatrick, chromium...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org
Attention needed from Ian Kilpatrick

Lei Zhang added 1 comment

File third_party/blink/renderer/core/html/forms/html_text_area_element_test.cc
Line 237, Patchset 11: ASSERT_EQ(1u, text_info[1].glyphs.size());
Ian Kilpatrick . resolved

If possible load in fonts with known glyphs. E.g. see: https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/html/canvas/text_metrics_test.cc;l=45-46;drc=3f7112dccdaf8ad032ee03247030eb43cfc8d706;bpv=1;bpt=1

Then if you list the font-family as Ahem, Roboto or similar it'll work the same on all platforms.

Lei Zhang

Thanks. Now the tests look consistent across platforms.

Open in Gerrit

Related details

Attention is currently required from:
  • Ian Kilpatrick
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
  • requirement is not satisfiedReview-Enforcement
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: Ie67c70ac22e2c93e19aeab1bd2b2ae009f1baed8
Gerrit-Change-Number: 7615407
Gerrit-PatchSet: 16
Gerrit-Owner: Lei Zhang <the...@chromium.org>
Gerrit-Reviewer: Ian Kilpatrick <ikilp...@chromium.org>
Gerrit-Reviewer: Lei Zhang <the...@chromium.org>
Gerrit-CC: AI Code Reviewer <peep-gen...@system.gserviceaccount.com>
Gerrit-CC: April Kallmeyer <a...@chromium.org>
Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
Gerrit-CC: Dominik Röttsches <dr...@chromium.org>
Gerrit-Attention: Ian Kilpatrick <ikilp...@chromium.org>
Gerrit-Comment-Date: Sat, 21 Mar 2026 17:11:24 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Ian Kilpatrick <ikilp...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy
Reply all
Reply to author
Forward
0 new messages