[mathml] Initial Support for MathMLAnchorElement under MathML namespace [chromium/src : main]

0 views
Skip to first unread message

tannal (Gerrit)

unread,
Jun 16, 2026, 2:43:54 AM (11 days ago) Jun 16
to Frédéric Wang Nélar, Stephen Chenney, Chromium LUCI CQ, Kentaro Hara, Raphael Kubo da Costa, Menard, Alexis, android-bu...@system.gserviceaccount.com, blink-re...@chromium.org, jmedle...@chromium.org, blink-revie...@chromium.org, kinuko...@chromium.org, blink-...@chromium.org, apavlo...@chromium.org, blink-re...@chromium.org, blink-revie...@chromium.org, blink-rev...@chromium.org
Attention needed from Frédéric Wang Nélar and Stephen Chenney

tannal added 4 comments

File third_party/blink/renderer/core/css/mathml.css
Line 152, Patchset 3 (Latest): math a:link,
tannal . unresolved

TODO: add a comment here, to explain all three css rule.

File third_party/blink/renderer/core/css/resolver/style_adjuster.cc
Line 1657, Patchset 3 (Latest): return {ElementType::kMathMLElement};
tannal . unresolved

Maybe change this line to `{element.GetElementType()}`

File third_party/blink/renderer/core/mathml/mathml_anchor_element.cc
Line 101, Patchset 3 (Latest): event.SetDefaultHandled();
tannal . unresolved

Add tests converge for most of the method of `MathMLAnchorElement` in the follow up CLs.

File third_party/blink/renderer/core/mathml/mathml_anchor_element.idl
Line 7, Patchset 3 (Latest):interface MathMLAnchorElement : MathMLElement {
tannal . unresolved

TODO: Add a comment about adding those idl attributes and testing them in the follow up CLs.

Open in Gerrit

Related details

Attention is currently required from:
  • Frédéric Wang Nélar
  • Stephen Chenney
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: I9edaf0ec151d2b8be14fb664c6a848203a2fc77f
Gerrit-Change-Number: 7940188
Gerrit-PatchSet: 3
Gerrit-Owner: tannal <mt...@igalia.com>
Gerrit-Reviewer: Frédéric Wang Nélar <fw...@igalia.com>
Gerrit-Reviewer: Stephen Chenney <sche...@chromium.org>
Gerrit-Reviewer: tannal <mt...@igalia.com>
Gerrit-CC: Kentaro Hara <har...@chromium.org>
Gerrit-CC: Menard, Alexis <alexis...@intel.com>
Gerrit-CC: Raphael Kubo da Costa <ku...@igalia.com>
Gerrit-Attention: Stephen Chenney <sche...@chromium.org>
Gerrit-Attention: Frédéric Wang Nélar <fw...@igalia.com>
Gerrit-Comment-Date: Tue, 16 Jun 2026 06:43:36 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Stephen Chenney (Gerrit)

unread,
Jun 16, 2026, 6:19:18 AM (11 days ago) Jun 16
to tannal, Frédéric Wang Nélar, Chromium LUCI CQ, Kentaro Hara, Raphael Kubo da Costa, Menard, Alexis, android-bu...@system.gserviceaccount.com, blink-re...@chromium.org, jmedle...@chromium.org, blink-revie...@chromium.org, kinuko...@chromium.org, blink-...@chromium.org, apavlo...@chromium.org, blink-re...@chromium.org, blink-revie...@chromium.org, blink-rev...@chromium.org
Attention needed from Frédéric Wang Nélar and tannal

Stephen Chenney added 2 comments

Patchset-level comments
File-level comment, Patchset 3 (Latest):
Stephen Chenney . resolved

I'm guessing much of this is very similar to other link elements. Is that true?

File third_party/blink/renderer/core/mathml/mathml_anchor_element.cc
Line 100, Patchset 3 (Latest):void MathMLAnchorElement::HandleClick(MouseEvent& event) {
Stephen Chenney . unresolved

How much of this is the same as that for the HTML <a> element? It seems like it should be very similar and if so the code should somehow be extracted out into a utility class to be used by all link elements.

I recognise that this might depend on the other work to re-arrange the IDL hierarchy for the various link elements.

Open in Gerrit

Related details

Attention is currently required from:
  • Frédéric Wang Nélar
  • tannal
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: I9edaf0ec151d2b8be14fb664c6a848203a2fc77f
Gerrit-Change-Number: 7940188
Gerrit-PatchSet: 3
Gerrit-Owner: tannal <mt...@igalia.com>
Gerrit-Reviewer: Frédéric Wang Nélar <fw...@igalia.com>
Gerrit-Reviewer: Stephen Chenney <sche...@chromium.org>
Gerrit-Reviewer: tannal <mt...@igalia.com>
Gerrit-CC: Kentaro Hara <har...@chromium.org>
Gerrit-CC: Menard, Alexis <alexis...@intel.com>
Gerrit-CC: Raphael Kubo da Costa <ku...@igalia.com>
Gerrit-Attention: Frédéric Wang Nélar <fw...@igalia.com>
Gerrit-Attention: tannal <mt...@igalia.com>
Gerrit-Comment-Date: Tue, 16 Jun 2026 10:18:59 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

tannal (Gerrit)

unread,
Jun 16, 2026, 7:46:17 AM (11 days ago) Jun 16
to Frédéric Wang Nélar, Stephen Chenney, Chromium LUCI CQ, Kentaro Hara, Raphael Kubo da Costa, Menard, Alexis, android-bu...@system.gserviceaccount.com, blink-re...@chromium.org, jmedle...@chromium.org, blink-revie...@chromium.org, kinuko...@chromium.org, blink-...@chromium.org, apavlo...@chromium.org, blink-re...@chromium.org, blink-revie...@chromium.org, blink-rev...@chromium.org
Attention needed from Frédéric Wang Nélar and Stephen Chenney

tannal added 1 comment

File third_party/blink/renderer/core/mathml/mathml_anchor_element.cc
Line 100, Patchset 3 (Latest):void MathMLAnchorElement::HandleClick(MouseEvent& event) {
Stephen Chenney . unresolved

How much of this is the same as that for the HTML <a> element? It seems like it should be very similar and if so the code should somehow be extracted out into a utility class to be used by all link elements.

I recognise that this might depend on the other work to re-arrange the IDL hierarchy for the various link elements.

tannal

Yes, it's similar to svg and html, but not the same.

We already have AnchorElementUtils which is shared by html, svg, and mathml.

It should be fine in this CL I think.

For the IDL hierarchy re-arranging:

The plan is supporting target, download, ping, rel, relList, and referrerPolicy by moving those attributes into HyperlinkElementUtils.[1]

AnchorElementUtils supports all those attributes except target and href.

[1] See https://github.com/w3c/mathml-core/issues/325#issue-4382884390

Open in Gerrit

Related details

Attention is currently required from:
  • Frédéric Wang Nélar
  • Stephen Chenney
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: I9edaf0ec151d2b8be14fb664c6a848203a2fc77f
Gerrit-Change-Number: 7940188
Gerrit-PatchSet: 3
Gerrit-Owner: tannal <mt...@igalia.com>
Gerrit-Reviewer: Frédéric Wang Nélar <fw...@igalia.com>
Gerrit-Reviewer: Stephen Chenney <sche...@chromium.org>
Gerrit-Reviewer: tannal <mt...@igalia.com>
Gerrit-CC: Kentaro Hara <har...@chromium.org>
Gerrit-CC: Menard, Alexis <alexis...@intel.com>
Gerrit-CC: Raphael Kubo da Costa <ku...@igalia.com>
Gerrit-Attention: Stephen Chenney <sche...@chromium.org>
Gerrit-Attention: Frédéric Wang Nélar <fw...@igalia.com>
Gerrit-Comment-Date: Tue, 16 Jun 2026 11:46:00 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Stephen Chenney <sche...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy

tannal (Gerrit)

unread,
Jun 16, 2026, 7:48:45 AM (11 days ago) Jun 16
to Frédéric Wang Nélar, Stephen Chenney, Chromium LUCI CQ, Kentaro Hara, Raphael Kubo da Costa, Menard, Alexis, android-bu...@system.gserviceaccount.com, blink-re...@chromium.org, jmedle...@chromium.org, blink-revie...@chromium.org, kinuko...@chromium.org, blink-...@chromium.org, apavlo...@chromium.org, blink-re...@chromium.org, blink-revie...@chromium.org, blink-rev...@chromium.org
Attention needed from Frédéric Wang Nélar and Stephen Chenney

tannal added 1 comment

File third_party/blink/renderer/core/mathml/mathml_anchor_element.cc
Line 45, Patchset 3 (Latest): if (params.name == html_names::kHrefAttr) {
tannal . unresolved

Should we change `html_names` to `mathml_names` for all the code in this file?
I'm not sure what's the difference.

Gerrit-Comment-Date: Tue, 16 Jun 2026 11:48:19 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

tannal (Gerrit)

unread,
Jun 17, 2026, 2:51:49 AM (10 days ago) Jun 17
to Fredrik Söderquist, Frédéric Wang Nélar, Stephen Chenney, Chromium LUCI CQ, Kentaro Hara, Raphael Kubo da Costa, Menard, Alexis, android-bu...@system.gserviceaccount.com, blink-re...@chromium.org, jmedle...@chromium.org, blink-revie...@chromium.org, kinuko...@chromium.org, blink-...@chromium.org, apavlo...@chromium.org, blink-re...@chromium.org, blink-revie...@chromium.org, blink-rev...@chromium.org
Attention needed from Fredrik Söderquist, Frédéric Wang Nélar and Stephen Chenney

tannal added 2 comments

File third_party/blink/renderer/core/css/mathml.css
Line 152, Patchset 3: math a:link,
tannal . resolved

TODO: add a comment here, to explain all three css rule.

tannal

Done

File third_party/blink/renderer/core/mathml/mathml_anchor_element.cc
Line 116, Patchset 3: AnchorElementUtils::HandleReferrerPolicyAttribute(
tannal . unresolved
Should we remove the unsupported attributes for now? 
Is it ok to keep them here?

Since IDL file for MathMLAnchorElement is empty for now.

E.G. download, ping, rel, relList, and referrerPolicy attributes.

Open in Gerrit

Related details

Attention is currently required from:
  • Fredrik Söderquist
  • Frédéric Wang Nélar
  • Stephen Chenney
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: I9edaf0ec151d2b8be14fb664c6a848203a2fc77f
Gerrit-Change-Number: 7940188
Gerrit-PatchSet: 4
Gerrit-Owner: tannal <mt...@igalia.com>
Gerrit-Reviewer: Fredrik Söderquist <f...@opera.com>
Gerrit-Reviewer: Frédéric Wang Nélar <fw...@igalia.com>
Gerrit-Reviewer: Stephen Chenney <sche...@chromium.org>
Gerrit-Reviewer: tannal <mt...@igalia.com>
Gerrit-CC: Kentaro Hara <har...@chromium.org>
Gerrit-CC: Menard, Alexis <alexis...@intel.com>
Gerrit-CC: Raphael Kubo da Costa <ku...@igalia.com>
Gerrit-Attention: Stephen Chenney <sche...@chromium.org>
Gerrit-Attention: Frédéric Wang Nélar <fw...@igalia.com>
Gerrit-Attention: Fredrik Söderquist <f...@opera.com>
Gerrit-Comment-Date: Wed, 17 Jun 2026 06:51:27 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: tannal <mt...@igalia.com>
satisfied_requirement
unsatisfied_requirement
open
diffy

Fredrik Söderquist (Gerrit)

unread,
Jun 17, 2026, 8:26:34 AM (10 days ago) Jun 17
to tannal, Frédéric Wang Nélar, Stephen Chenney, Chromium LUCI CQ, Kentaro Hara, Raphael Kubo da Costa, Menard, Alexis, android-bu...@system.gserviceaccount.com, blink-re...@chromium.org, jmedle...@chromium.org, blink-revie...@chromium.org, kinuko...@chromium.org, blink-...@chromium.org, apavlo...@chromium.org, blink-re...@chromium.org, blink-revie...@chromium.org, blink-rev...@chromium.org
Attention needed from Frédéric Wang Nélar, Stephen Chenney and tannal

Fredrik Söderquist added 6 comments

Patchset-level comments
File-level comment, Patchset 4 (Latest):
Fredrik Söderquist . resolved

You probably also want to hook up the element in:

 * `ContextMenuController::ShowContextMenu` (for `download`)
* `WebLocalFrameImpl::SendPings` (for `ping`)

...and maybe more.
File third_party/blink/renderer/core/dom/element.cc
Line 11425, Patchset 4 (Latest): return mathml_a->Url();
Fredrik Söderquist . unresolved

I think you can just use the same code-path as for `<html:a>` instead. (`<svg:a>` has a special-case here because it has a little different attribute setup, so it's not the case to copy.)

File third_party/blink/renderer/core/mathml/mathml_anchor_element.cc
Line 24, Patchset 4 (Latest):bool IsEnterKeyKeydownEvent(Event& event);

bool IsLinkClick(Event& event);
Fredrik Söderquist . unresolved

Just include `html_anchor_element.h` for these. It's a bit ugly, and maybe they should move to some shared location (`IsLinkClick` could probably move to `anchor_element_utils.*`, `IsEnterKeyKeydownEvent` has less obvious affinity, but maybe next to `KeyboardEvent`?).

Line 45, Patchset 3: if (params.name == html_names::kHrefAttr) {
tannal . unresolved

Should we change `html_names` to `mathml_names` for all the code in this file?


I'm not sure what's the difference.

Fredrik Söderquist

They will be the same for all practical purposes (both have the same localname and are in the null NS). It might be that IDL `[Reflect]` will require the latter though (that's the case for SVG at least).

Line 68, Patchset 4 (Latest): return GetDocument().CompleteURL(StripLeadingAndTrailingHtmlSpaces(
FastGetAttribute(html_names::kHrefAttr)));
Fredrik Söderquist . unresolved

You probably want to align with `HTMLAnchorElement(Base)` here. Otherwise this is `GetURLAttributeAsKURL(html_names::kHrefAttr)`.

Line 116, Patchset 3: AnchorElementUtils::HandleReferrerPolicyAttribute(
tannal . unresolved
Should we remove the unsupported attributes for now? 
Is it ok to keep them here?

Since IDL file for MathMLAnchorElement is empty for now.

E.G. download, ping, rel, relList, and referrerPolicy attributes.

Fredrik Söderquist

If you intend to add them (I assume so?) it seems fine to keep them. We should just have all shared code in a function called by all "anchors" (we should be close to that point).

Open in Gerrit

Related details

Attention is currently required from:
  • Frédéric Wang Nélar
  • Stephen Chenney
  • tannal
Gerrit-Attention: tannal <mt...@igalia.com>
Gerrit-Comment-Date: Wed, 17 Jun 2026 12:26:08 +0000
satisfied_requirement
unsatisfied_requirement
open
diffy

tannal (Gerrit)

unread,
Jun 18, 2026, 2:09:27 AM (10 days ago) Jun 18
to Dirk Schulze, Fredrik Söderquist, Frédéric Wang Nélar, Stephen Chenney, Chromium LUCI CQ, Kentaro Hara, Raphael Kubo da Costa, Menard, Alexis, android-bu...@system.gserviceaccount.com, fmalit...@chromium.org, kouhe...@chromium.org, pdr+svgw...@chromium.org, blink-re...@chromium.org, jmedle...@chromium.org, blink-revie...@chromium.org, kinuko...@chromium.org, blink-...@chromium.org, apavlo...@chromium.org, blink-re...@chromium.org, blink-revie...@chromium.org, blink-rev...@chromium.org
Attention needed from Fredrik Söderquist, Frédéric Wang Nélar and Stephen Chenney

tannal added 4 comments

File third_party/blink/renderer/core/dom/element.cc
Line 11425, Patchset 4: return mathml_a->Url();
Fredrik Söderquist . resolved

I think you can just use the same code-path as for `<html:a>` instead. (`<svg:a>` has a special-case here because it has a little different attribute setup, so it's not the case to copy.)

tannal

Done

File third_party/blink/renderer/core/mathml/mathml_anchor_element.cc
Line 24, Patchset 4:bool IsEnterKeyKeydownEvent(Event& event);

bool IsLinkClick(Event& event);
Fredrik Söderquist . unresolved

Just include `html_anchor_element.h` for these. It's a bit ugly, and maybe they should move to some shared location (`IsLinkClick` could probably move to `anchor_element_utils.*`, `IsEnterKeyKeydownEvent` has less obvious affinity, but maybe next to `KeyboardEvent`?).

tannal

I agree that it's ugly to include `html_anchor_element.h` for svg and mathml.
I moved these methods to `anchor_element_utils` and `KeyboardEvent` as a static method.

Line 68, Patchset 4: return GetDocument().CompleteURL(StripLeadingAndTrailingHtmlSpaces(
FastGetAttribute(html_names::kHrefAttr)));
Fredrik Söderquist . unresolved

You probably want to align with `HTMLAnchorElement(Base)` here. Otherwise this is `GetURLAttributeAsKURL(html_names::kHrefAttr)`.

Line 116, Patchset 3: AnchorElementUtils::HandleReferrerPolicyAttribute(
tannal . unresolved
Should we remove the unsupported attributes for now? 
Is it ok to keep them here?

Since IDL file for MathMLAnchorElement is empty for now.

E.G. download, ping, rel, relList, and referrerPolicy attributes.

Fredrik Söderquist

If you intend to add them (I assume so?) it seems fine to keep them. We should just have all shared code in a function called by all "anchors" (we should be close to that point).

tannal

Yeah, I'll add those attributes in the follow up CLs.
Do you know where the wpt tests of those attributes are?
They are not easy to find.

Open in Gerrit

Related details

Attention is currently required from:
  • Fredrik Söderquist
  • Frédéric Wang Nélar
  • Stephen Chenney
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: I9edaf0ec151d2b8be14fb664c6a848203a2fc77f
Gerrit-Change-Number: 7940188
Gerrit-PatchSet: 4
Gerrit-Owner: tannal <mt...@igalia.com>
Gerrit-Reviewer: Fredrik Söderquist <f...@opera.com>
Gerrit-Reviewer: Frédéric Wang Nélar <fw...@igalia.com>
Gerrit-Reviewer: Stephen Chenney <sche...@chromium.org>
Gerrit-Reviewer: tannal <mt...@igalia.com>
Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
Gerrit-CC: Kentaro Hara <har...@chromium.org>
Gerrit-CC: Menard, Alexis <alexis...@intel.com>
Gerrit-CC: Raphael Kubo da Costa <ku...@igalia.com>
Gerrit-Attention: Stephen Chenney <sche...@chromium.org>
Gerrit-Attention: Frédéric Wang Nélar <fw...@igalia.com>
Gerrit-Attention: Fredrik Söderquist <f...@opera.com>
Gerrit-Comment-Date: Thu, 18 Jun 2026 06:09:07 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Fredrik Söderquist <f...@opera.com>
Comment-In-Reply-To: tannal <mt...@igalia.com>
satisfied_requirement
unsatisfied_requirement
open
diffy

Frédéric Wang Nélar (Gerrit)

unread,
Jun 18, 2026, 2:20:55 AM (10 days ago) Jun 18
to tannal, Dirk Schulze, Fredrik Söderquist, Stephen Chenney, Chromium LUCI CQ, Kentaro Hara, Raphael Kubo da Costa, Menard, Alexis, android-bu...@system.gserviceaccount.com, fmalit...@chromium.org, kouhe...@chromium.org, pdr+svgw...@chromium.org, blink-re...@chromium.org, jmedle...@chromium.org, blink-revie...@chromium.org, kinuko...@chromium.org, blink-...@chromium.org, apavlo...@chromium.org, blink-re...@chromium.org, blink-revie...@chromium.org, blink-rev...@chromium.org
Attention needed from Fredrik Söderquist, Stephen Chenney and tannal

Frédéric Wang Nélar added 2 comments

File third_party/blink/renderer/core/css/mathml.css
Line 167, Patchset 5 (Latest): a:link,
Frédéric Wang Nélar . unresolved

So is a:link needed? isn't it implied by a:-webkit-any-link?

File third_party/blink/renderer/core/mathml/mathml_anchor_element.cc
Line 167, Patchset 5 (Latest): return 0;
Frédéric Wang Nélar . unresolved

nit: maybe add a link to the HTML spec where it says the default tabindex for the mathml a element is 0?

Open in Gerrit

Related details

Attention is currently required from:
  • Fredrik Söderquist
  • Stephen Chenney
  • tannal
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: I9edaf0ec151d2b8be14fb664c6a848203a2fc77f
Gerrit-Change-Number: 7940188
Gerrit-PatchSet: 5
Gerrit-Owner: tannal <mt...@igalia.com>
Gerrit-Reviewer: Fredrik Söderquist <f...@opera.com>
Gerrit-Reviewer: Frédéric Wang Nélar <fw...@igalia.com>
Gerrit-Reviewer: Stephen Chenney <sche...@chromium.org>
Gerrit-Reviewer: tannal <mt...@igalia.com>
Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
Gerrit-CC: Kentaro Hara <har...@chromium.org>
Gerrit-CC: Menard, Alexis <alexis...@intel.com>
Gerrit-CC: Raphael Kubo da Costa <ku...@igalia.com>
Gerrit-Attention: Stephen Chenney <sche...@chromium.org>
Gerrit-Attention: Fredrik Söderquist <f...@opera.com>
Gerrit-Attention: tannal <mt...@igalia.com>
Gerrit-Comment-Date: Thu, 18 Jun 2026 06:20:35 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

tannal (Gerrit)

unread,
Jun 18, 2026, 4:34:25 AM (9 days ago) Jun 18
to Dirk Schulze, Fredrik Söderquist, Frédéric Wang Nélar, Stephen Chenney, Chromium LUCI CQ, Kentaro Hara, Raphael Kubo da Costa, Menard, Alexis, android-bu...@system.gserviceaccount.com, fmalit...@chromium.org, kouhe...@chromium.org, pdr+svgw...@chromium.org, blink-re...@chromium.org, jmedle...@chromium.org, blink-revie...@chromium.org, kinuko...@chromium.org, blink-...@chromium.org, apavlo...@chromium.org, blink-re...@chromium.org, blink-revie...@chromium.org, blink-rev...@chromium.org
Attention needed from Fredrik Söderquist, Frédéric Wang Nélar and Stephen Chenney

tannal added 2 comments

File third_party/blink/renderer/core/css/mathml.css
Line 167, Patchset 5: a:link,
Frédéric Wang Nélar . resolved

So is a:link needed? isn't it implied by a:-webkit-any-link?

tannal

It's not needed. Removed.

File third_party/blink/renderer/core/mathml/mathml_anchor_element.cc
Line 167, Patchset 5: return 0;
Frédéric Wang Nélar . resolved

nit: maybe add a link to the HTML spec where it says the default tabindex for the mathml a element is 0?

tannal

Added.

Open in Gerrit

Related details

Attention is currently required from:
  • Fredrik Söderquist
  • Frédéric Wang Nélar
  • Stephen Chenney
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: I9edaf0ec151d2b8be14fb664c6a848203a2fc77f
Gerrit-Change-Number: 7940188
Gerrit-PatchSet: 6
Gerrit-Owner: tannal <mt...@igalia.com>
Gerrit-Reviewer: Fredrik Söderquist <f...@opera.com>
Gerrit-Reviewer: Frédéric Wang Nélar <fw...@igalia.com>
Gerrit-Reviewer: Stephen Chenney <sche...@chromium.org>
Gerrit-Reviewer: tannal <mt...@igalia.com>
Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
Gerrit-CC: Kentaro Hara <har...@chromium.org>
Gerrit-CC: Menard, Alexis <alexis...@intel.com>
Gerrit-CC: Raphael Kubo da Costa <ku...@igalia.com>
Gerrit-Attention: Stephen Chenney <sche...@chromium.org>
Gerrit-Attention: Frédéric Wang Nélar <fw...@igalia.com>
Gerrit-Attention: Fredrik Söderquist <f...@opera.com>
Gerrit-Comment-Date: Thu, 18 Jun 2026 08:34:02 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Frédéric Wang Nélar <fw...@igalia.com>
satisfied_requirement
unsatisfied_requirement
open
diffy

Fredrik Söderquist (Gerrit)

unread,
Jun 18, 2026, 8:51:42 AM (9 days ago) Jun 18
to tannal, Dirk Schulze, Frédéric Wang Nélar, Stephen Chenney, Chromium LUCI CQ, Kentaro Hara, Raphael Kubo da Costa, Menard, Alexis, android-bu...@system.gserviceaccount.com, fmalit...@chromium.org, kouhe...@chromium.org, pdr+svgw...@chromium.org, blink-re...@chromium.org, jmedle...@chromium.org, blink-revie...@chromium.org, kinuko...@chromium.org, blink-...@chromium.org, apavlo...@chromium.org, blink-re...@chromium.org, blink-revie...@chromium.org, blink-rev...@chromium.org
Attention needed from Frédéric Wang Nélar, Stephen Chenney and tannal

Fredrik Söderquist added 3 comments

File third_party/blink/renderer/core/mathml/mathml_anchor_element.cc
Line 24, Patchset 4:bool IsEnterKeyKeydownEvent(Event& event);

bool IsLinkClick(Event& event);
Fredrik Söderquist . resolved

Just include `html_anchor_element.h` for these. It's a bit ugly, and maybe they should move to some shared location (`IsLinkClick` could probably move to `anchor_element_utils.*`, `IsEnterKeyKeydownEvent` has less obvious affinity, but maybe next to `KeyboardEvent`?).

tannal

I agree that it's ugly to include `html_anchor_element.h` for svg and mathml.
I moved these methods to `anchor_element_utils` and `KeyboardEvent` as a static method.

Fredrik Söderquist

Acknowledged

Line 68, Patchset 4: return GetDocument().CompleteURL(StripLeadingAndTrailingHtmlSpaces(
FastGetAttribute(html_names::kHrefAttr)));
Fredrik Söderquist . unresolved

You probably want to align with `HTMLAnchorElement(Base)` here. Otherwise this is `GetURLAttributeAsKURL(html_names::kHrefAttr)`.

tannal

`HTMLAnchorElement(Base)` use the same code for `Url` mehthod.
https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/html/html_anchor_element.cc;l=344?q=third_party%2Fblink%2Frenderer%2Fcore%2Fhtml%2Fhtml_anchor_element.cc

Fredrik Söderquist
No...?
```
KURL HTMLAnchorElementBase::Href() const {
return GetDocument().CompleteURL(StripLeadingAndTrailingHtmlSpaces(
FastGetAttribute(html_names::kHrefAttr)));
}
...
KURL HTMLAnchorElementBase::Url() const {
KURL href = Href();
if (!href.IsValid()) {
return KURL();
}
return href;
}
```
`Href()` is the same, but `Url()` is different.
Line 116, Patchset 3: AnchorElementUtils::HandleReferrerPolicyAttribute(
tannal . unresolved
Should we remove the unsupported attributes for now? 
Is it ok to keep them here?

Since IDL file for MathMLAnchorElement is empty for now.

E.G. download, ping, rel, relList, and referrerPolicy attributes.

Fredrik Söderquist

If you intend to add them (I assume so?) it seems fine to keep them. We should just have all shared code in a function called by all "anchors" (we should be close to that point).

tannal

Yeah, I'll add those attributes in the follow up CLs.
Do you know where the wpt tests of those attributes are?
They are not easy to find.

Fredrik Söderquist

Some SVG ones should be in `svg/linking/scripted`, for HTML some are in `html/semantics/links` (and there are most likely more depending on the facet).

Open in Gerrit

Related details

Attention is currently required from:
  • Frédéric Wang Nélar
  • Stephen Chenney
  • tannal
Gerrit-Attention: tannal <mt...@igalia.com>
Gerrit-Comment-Date: Thu, 18 Jun 2026 12:51:24 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

tannal (Gerrit)

unread,
Jun 18, 2026, 10:00:19 AM (9 days ago) Jun 18
to Dirk Schulze, Fredrik Söderquist, Frédéric Wang Nélar, Stephen Chenney, Chromium LUCI CQ, Kentaro Hara, Raphael Kubo da Costa, Menard, Alexis, android-bu...@system.gserviceaccount.com, fmalit...@chromium.org, kouhe...@chromium.org, pdr+svgw...@chromium.org, blink-re...@chromium.org, jmedle...@chromium.org, blink-revie...@chromium.org, kinuko...@chromium.org, blink-...@chromium.org, apavlo...@chromium.org, blink-re...@chromium.org, blink-revie...@chromium.org, blink-rev...@chromium.org
Attention needed from Fredrik Söderquist, Frédéric Wang Nélar and Stephen Chenney

tannal added 3 comments

File third_party/blink/renderer/core/mathml/mathml_anchor_element.cc
Line 45, Patchset 3: if (params.name == html_names::kHrefAttr) {
tannal . resolved

Should we change `html_names` to `mathml_names` for all the code in this file?
I'm not sure what's the difference.

Fredrik Söderquist

They will be the same for all practical purposes (both have the same localname and are in the null NS). It might be that IDL `[Reflect]` will require the latter though (that's the case for SVG at least).

tannal

Acknowledged

Line 68, Patchset 4: return GetDocument().CompleteURL(StripLeadingAndTrailingHtmlSpaces(
FastGetAttribute(html_names::kHrefAttr)));
Fredrik Söderquist . unresolved

You probably want to align with `HTMLAnchorElement(Base)` here. Otherwise this is `GetURLAttributeAsKURL(html_names::kHrefAttr)`.

tannal

`HTMLAnchorElement(Base)` use the same code for `Url` mehthod.
https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/html/html_anchor_element.cc;l=344?q=third_party%2Fblink%2Frenderer%2Fcore%2Fhtml%2Fhtml_anchor_element.cc

Fredrik Söderquist
No...?
```
KURL HTMLAnchorElementBase::Href() const {
return GetDocument().CompleteURL(StripLeadingAndTrailingHtmlSpaces(
FastGetAttribute(html_names::kHrefAttr)));
}
...
KURL HTMLAnchorElementBase::Url() const {
KURL href = Href();
if (!href.IsValid()) {
return KURL();
}
return href;
}
```
`Href()` is the same, but `Url()` is different.
tannal
So the difference is the check?
```
if (!href.IsValid()) {
return KURL();
}
```
I'll add that later.
Line 116, Patchset 3: AnchorElementUtils::HandleReferrerPolicyAttribute(
tannal . resolved
Should we remove the unsupported attributes for now? 
Is it ok to keep them here?

Since IDL file for MathMLAnchorElement is empty for now.

E.G. download, ping, rel, relList, and referrerPolicy attributes.

Fredrik Söderquist

If you intend to add them (I assume so?) it seems fine to keep them. We should just have all shared code in a function called by all "anchors" (we should be close to that point).

tannal

Yeah, I'll add those attributes in the follow up CLs.
Do you know where the wpt tests of those attributes are?
They are not easy to find.

Fredrik Söderquist

Some SVG ones should be in `svg/linking/scripted`, for HTML some are in `html/semantics/links` (and there are most likely more depending on the facet).

tannal

Acknowledged

Open in Gerrit

Related details

Attention is currently required from:
  • Fredrik Söderquist
  • Frédéric Wang Nélar
  • Stephen Chenney
Gerrit-Attention: Fredrik Söderquist <f...@opera.com>
Gerrit-Comment-Date: Thu, 18 Jun 2026 13:59:57 +0000
satisfied_requirement
unsatisfied_requirement
open
diffy

Fredrik Söderquist (Gerrit)

unread,
Jun 18, 2026, 10:03:54 AM (9 days ago) Jun 18
to tannal, Dirk Schulze, Frédéric Wang Nélar, Stephen Chenney, Chromium LUCI CQ, Kentaro Hara, Raphael Kubo da Costa, Menard, Alexis, android-bu...@system.gserviceaccount.com, fmalit...@chromium.org, kouhe...@chromium.org, pdr+svgw...@chromium.org, blink-re...@chromium.org, jmedle...@chromium.org, blink-revie...@chromium.org, kinuko...@chromium.org, blink-...@chromium.org, apavlo...@chromium.org, blink-re...@chromium.org, blink-revie...@chromium.org, blink-rev...@chromium.org
Attention needed from Frédéric Wang Nélar, Stephen Chenney and tannal

Fredrik Söderquist added 1 comment

File third_party/blink/renderer/core/mathml/mathml_anchor_element.cc
Line 68, Patchset 4: return GetDocument().CompleteURL(StripLeadingAndTrailingHtmlSpaces(
FastGetAttribute(html_names::kHrefAttr)));
Fredrik Söderquist . unresolved

You probably want to align with `HTMLAnchorElement(Base)` here. Otherwise this is `GetURLAttributeAsKURL(html_names::kHrefAttr)`.

tannal

`HTMLAnchorElement(Base)` use the same code for `Url` mehthod.
https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/html/html_anchor_element.cc;l=344?q=third_party%2Fblink%2Frenderer%2Fcore%2Fhtml%2Fhtml_anchor_element.cc

Fredrik Söderquist
No...?
```
KURL HTMLAnchorElementBase::Href() const {
return GetDocument().CompleteURL(StripLeadingAndTrailingHtmlSpaces(
FastGetAttribute(html_names::kHrefAttr)));
}
...
KURL HTMLAnchorElementBase::Url() const {
KURL href = Href();
if (!href.IsValid()) {
return KURL();
}
return href;
}
```
`Href()` is the same, but `Url()` is different.
tannal
So the difference is the check?
```
if (!href.IsValid()) {
return KURL();
}
```
I'll add that later.
Fredrik Söderquist

So the difference is the check?

Yes. I assume it matters for `Origin`.

Open in Gerrit

Related details

Attention is currently required from:
  • Frédéric Wang Nélar
  • Stephen Chenney
  • tannal
Gerrit-Attention: tannal <mt...@igalia.com>
Gerrit-Comment-Date: Thu, 18 Jun 2026 14:03:35 +0000
satisfied_requirement
unsatisfied_requirement
open
diffy

tannal (Gerrit)

unread,
Jun 18, 2026, 10:16:10 AM (9 days ago) Jun 18
to Dirk Schulze, Fredrik Söderquist, Frédéric Wang Nélar, Stephen Chenney, Chromium LUCI CQ, Kentaro Hara, Raphael Kubo da Costa, Menard, Alexis, android-bu...@system.gserviceaccount.com, fmalit...@chromium.org, kouhe...@chromium.org, pdr+svgw...@chromium.org, blink-re...@chromium.org, jmedle...@chromium.org, blink-revie...@chromium.org, kinuko...@chromium.org, blink-...@chromium.org, apavlo...@chromium.org, blink-re...@chromium.org, blink-revie...@chromium.org, blink-rev...@chromium.org
Attention needed from Fredrik Söderquist, Frédéric Wang Nélar and Stephen Chenney

tannal added 2 comments

File third_party/blink/renderer/core/mathml/mathml_anchor_element.cc
Line 68, Patchset 4: return GetDocument().CompleteURL(StripLeadingAndTrailingHtmlSpaces(
FastGetAttribute(html_names::kHrefAttr)));
Fredrik Söderquist . resolved

You probably want to align with `HTMLAnchorElement(Base)` here. Otherwise this is `GetURLAttributeAsKURL(html_names::kHrefAttr)`.

tannal

`HTMLAnchorElement(Base)` use the same code for `Url` mehthod.
https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/html/html_anchor_element.cc;l=344?q=third_party%2Fblink%2Frenderer%2Fcore%2Fhtml%2Fhtml_anchor_element.cc

Fredrik Söderquist
No...?
```
KURL HTMLAnchorElementBase::Href() const {
return GetDocument().CompleteURL(StripLeadingAndTrailingHtmlSpaces(
FastGetAttribute(html_names::kHrefAttr)));
}
...
KURL HTMLAnchorElementBase::Url() const {
KURL href = Href();
if (!href.IsValid()) {
return KURL();
}
return href;
}
```
`Href()` is the same, but `Url()` is different.
tannal
So the difference is the check?
```
if (!href.IsValid()) {
return KURL();
}
```
I'll add that later.
Fredrik Söderquist

So the difference is the check?

Yes. I assume it matters for `Origin`.

tannal

Thanks for the feedback.
Done.

Line 100, Patchset 3:void MathMLAnchorElement::HandleClick(MouseEvent& event) {
Stephen Chenney . resolved

How much of this is the same as that for the HTML <a> element? It seems like it should be very similar and if so the code should somehow be extracted out into a utility class to be used by all link elements.

I recognise that this might depend on the other work to re-arrange the IDL hierarchy for the various link elements.

tannal

Yes, it's similar to svg and html, but not the same.

We already have AnchorElementUtils which is shared by html, svg, and mathml.

It should be fine in this CL I think.

For the IDL hierarchy re-arranging:

The plan is supporting target, download, ping, rel, relList, and referrerPolicy by moving those attributes into HyperlinkElementUtils.[1]

AnchorElementUtils supports all those attributes except target and href.

[1] See https://github.com/w3c/mathml-core/issues/325#issue-4382884390

tannal

Acknowledged

Open in Gerrit

Related details

Attention is currently required from:
  • Fredrik Söderquist
  • Frédéric Wang Nélar
  • Stephen Chenney
Gerrit-Attention: Fredrik Söderquist <f...@opera.com>
Gerrit-Comment-Date: Thu, 18 Jun 2026 14:15:52 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Stephen Chenney <sche...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy

Frédéric Wang Nélar (Gerrit)

unread,
Jun 19, 2026, 1:44:20 AM (9 days ago) Jun 19
to tannal, Dirk Schulze, Fredrik Söderquist, Stephen Chenney, Chromium LUCI CQ, Kentaro Hara, Raphael Kubo da Costa, Menard, Alexis, android-bu...@system.gserviceaccount.com, fmalit...@chromium.org, kouhe...@chromium.org, pdr+svgw...@chromium.org, blink-re...@chromium.org, jmedle...@chromium.org, blink-revie...@chromium.org, kinuko...@chromium.org, blink-...@chromium.org, apavlo...@chromium.org, blink-re...@chromium.org, blink-revie...@chromium.org, blink-rev...@chromium.org
Attention needed from Fredrik Söderquist, Stephen Chenney and tannal

Frédéric Wang Nélar added 1 comment

Frédéric Wang Nélar . unresolved

So can you please link to the intent to prototype now?

Open in Gerrit

Related details

Attention is currently required from:
  • Fredrik Söderquist
  • Stephen Chenney
  • tannal
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: I9edaf0ec151d2b8be14fb664c6a848203a2fc77f
Gerrit-Change-Number: 7940188
Gerrit-PatchSet: 7
Gerrit-Owner: tannal <mt...@igalia.com>
Gerrit-Reviewer: Fredrik Söderquist <f...@opera.com>
Gerrit-Reviewer: Frédéric Wang Nélar <fw...@igalia.com>
Gerrit-Reviewer: Stephen Chenney <sche...@chromium.org>
Gerrit-Reviewer: tannal <mt...@igalia.com>
Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
Gerrit-CC: Kentaro Hara <har...@chromium.org>
Gerrit-CC: Menard, Alexis <alexis...@intel.com>
Gerrit-CC: Raphael Kubo da Costa <ku...@igalia.com>
Gerrit-Attention: Stephen Chenney <sche...@chromium.org>
Gerrit-Attention: Fredrik Söderquist <f...@opera.com>
Gerrit-Attention: tannal <mt...@igalia.com>
Gerrit-Comment-Date: Fri, 19 Jun 2026 05:43:55 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

tannal (Gerrit)

unread,
Jun 19, 2026, 2:38:24 AM (9 days ago) Jun 19
to Dirk Schulze, Fredrik Söderquist, Frédéric Wang Nélar, Stephen Chenney, Chromium LUCI CQ, Kentaro Hara, Raphael Kubo da Costa, Menard, Alexis, android-bu...@system.gserviceaccount.com, fmalit...@chromium.org, kouhe...@chromium.org, pdr+svgw...@chromium.org, blink-re...@chromium.org, jmedle...@chromium.org, blink-revie...@chromium.org, kinuko...@chromium.org, blink-...@chromium.org, apavlo...@chromium.org, blink-re...@chromium.org, blink-revie...@chromium.org, blink-rev...@chromium.org
Attention needed from Fredrik Söderquist, Frédéric Wang Nélar and Stephen Chenney

tannal added 5 comments

Patchset-level comments
File-level comment, Patchset 8 (Latest):
tannal . resolved

I'm done with the code change.
I think I addressed all the feedbacks.
Just resolved my todo comments and make sure I'm not blocking any reviever.

Commit Message
Frédéric Wang Nélar . resolved

So can you please link to the intent to prototype now?

tannal

Done

File third_party/blink/renderer/core/css/resolver/style_adjuster.cc
Line 1657, Patchset 3: return {ElementType::kMathMLElement};
tannal . resolved

Maybe change this line to `{element.GetElementType()}`

tannal

I think this can be done in the follow up CLs.

File third_party/blink/renderer/core/mathml/mathml_anchor_element.cc
Line 101, Patchset 3: event.SetDefaultHandled();
tannal . resolved

Add tests converge for most of the method of `MathMLAnchorElement` in the follow up CLs.

tannal

I think this can be done in the follow up CLs.

File third_party/blink/renderer/core/mathml/mathml_anchor_element.idl
Line 7, Patchset 3:interface MathMLAnchorElement : MathMLElement {
tannal . resolved

TODO: Add a comment about adding those idl attributes and testing them in the follow up CLs.

tannal

I think this can be done in the follow up CLs.

Open in Gerrit

Related details

Attention is currently required from:
  • Fredrik Söderquist
  • Frédéric Wang Nélar
  • Stephen Chenney
    Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement is not satisfiedCode-Owners
      • requirement is not satisfiedCode-Review
      • 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: I9edaf0ec151d2b8be14fb664c6a848203a2fc77f
      Gerrit-Change-Number: 7940188
      Gerrit-PatchSet: 8
      Gerrit-Owner: tannal <mt...@igalia.com>
      Gerrit-Reviewer: Fredrik Söderquist <f...@opera.com>
      Gerrit-Reviewer: Frédéric Wang Nélar <fw...@igalia.com>
      Gerrit-Reviewer: Stephen Chenney <sche...@chromium.org>
      Gerrit-Reviewer: tannal <mt...@igalia.com>
      Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
      Gerrit-CC: Kentaro Hara <har...@chromium.org>
      Gerrit-CC: Menard, Alexis <alexis...@intel.com>
      Gerrit-CC: Raphael Kubo da Costa <ku...@igalia.com>
      Gerrit-Attention: Stephen Chenney <sche...@chromium.org>
      Gerrit-Attention: Frédéric Wang Nélar <fw...@igalia.com>
      Gerrit-Attention: Fredrik Söderquist <f...@opera.com>
      Gerrit-Comment-Date: Fri, 19 Jun 2026 06:37:52 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Frédéric Wang Nélar <fw...@igalia.com>
      Comment-In-Reply-To: tannal <mt...@igalia.com>
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Fredrik Söderquist (Gerrit)

      unread,
      Jun 22, 2026, 7:30:11 AM (5 days ago) Jun 22
      to tannal, Dirk Schulze, Frédéric Wang Nélar, Stephen Chenney, Chromium LUCI CQ, Kentaro Hara, Raphael Kubo da Costa, Menard, Alexis, android-bu...@system.gserviceaccount.com, fmalit...@chromium.org, kouhe...@chromium.org, pdr+svgw...@chromium.org, blink-re...@chromium.org, jmedle...@chromium.org, blink-revie...@chromium.org, kinuko...@chromium.org, blink-...@chromium.org, apavlo...@chromium.org, blink-re...@chromium.org, blink-revie...@chromium.org, blink-rev...@chromium.org
      Attention needed from Frédéric Wang Nélar, Stephen Chenney and tannal

      Fredrik Söderquist voted Code-Review+1

      Code-Review+1
      Open in Gerrit

      Related details

      Attention is currently required from:
      • Frédéric Wang Nélar
      • Stephen Chenney
      • tannal
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement satisfiedCode-Owners
      • requirement is not satisfiedCode-Review
      • 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: I9edaf0ec151d2b8be14fb664c6a848203a2fc77f
      Gerrit-Change-Number: 7940188
      Gerrit-PatchSet: 8
      Gerrit-Owner: tannal <mt...@igalia.com>
      Gerrit-Reviewer: Fredrik Söderquist <f...@opera.com>
      Gerrit-Reviewer: Frédéric Wang Nélar <fw...@igalia.com>
      Gerrit-Reviewer: Stephen Chenney <sche...@chromium.org>
      Gerrit-Reviewer: tannal <mt...@igalia.com>
      Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
      Gerrit-CC: Kentaro Hara <har...@chromium.org>
      Gerrit-CC: Menard, Alexis <alexis...@intel.com>
      Gerrit-CC: Raphael Kubo da Costa <ku...@igalia.com>
      Gerrit-Attention: Stephen Chenney <sche...@chromium.org>
      Gerrit-Attention: Frédéric Wang Nélar <fw...@igalia.com>
      Gerrit-Attention: tannal <mt...@igalia.com>
      Gerrit-Comment-Date: Mon, 22 Jun 2026 11:29:50 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      tannal (Gerrit)

      unread,
      Jun 22, 2026, 11:26:18 PM (5 days ago) Jun 22
      to Fredrik Söderquist, Dirk Schulze, Frédéric Wang Nélar, Stephen Chenney, Chromium LUCI CQ, Kentaro Hara, Raphael Kubo da Costa, Menard, Alexis, android-bu...@system.gserviceaccount.com, fmalit...@chromium.org, kouhe...@chromium.org, pdr+svgw...@chromium.org, blink-re...@chromium.org, jmedle...@chromium.org, blink-revie...@chromium.org, kinuko...@chromium.org, blink-...@chromium.org, apavlo...@chromium.org, blink-re...@chromium.org, blink-revie...@chromium.org, blink-rev...@chromium.org
      Attention needed from Fredrik Söderquist, Frédéric Wang Nélar and Stephen Chenney

      tannal added 1 comment

      Patchset-level comments
      File-level comment, Patchset 10 (Latest):
      tannal . resolved

      Rebased main, no behavior changes.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Fredrik Söderquist
      • Frédéric Wang Nélar
      • Stephen Chenney
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement satisfiedCode-Owners
      • requirement is not satisfiedCode-Review
      • 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: I9edaf0ec151d2b8be14fb664c6a848203a2fc77f
      Gerrit-Change-Number: 7940188
      Gerrit-PatchSet: 10
      Gerrit-Owner: tannal <mt...@igalia.com>
      Gerrit-Reviewer: Fredrik Söderquist <f...@opera.com>
      Gerrit-Reviewer: Frédéric Wang Nélar <fw...@igalia.com>
      Gerrit-Reviewer: Stephen Chenney <sche...@chromium.org>
      Gerrit-Reviewer: tannal <mt...@igalia.com>
      Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
      Gerrit-CC: Kentaro Hara <har...@chromium.org>
      Gerrit-CC: Menard, Alexis <alexis...@intel.com>
      Gerrit-CC: Raphael Kubo da Costa <ku...@igalia.com>
      Gerrit-Attention: Stephen Chenney <sche...@chromium.org>
      Gerrit-Attention: Frédéric Wang Nélar <fw...@igalia.com>
      Gerrit-Attention: Fredrik Söderquist <f...@opera.com>
      Gerrit-Comment-Date: Tue, 23 Jun 2026 03:25:58 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Fredrik Söderquist (Gerrit)

      unread,
      Jun 23, 2026, 8:56:23 AM (4 days ago) Jun 23
      to tannal, Dirk Schulze, Frédéric Wang Nélar, Stephen Chenney, Chromium LUCI CQ, Kentaro Hara, Raphael Kubo da Costa, Menard, Alexis, android-bu...@system.gserviceaccount.com, fmalit...@chromium.org, kouhe...@chromium.org, pdr+svgw...@chromium.org, blink-re...@chromium.org, jmedle...@chromium.org, blink-revie...@chromium.org, kinuko...@chromium.org, blink-...@chromium.org, apavlo...@chromium.org, blink-re...@chromium.org, blink-revie...@chromium.org, blink-rev...@chromium.org
      Attention needed from Frédéric Wang Nélar, Stephen Chenney and tannal

      Fredrik Söderquist voted Code-Review+1

      Code-Review+1
      Open in Gerrit

      Related details

      Attention is currently required from:
      • Frédéric Wang Nélar
      • Stephen Chenney
      • tannal
      Gerrit-Attention: tannal <mt...@igalia.com>
      Gerrit-Comment-Date: Tue, 23 Jun 2026 12:56:06 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Frédéric Wang Nélar (Gerrit)

      unread,
      Jun 25, 2026, 2:53:49 AM (2 days ago) Jun 25
      to tannal, Fredrik Söderquist, Dirk Schulze, Stephen Chenney, Chromium LUCI CQ, Kentaro Hara, Raphael Kubo da Costa, Menard, Alexis, android-bu...@system.gserviceaccount.com, fmalit...@chromium.org, kouhe...@chromium.org, pdr+svgw...@chromium.org, blink-re...@chromium.org, jmedle...@chromium.org, blink-revie...@chromium.org, kinuko...@chromium.org, blink-...@chromium.org, apavlo...@chromium.org, blink-re...@chromium.org, blink-revie...@chromium.org, blink-rev...@chromium.org
      Attention needed from Stephen Chenney and tannal

      Frédéric Wang Nélar voted

      Code-Review+1
      Commit-Queue+2
      Open in Gerrit

      Related details

      Attention is currently required from:
      • Stephen Chenney
      • tannal
      Submit Requirements:
        • requirement satisfiedCode-Coverage
        • requirement satisfiedCode-Owners
        • requirement satisfiedCode-Review
        • requirement 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: I9edaf0ec151d2b8be14fb664c6a848203a2fc77f
        Gerrit-Change-Number: 7940188
        Gerrit-PatchSet: 10
        Gerrit-Owner: tannal <mt...@igalia.com>
        Gerrit-Reviewer: Fredrik Söderquist <f...@opera.com>
        Gerrit-Reviewer: Frédéric Wang Nélar <fw...@igalia.com>
        Gerrit-Reviewer: Stephen Chenney <sche...@chromium.org>
        Gerrit-Reviewer: tannal <mt...@igalia.com>
        Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
        Gerrit-CC: Kentaro Hara <har...@chromium.org>
        Gerrit-CC: Menard, Alexis <alexis...@intel.com>
        Gerrit-CC: Raphael Kubo da Costa <ku...@igalia.com>
        Gerrit-Attention: Stephen Chenney <sche...@chromium.org>
        Gerrit-Attention: tannal <mt...@igalia.com>
        Gerrit-Comment-Date: Thu, 25 Jun 2026 06:53:27 +0000
        Gerrit-HasComments: No
        Gerrit-Has-Labels: Yes
        satisfied_requirement
        open
        diffy

        Chromium LUCI CQ (Gerrit)

        unread,
        Jun 25, 2026, 3:56:17 AM (2 days ago) Jun 25
        to tannal, Frédéric Wang Nélar, Fredrik Söderquist, Dirk Schulze, Stephen Chenney, Kentaro Hara, Raphael Kubo da Costa, Menard, Alexis, android-bu...@system.gserviceaccount.com, fmalit...@chromium.org, kouhe...@chromium.org, pdr+svgw...@chromium.org, blink-re...@chromium.org, jmedle...@chromium.org, blink-revie...@chromium.org, kinuko...@chromium.org, blink-...@chromium.org, apavlo...@chromium.org, blink-re...@chromium.org, blink-revie...@chromium.org, blink-rev...@chromium.org

        Chromium LUCI CQ submitted the change

        Change information

        Commit message:
        [mathml] Initial Support for MathMLAnchorElement under MathML namespace

        Introduce the MathMLAnchorElement behind a new runtime feature flag
        'MathMLAnchorElement'. When enabled, this creates the standard <a>
        element within the MathML namespace.

        See https://w3c.github.io/mathml-core/#the-a-element

        Demos: https://people.igalia.com/fwang/mathml-a-href/

        I2P: https://groups.google.com/a/chromium.org/g/blink-dev/c/kmtYoVZjtZE
        Bug: 510487697
        Change-Id: I9edaf0ec151d2b8be14fb664c6a848203a2fc77f
        Commit-Queue: Frédéric Wang Nélar <fw...@igalia.com>
        Reviewed-by: Fredrik Söderquist <f...@opera.com>
        Reviewed-by: Frédéric Wang Nélar <fw...@igalia.com>
        Cr-Commit-Position: refs/heads/main@{#1652216}
        Files:
        • M third_party/blink/renderer/bindings/generated_in_core.gni
        • M third_party/blink/renderer/bindings/idl_in_core.gni
        • M third_party/blink/renderer/core/css/mathml.css
        • M third_party/blink/renderer/core/css/resolver/style_adjuster.cc
        • M third_party/blink/renderer/core/dom/element.cc
        • M third_party/blink/renderer/core/dom/visited_link_state.cc
        • M third_party/blink/renderer/core/events/keyboard_event.cc
        • M third_party/blink/renderer/core/events/keyboard_event.h
        • M third_party/blink/renderer/core/html/anchor_element_utils.cc
        • M third_party/blink/renderer/core/html/anchor_element_utils.h
        • M third_party/blink/renderer/core/html/html_anchor_element.cc
        • M third_party/blink/renderer/core/html/html_anchor_element.h
        • M third_party/blink/renderer/core/mathml/build.gni
        • A third_party/blink/renderer/core/mathml/mathml_anchor_element.cc
        • A third_party/blink/renderer/core/mathml/mathml_anchor_element.h
        • A third_party/blink/renderer/core/mathml/mathml_anchor_element.idl
        • M third_party/blink/renderer/core/mathml/mathml_tag_names.json5
        • M third_party/blink/renderer/core/svg/svg_a_element.cc
        • M third_party/blink/renderer/platform/runtime_enabled_features.json5
        • M third_party/blink/web_tests/TestExpectations
        • D third_party/blink/web_tests/external/wpt/mathml/relations/html5-tree/dynamic-href-002-expected.txt
        • D third_party/blink/web_tests/external/wpt/mathml/relations/html5-tree/href-click-003-expected.txt
        • D third_party/blink/web_tests/external/wpt/mathml/relations/html5-tree/html-or-svg-or-mathml-element-interfaces-expected.txt
        • D third_party/blink/web_tests/external/wpt/mathml/relations/html5-tree/tabindex-001-expected.txt
        • D third_party/blink/web_tests/external/wpt/mathml/relations/html5-tree/tabindex-focus-001-expected.txt
        Change size: L
        Delta: 25 files changed, 322 insertions(+), 60 deletions(-)
        Branch: refs/heads/main
        Submit Requirements:
        • requirement satisfiedCode-Review: +1 by Frédéric Wang Nélar, +1 by Fredrik Söderquist
        Open in Gerrit
        Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
        Gerrit-MessageType: merged
        Gerrit-Project: chromium/src
        Gerrit-Branch: main
        Gerrit-Change-Id: I9edaf0ec151d2b8be14fb664c6a848203a2fc77f
        Gerrit-Change-Number: 7940188
        Gerrit-PatchSet: 11
        Gerrit-Owner: tannal <mt...@igalia.com>
        Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
        Gerrit-Reviewer: Fredrik Söderquist <f...@opera.com>
        Gerrit-Reviewer: Frédéric Wang Nélar <fw...@igalia.com>
        Gerrit-Reviewer: Stephen Chenney <sche...@chromium.org>
        Gerrit-Reviewer: tannal <mt...@igalia.com>
        open
        diffy
        satisfied_requirement
        Reply all
        Reply to author
        Forward
        0 new messages