Parse SVG with the HTML Parser [chromium/src : main]

0 views
Skip to first unread message

Mason Freed (Gerrit)

unread,
Oct 15, 2025, 12:22:53 PM (4 days ago) Oct 15
to David Baron, Fredrik Söderquist, Dirk Schulze, Stephen Chenney, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, fmalit...@chromium.org, kouhe...@chromium.org, blink-revi...@chromium.org, pdr+svgw...@chromium.org, jmedle...@chromium.org, devtools-re...@chromium.org, dom+...@chromium.org, dominicc+...@chromium.org, hiroshig...@chromium.org, kouhei...@chromium.org, ayman...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, loading-rev...@chromium.org, mdjone...@chromium.org, yuezhang...@chromium.org
Attention needed from David Baron

Mason Freed voted Auto-Submit+1

Auto-Submit+1
Open in Gerrit

Related details

Attention is currently required from:
  • David Baron
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: I7db847f672458f3dce20c18c5cec535b7ab04d96
Gerrit-Change-Number: 6719663
Gerrit-PatchSet: 23
Gerrit-Owner: Mason Freed <mas...@chromium.org>
Gerrit-Reviewer: David Baron <dba...@chromium.org>
Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
Gerrit-CC: Fredrik Söderquist <f...@opera.com>
Gerrit-CC: Stephen Chenney <sche...@chromium.org>
Gerrit-Attention: David Baron <dba...@chromium.org>
Gerrit-Comment-Date: Wed, 15 Oct 2025 16:22:29 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Philip Rogers (Gerrit)

unread,
Oct 15, 2025, 2:24:51 PM (4 days ago) Oct 15
to Mason Freed, David Baron, Fredrik Söderquist, Dirk Schulze, Stephen Chenney, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, fmalit...@chromium.org, kouhe...@chromium.org, blink-revi...@chromium.org, pdr+svgw...@chromium.org, jmedle...@chromium.org, devtools-re...@chromium.org, dom+...@chromium.org, dominicc+...@chromium.org, hiroshig...@chromium.org, kouhei...@chromium.org, ayman...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, loading-rev...@chromium.org, mdjone...@chromium.org, yuezhang...@chromium.org
Attention needed from David Baron and Mason Freed

Philip Rogers added 2 comments

Commit Message
Line 7, Patchset 23 (Latest):Parse SVG with the HTML Parser
Philip Rogers . unresolved

There is compat risk because this is common, though a hopeful aspect is that external svg docs are fairly new. WDYT of de-risking with data using https://www.chromium.org/blink/platform-predictability/compat-tools/? This question is a little out of scope for this review; can you file a bug linked to this for that discussion?

Line 22, Patchset 23 (Latest):- The new parser is only used in the special case of SVGs that are
Philip Rogers . unresolved

Does this mean we would use the html parser for cases like:
<div style="filter: url(foo.svg)">
and
<use href="foo.svg">

But not:
<img src="foo.svg">
and
http://domain.com/foo.svg

?

Open in Gerrit

Related details

Attention is currently required from:
  • David Baron
  • Mason Freed
Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement 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: I7db847f672458f3dce20c18c5cec535b7ab04d96
    Gerrit-Change-Number: 6719663
    Gerrit-PatchSet: 23
    Gerrit-Owner: Mason Freed <mas...@chromium.org>
    Gerrit-Reviewer: David Baron <dba...@chromium.org>
    Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
    Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
    Gerrit-CC: Fredrik Söderquist <f...@opera.com>
    Gerrit-CC: Philip Rogers <p...@chromium.org>
    Gerrit-CC: Stephen Chenney <sche...@chromium.org>
    Gerrit-Attention: Mason Freed <mas...@chromium.org>
    Gerrit-Attention: David Baron <dba...@chromium.org>
    Gerrit-Comment-Date: Wed, 15 Oct 2025 18:24:26 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    chromeperf@appspot.gserviceaccount.com (Gerrit)

    unread,
    Oct 15, 2025, 3:09:50 PM (4 days ago) Oct 15
    to Mason Freed, Philip Rogers, David Baron, Fredrik Söderquist, Dirk Schulze, Stephen Chenney, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, fmalit...@chromium.org, kouhe...@chromium.org, blink-revi...@chromium.org, pdr+svgw...@chromium.org, jmedle...@chromium.org, devtools-re...@chromium.org, dom+...@chromium.org, dominicc+...@chromium.org, hiroshig...@chromium.org, kouhei...@chromium.org, ayman...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, loading-rev...@chromium.org, mdjone...@chromium.org, yuezhang...@chromium.org
    Attention needed from David Baron and Mason Freed

    Message from chrom...@appspot.gserviceaccount.com

    📍 Job mac-m4-mini-perf/speedometer3 complete.

    See results at: https://pinpoint-dot-chromeperf.appspot.com/job/14c0b917510000

    Gerrit-Attention: Mason Freed <mas...@chromium.org>
    Gerrit-Attention: David Baron <dba...@chromium.org>
    Gerrit-Comment-Date: Wed, 15 Oct 2025 19:09:24 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    chromeperf@appspot.gserviceaccount.com (Gerrit)

    unread,
    Oct 15, 2025, 3:24:57 PM (4 days ago) Oct 15
    to Mason Freed, Philip Rogers, David Baron, Fredrik Söderquist, Dirk Schulze, Stephen Chenney, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, fmalit...@chromium.org, kouhe...@chromium.org, blink-revi...@chromium.org, pdr+svgw...@chromium.org, jmedle...@chromium.org, devtools-re...@chromium.org, dom+...@chromium.org, dominicc+...@chromium.org, hiroshig...@chromium.org, kouhei...@chromium.org, ayman...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, loading-rev...@chromium.org, mdjone...@chromium.org, yuezhang...@chromium.org
    Attention needed from David Baron and Mason Freed

    Message from chrom...@appspot.gserviceaccount.com

    📍 Job mac-m4-mini-perf/speedometer3 complete.

    See results at: https://pinpoint-dot-chromeperf.appspot.com/job/16d840c3510000

    Gerrit-Comment-Date: Wed, 15 Oct 2025 19:24:29 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Philip Rogers (Gerrit)

    unread,
    Oct 15, 2025, 4:42:00 PM (4 days ago) Oct 15
    to Mason Freed, chrom...@appspot.gserviceaccount.com, David Baron, Fredrik Söderquist, Dirk Schulze, Stephen Chenney, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, fmalit...@chromium.org, kouhe...@chromium.org, blink-revi...@chromium.org, pdr+svgw...@chromium.org, jmedle...@chromium.org, devtools-re...@chromium.org, dom+...@chromium.org, dominicc+...@chromium.org, hiroshig...@chromium.org, kouhei...@chromium.org, ayman...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, loading-rev...@chromium.org, mdjone...@chromium.org, yuezhang...@chromium.org
    Attention needed from David Baron and Mason Freed

    Philip Rogers added 1 comment

    Patchset-level comments
    File-level comment, Patchset 23 (Latest):
    Philip Rogers . unresolved

    The pinpoints didn't show a win, but this area does show up on profiles, so I wouldn't write off the speedometer3 win. I've kicked off another run on the m1 pgo bot to get a second opinion.

    Here's profile data showing how much (and where) we spend time in this area: https://pprof.corp.google.com/?id=78bbb00af1fc8facfb90bfc6100c4ad5&pivot=IsolatedSVGDocumentHost&tab=flame (profile from all subbenchmarks).

    https://issues.chromium.org/u/1/issues/394015877 is an open bug to investigate this area.

    Gerrit-Comment-Date: Wed, 15 Oct 2025 20:41:34 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    AI Code Reviewer (Gerrit)

    unread,
    Oct 15, 2025, 4:57:14 PM (4 days ago) Oct 15
    to Mason Freed, chrom...@appspot.gserviceaccount.com, Philip Rogers, David Baron, Fredrik Söderquist, Dirk Schulze, Stephen Chenney, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, fmalit...@chromium.org, kouhe...@chromium.org, blink-revi...@chromium.org, pdr+svgw...@chromium.org, jmedle...@chromium.org, devtools-re...@chromium.org, dom+...@chromium.org, dominicc+...@chromium.org, hiroshig...@chromium.org, kouhei...@chromium.org, ayman...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, loading-rev...@chromium.org, mdjone...@chromium.org, yuezhang...@chromium.org
    Attention needed from David Baron and Mason Freed

    AI Code Reviewer added 2 comments

    File third_party/blink/renderer/core/dom/document.h
    Line 2885, Patchset 24 (Latest): bool is_srcdoc_document_;
    AI Code Reviewer . unresolved

    nit: Per the Blink Style Guide: Naming - "Precede boolean values with words like “is” and “did”", please consider renaming `parse_svg_with_html_parser_` to `should_parse_svg_with_html_parser_` for clarity and consistency with other boolean members in this file (e.g., `is_srcdoc_document_`).

    _To keep this interaction as brief and non-intrusive as possible, please consider responding with one of following options:
    **Done** | **Won't fix**: reason | **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/dom/document_init.h
    Line 185, Patchset 24 (Latest): bool parse_svg_with_html_parser_ = false;
    AI Code Reviewer . unresolved

    nit: Per the Blink Style Guide: Naming - "Precede boolean values with words like “is” and “did”", please consider renaming `parse_svg_with_html_parser_` to `should_parse_svg_with_html_parser_`. This would make it consistent with the vast majority of other boolean member variables in this class.

    _To keep this interaction as brief and non-intrusive as possible, please consider responding with one of following options:
    **Done** | **Won't fix**: reason | **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:
    • David Baron
    • Mason Freed
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement 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: I7db847f672458f3dce20c18c5cec535b7ab04d96
    Gerrit-Change-Number: 6719663
    Gerrit-PatchSet: 24
    Gerrit-Owner: Mason Freed <mas...@chromium.org>
    Gerrit-Reviewer: David Baron <dba...@chromium.org>
    Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
    Gerrit-CC: AI Code Reviewer <peep-gen...@system.gserviceaccount.com>
    Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
    Gerrit-CC: Fredrik Söderquist <f...@opera.com>
    Gerrit-CC: Philip Rogers <p...@chromium.org>
    Gerrit-CC: Stephen Chenney <sche...@chromium.org>
    Gerrit-Attention: Mason Freed <mas...@chromium.org>
    Gerrit-Attention: David Baron <dba...@chromium.org>
    Gerrit-Comment-Date: Wed, 15 Oct 2025 20:57:09 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Mason Freed (Gerrit)

    unread,
    Oct 15, 2025, 4:58:45 PM (4 days ago) Oct 15
    to AI Code Reviewer, chrom...@appspot.gserviceaccount.com, Philip Rogers, David Baron, Fredrik Söderquist, Dirk Schulze, Stephen Chenney, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, fmalit...@chromium.org, kouhe...@chromium.org, blink-revi...@chromium.org, pdr+svgw...@chromium.org, jmedle...@chromium.org, devtools-re...@chromium.org, dom+...@chromium.org, dominicc+...@chromium.org, hiroshig...@chromium.org, kouhei...@chromium.org, ayman...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, loading-rev...@chromium.org, mdjone...@chromium.org, yuezhang...@chromium.org
    Attention needed from David Baron and Philip Rogers

    Mason Freed voted and added 3 comments

    Votes added by Mason Freed

    Auto-Submit+1

    3 comments

    Patchset-level comments
    Philip Rogers . unresolved

    The pinpoints didn't show a win, but this area does show up on profiles, so I wouldn't write off the speedometer3 win. I've kicked off another run on the m1 pgo bot to get a second opinion.

    Here's profile data showing how much (and where) we spend time in this area: https://pprof.corp.google.com/?id=78bbb00af1fc8facfb90bfc6100c4ad5&pivot=IsolatedSVGDocumentHost&tab=flame (profile from all subbenchmarks).

    https://issues.chromium.org/u/1/issues/394015877 is an open bug to investigate this area.

    Mason Freed

    Both pinpoints had errors in their setup though. One didn't add the flag at all, and the other added it without `--extra-browser-args=` before the `--enable-blink-features`.

    I've kicked off a duplicate one here that should have both things fixed:

    https://pinpoint-dot-chromeperf.appspot.com/job/154eb917510000

    Commit Message
    Line 7, Patchset 23:Parse SVG with the HTML Parser
    Philip Rogers . unresolved

    There is compat risk because this is common, though a hopeful aspect is that external svg docs are fairly new. WDYT of de-risking with data using https://www.chromium.org/blink/platform-predictability/compat-tools/? This question is a little out of scope for this review; can you file a bug linked to this for that discussion?

    Mason Freed

    Yeah, that's a good thought. It might be a bit difficult to do though, since the failure case will just be an incorrect (visual) rendering.

    Filed: crbug.com/452392022

    Line 22, Patchset 23:- The new parser is only used in the special case of SVGs that are
    Philip Rogers . unresolved

    Does this mean we would use the html parser for cases like:
    <div style="filter: url(foo.svg)">
    and
    <use href="foo.svg">

    But not:
    <img src="foo.svg">
    and
    http://domain.com/foo.svg

    ?

    Mason Freed

    <div style="filter: url(foo.svg)">

    I believe this would use this path, since foo.svg is loaded as an SVGImage, correct?

    <use href="foo.svg">

    This would use this path, assuming `foo.svg` is a valid SVG (with a root `<svg>` element). Else this will hit the fallback path and get re-parsed with XML.


    > <img src="foo.svg">

    This should also use this new path, it creates an SVGImage.

    http://domain.com/foo.svg

    Correct this would not use this path. This SVG can include `<script>` elements which execute, and can define namespaces in a way that the HTML parser doesn't understand, so this path purposely does not support that.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • David Baron
    • Philip Rogers
    Gerrit-Attention: Philip Rogers <p...@chromium.org>
    Gerrit-Attention: David Baron <dba...@chromium.org>
    Gerrit-Comment-Date: Wed, 15 Oct 2025 20:58:19 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    Comment-In-Reply-To: Philip Rogers <p...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    chromeperf@appspot.gserviceaccount.com (Gerrit)

    unread,
    Oct 15, 2025, 6:05:38 PM (4 days ago) Oct 15
    to Mason Freed, AI Code Reviewer, Philip Rogers, David Baron, Fredrik Söderquist, Dirk Schulze, Stephen Chenney, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, fmalit...@chromium.org, kouhe...@chromium.org, blink-revi...@chromium.org, pdr+svgw...@chromium.org, jmedle...@chromium.org, devtools-re...@chromium.org, dom+...@chromium.org, dominicc+...@chromium.org, hiroshig...@chromium.org, kouhei...@chromium.org, ayman...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, loading-rev...@chromium.org, mdjone...@chromium.org, yuezhang...@chromium.org
    Attention needed from David Baron, Mason Freed and Philip Rogers

    Message from chrom...@appspot.gserviceaccount.com

    📍 Job mac-m4-mini-perf/speedometer3 complete.

    See results at: https://pinpoint-dot-chromeperf.appspot.com/job/154eb917510000

    Open in Gerrit

    Related details

    Attention is currently required from:
    • David Baron
    • Mason Freed
    • Philip Rogers
    Gerrit-Attention: Mason Freed <mas...@chromium.org>
    Gerrit-Attention: Philip Rogers <p...@chromium.org>
    Gerrit-Attention: David Baron <dba...@chromium.org>
    Gerrit-Comment-Date: Wed, 15 Oct 2025 22:05:11 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    chromeperf@appspot.gserviceaccount.com (Gerrit)

    unread,
    Oct 15, 2025, 7:21:18 PM (4 days ago) Oct 15
    to Mason Freed, AI Code Reviewer, Philip Rogers, David Baron, Fredrik Söderquist, Dirk Schulze, Stephen Chenney, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, fmalit...@chromium.org, kouhe...@chromium.org, blink-revi...@chromium.org, pdr+svgw...@chromium.org, jmedle...@chromium.org, devtools-re...@chromium.org, dom+...@chromium.org, dominicc+...@chromium.org, hiroshig...@chromium.org, kouhei...@chromium.org, ayman...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, loading-rev...@chromium.org, mdjone...@chromium.org, yuezhang...@chromium.org
    Attention needed from David Baron, Mason Freed and Philip Rogers

    Message from chrom...@appspot.gserviceaccount.com

    📍 Job mac-m1_mini_2020-perf-pgo/speedometer3 complete.

    See results at: https://pinpoint-dot-chromeperf.appspot.com/job/16beb917510000

    Gerrit-Comment-Date: Wed, 15 Oct 2025 23:20:51 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Mason Freed (Gerrit)

    unread,
    Oct 15, 2025, 8:02:11 PM (4 days ago) Oct 15
    to AI Code Reviewer, chrom...@appspot.gserviceaccount.com, Philip Rogers, David Baron, Fredrik Söderquist, Dirk Schulze, Stephen Chenney, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, fmalit...@chromium.org, kouhe...@chromium.org, blink-revi...@chromium.org, pdr+svgw...@chromium.org, jmedle...@chromium.org, devtools-re...@chromium.org, dom+...@chromium.org, dominicc+...@chromium.org, hiroshig...@chromium.org, kouhei...@chromium.org, ayman...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, loading-rev...@chromium.org, mdjone...@chromium.org, yuezhang...@chromium.org
    Attention needed from David Baron and Philip Rogers

    Mason Freed voted and added 1 comment

    Votes added by Mason Freed

    Auto-Submit+1

    1 comment

    Patchset-level comments
    Philip Rogers . unresolved

    The pinpoints didn't show a win, but this area does show up on profiles, so I wouldn't write off the speedometer3 win. I've kicked off another run on the m1 pgo bot to get a second opinion.

    Here's profile data showing how much (and where) we spend time in this area: https://pprof.corp.google.com/?id=78bbb00af1fc8facfb90bfc6100c4ad5&pivot=IsolatedSVGDocumentHost&tab=flame (profile from all subbenchmarks).

    https://issues.chromium.org/u/1/issues/394015877 is an open bug to investigate this area.

    Mason Freed

    Both pinpoints had errors in their setup though. One didn't add the flag at all, and the other added it without `--extra-browser-args=` before the `--enable-blink-features`.

    I've kicked off a duplicate one here that should have both things fixed:

    https://pinpoint-dot-chromeperf.appspot.com/job/154eb917510000

    Mason Freed

    https://pinpoint-dot-chromeperf.appspot.com/job/154eb917510000

    No significant change. Boo.

    I just uploaded a new patch that removes the XML fallback, just to see how much that accounts for on speedometer. That'll be here: https://pinpoint-dot-chromeperf.appspot.com/job/1686f710d10000

    Open in Gerrit

    Related details

    Attention is currently required from:
    • David Baron
    • Philip Rogers
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement 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: I7db847f672458f3dce20c18c5cec535b7ab04d96
    Gerrit-Change-Number: 6719663
    Gerrit-PatchSet: 25
    Gerrit-Owner: Mason Freed <mas...@chromium.org>
    Gerrit-Reviewer: David Baron <dba...@chromium.org>
    Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
    Gerrit-CC: AI Code Reviewer <peep-gen...@system.gserviceaccount.com>
    Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
    Gerrit-CC: Fredrik Söderquist <f...@opera.com>
    Gerrit-CC: Philip Rogers <p...@chromium.org>
    Gerrit-CC: Stephen Chenney <sche...@chromium.org>
    Gerrit-Attention: Philip Rogers <p...@chromium.org>
    Gerrit-Attention: David Baron <dba...@chromium.org>
    Gerrit-Comment-Date: Thu, 16 Oct 2025 00:01:46 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    Comment-In-Reply-To: Mason Freed <mas...@chromium.org>
    Comment-In-Reply-To: Philip Rogers <p...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    chromeperf@appspot.gserviceaccount.com (Gerrit)

    unread,
    Oct 15, 2025, 8:48:24 PM (4 days ago) Oct 15
    to Mason Freed, AI Code Reviewer, Philip Rogers, David Baron, Fredrik Söderquist, Dirk Schulze, Stephen Chenney, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, fmalit...@chromium.org, kouhe...@chromium.org, blink-revi...@chromium.org, pdr+svgw...@chromium.org, jmedle...@chromium.org, devtools-re...@chromium.org, dom+...@chromium.org, dominicc+...@chromium.org, hiroshig...@chromium.org, kouhei...@chromium.org, ayman...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, loading-rev...@chromium.org, mdjone...@chromium.org, yuezhang...@chromium.org
    Attention needed from David Baron, Mason Freed and Philip Rogers

    Message from chrom...@appspot.gserviceaccount.com

    📍 Job mac-m4-mini-perf/speedometer3 complete.

    See results at: https://pinpoint-dot-chromeperf.appspot.com/job/1686f710d10000

    Open in Gerrit

    Related details

    Attention is currently required from:
    • David Baron
    • Mason Freed
    • Philip Rogers
    Gerrit-Attention: Mason Freed <mas...@chromium.org>
    Gerrit-Attention: Philip Rogers <p...@chromium.org>
    Gerrit-Attention: David Baron <dba...@chromium.org>
    Gerrit-Comment-Date: Thu, 16 Oct 2025 00:47:55 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    David Baron (Gerrit)

    unread,
    Oct 16, 2025, 10:01:11 AM (3 days ago) Oct 16
    to Mason Freed, AI Code Reviewer, chrom...@appspot.gserviceaccount.com, Philip Rogers, David Baron, Fredrik Söderquist, Dirk Schulze, Stephen Chenney, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, fmalit...@chromium.org, kouhe...@chromium.org, blink-revi...@chromium.org, pdr+svgw...@chromium.org, jmedle...@chromium.org, devtools-re...@chromium.org, dom+...@chromium.org, dominicc+...@chromium.org, hiroshig...@chromium.org, kouhei...@chromium.org, ayman...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, loading-rev...@chromium.org, mdjone...@chromium.org, yuezhang...@chromium.org
    Attention needed from David Baron, Mason Freed and Philip Rogers

    David Baron added 1 comment

    Patchset-level comments
    File-level comment, Patchset 25 (Latest):
    David Baron . unresolved

    So this seems like a pretty scary change that changes some fundamental things.

    My understanding is that this is specifically *only* for SVG-as-image and not for SVG as a toplevel resource / iframe / etc. It would be good to make that clearer in the first line of the commit message.

    My initial inclination is that this is a big enough change to an existing standardized behavior that we wouldn't want to do this without a good bit more external discussion and hopefully consensus (and I think I personally would probably still lean against the change, since I find the divergence between SVG-as-document and SVG-as-image and the break with existing precedent to be harfmul enough that I don't think it's worth it for performance alone, particularly when there are other things we could do to get the same performance gains and that we might end up doing anyway). But I also feel like I probably shouldn't be the only decision maker here.

    Was there an intent-to-prototype sent? What was the feedback for that I2P? If not... maybe sending an I2P is a good way to get the appropriate sort of feedback about whether this is something we should move forward with?

    Gerrit-Comment-Date: Thu, 16 Oct 2025 14:01:03 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Mason Freed (Gerrit)

    unread,
    Oct 16, 2025, 10:54:27 AM (3 days ago) Oct 16
    to David Baron, AI Code Reviewer, chrom...@appspot.gserviceaccount.com, Philip Rogers, Fredrik Söderquist, Dirk Schulze, Stephen Chenney, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, fmalit...@chromium.org, kouhe...@chromium.org, blink-revi...@chromium.org, pdr+svgw...@chromium.org, jmedle...@chromium.org, devtools-re...@chromium.org, dom+...@chromium.org, dominicc+...@chromium.org, hiroshig...@chromium.org, kouhei...@chromium.org, ayman...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, loading-rev...@chromium.org, mdjone...@chromium.org, yuezhang...@chromium.org
    Attention needed from David Baron, Mason Freed and Philip Rogers

    Mason Freed voted and added 1 comment

    Votes added by Mason Freed

    Auto-Submit+0
    Commit-Queue+1

    1 comment

    Patchset-level comments
    Mason Freed . resolved

    dbaron@, something's up with this patch. Somewhere along my long series of patchsets I introduced a bug. I'll work on it, but for now I'm moving you to CC. Please do feel free to review this patch in concept, but perhaps not yet in detail.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • David Baron
    • Mason Freed
    • Philip Rogers
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement 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: I7db847f672458f3dce20c18c5cec535b7ab04d96
    Gerrit-Change-Number: 6719663
    Gerrit-PatchSet: 25
    Gerrit-Owner: Mason Freed <mas...@chromium.org>
    Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
    Gerrit-CC: AI Code Reviewer <peep-gen...@system.gserviceaccount.com>
    Gerrit-CC: David Baron <dba...@chromium.org>
    Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
    Gerrit-CC: Fredrik Söderquist <f...@opera.com>
    Gerrit-CC: Philip Rogers <p...@chromium.org>
    Gerrit-CC: Stephen Chenney <sche...@chromium.org>
    Gerrit-Attention: Mason Freed <mas...@chromium.org>
    Gerrit-Attention: Philip Rogers <p...@chromium.org>
    Gerrit-Attention: David Baron <dba...@chromium.org>
    Gerrit-Comment-Date: Thu, 16 Oct 2025 14:54:16 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    chromeperf@appspot.gserviceaccount.com (Gerrit)

    unread,
    Oct 16, 2025, 12:41:20 PM (3 days ago) Oct 16
    to Mason Freed, David Baron, AI Code Reviewer, Philip Rogers, Fredrik Söderquist, Dirk Schulze, Stephen Chenney, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, fmalit...@chromium.org, kouhe...@chromium.org, blink-revi...@chromium.org, pdr+svgw...@chromium.org, jmedle...@chromium.org, devtools-re...@chromium.org, dom+...@chromium.org, dominicc+...@chromium.org, hiroshig...@chromium.org, kouhei...@chromium.org, ayman...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, loading-rev...@chromium.org, mdjone...@chromium.org, yuezhang...@chromium.org
    Attention needed from David Baron, Mason Freed and Philip Rogers

    Message from chrom...@appspot.gserviceaccount.com

    📍 Job mac-m4-mini-perf/speedometer3 complete.

    See results at: https://pinpoint-dot-chromeperf.appspot.com/job/15527c90d10000

    Open in Gerrit

    Related details

    Attention is currently required from:
    • David Baron
    • Mason Freed
    • Philip Rogers
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement 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: I7db847f672458f3dce20c18c5cec535b7ab04d96
    Gerrit-Change-Number: 6719663
    Gerrit-PatchSet: 26
    Gerrit-Owner: Mason Freed <mas...@chromium.org>
    Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
    Gerrit-CC: AI Code Reviewer <peep-gen...@system.gserviceaccount.com>
    Gerrit-CC: David Baron <dba...@chromium.org>
    Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
    Gerrit-CC: Fredrik Söderquist <f...@opera.com>
    Gerrit-CC: Philip Rogers <p...@chromium.org>
    Gerrit-CC: Stephen Chenney <sche...@chromium.org>
    Gerrit-Attention: Mason Freed <mas...@chromium.org>
    Gerrit-Attention: Philip Rogers <p...@chromium.org>
    Gerrit-Attention: David Baron <dba...@chromium.org>
    Gerrit-Comment-Date: Thu, 16 Oct 2025 16:41:08 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    chromeperf@appspot.gserviceaccount.com (Gerrit)

    unread,
    Oct 16, 2025, 4:45:50 PM (3 days ago) Oct 16
    to Mason Freed, David Baron, AI Code Reviewer, Philip Rogers, Fredrik Söderquist, Dirk Schulze, Stephen Chenney, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, fmalit...@chromium.org, kouhe...@chromium.org, blink-revi...@chromium.org, pdr+svgw...@chromium.org, jmedle...@chromium.org, devtools-re...@chromium.org, dom+...@chromium.org, dominicc+...@chromium.org, hiroshig...@chromium.org, kouhei...@chromium.org, ayman...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, loading-rev...@chromium.org, mdjone...@chromium.org, yuezhang...@chromium.org
    Attention needed from Mason Freed and Philip Rogers

    Message from chrom...@appspot.gserviceaccount.com

    📍 Job mac-m4-mini-perf/speedometer3 complete.

    See results at: https://pinpoint-dot-chromeperf.appspot.com/job/16d58fd0d10000

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Mason Freed
    • Philip Rogers
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement 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: I7db847f672458f3dce20c18c5cec535b7ab04d96
    Gerrit-Change-Number: 6719663
    Gerrit-PatchSet: 27
    Gerrit-Owner: Mason Freed <mas...@chromium.org>
    Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
    Gerrit-CC: AI Code Reviewer <peep-gen...@system.gserviceaccount.com>
    Gerrit-CC: David Baron <dba...@chromium.org>
    Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
    Gerrit-CC: Fredrik Söderquist <f...@opera.com>
    Gerrit-CC: Philip Rogers <p...@chromium.org>
    Gerrit-CC: Stephen Chenney <sche...@chromium.org>
    Gerrit-Attention: Mason Freed <mas...@chromium.org>
    Gerrit-Attention: Philip Rogers <p...@chromium.org>
    Gerrit-Comment-Date: Thu, 16 Oct 2025 20:45:41 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Fredrik Söderquist (Gerrit)

    unread,
    Oct 17, 2025, 10:24:09 AM (2 days ago) Oct 17
    to Mason Freed, David Baron, AI Code Reviewer, chrom...@appspot.gserviceaccount.com, Philip Rogers, Dirk Schulze, Stephen Chenney, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, fmalit...@chromium.org, kouhe...@chromium.org, blink-revi...@chromium.org, pdr+svgw...@chromium.org, jmedle...@chromium.org, devtools-re...@chromium.org, dom+...@chromium.org, dominicc+...@chromium.org, hiroshig...@chromium.org, kouhei...@chromium.org, ayman...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, loading-rev...@chromium.org, mdjone...@chromium.org, yuezhang...@chromium.org
    Attention needed from Mason Freed and Philip Rogers

    Fredrik Söderquist added 2 comments

    Commit Message
    Line 22, Patchset 23:- The new parser is only used in the special case of SVGs that are
    Philip Rogers . unresolved

    Does this mean we would use the html parser for cases like:
    <div style="filter: url(foo.svg)">
    and
    <use href="foo.svg">

    But not:
    <img src="foo.svg">
    and
    http://domain.com/foo.svg

    ?

    Mason Freed

    <div style="filter: url(foo.svg)">

    I believe this would use this path, since foo.svg is loaded as an SVGImage, correct?

    <use href="foo.svg">

    This would use this path, assuming `foo.svg` is a valid SVG (with a root `<svg>` element). Else this will hit the fallback path and get re-parsed with XML.


    > <img src="foo.svg">

    This should also use this new path, it creates an SVGImage.

    http://domain.com/foo.svg

    Correct this would not use this path. This SVG can include `<script>` elements which execute, and can define namespaces in a way that the HTML parser doesn't understand, so this path purposely does not support that.

    Fredrik Söderquist

    <div style="filter: url(foo.svg)">

    I believe this would use this path, since foo.svg is loaded as an SVGImage, correct?

    Yes it would, but it's not loaded as an SVGImage. If that is the assumption the request policy ought to be passed to `IsolatedSVGDocumentHost` from `SVGImage` rather than be handled completely by the former.

    <use href="foo.svg">

    This would use this path, assuming `foo.svg` is a valid SVG (with a root `<svg>` element). Else this will hit the fallback path and get re-parsed with XML.

    Ditto here.

    File third_party/blink/renderer/core/html/parser/svg_document_parser.cc
    Line 27, Patchset 27 (Latest): return HTMLDocumentParser::Append("<html><body>" + source);
    Fredrik Söderquist . unresolved

    Isn't relying on the regular HTML parser insertion of "missing" elements enough for this? (This basically means making a copy of the entire input, so it seems a bit counterproductive.)

    Gerrit-Comment-Date: Fri, 17 Oct 2025 14:24:04 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Stephen Chenney (Gerrit)

    unread,
    Oct 17, 2025, 10:50:08 AM (2 days ago) Oct 17
    to Mason Freed, David Baron, AI Code Reviewer, chrom...@appspot.gserviceaccount.com, Philip Rogers, Fredrik Söderquist, Dirk Schulze, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, fmalit...@chromium.org, kouhe...@chromium.org, blink-revi...@chromium.org, pdr+svgw...@chromium.org, jmedle...@chromium.org, devtools-re...@chromium.org, dom+...@chromium.org, dominicc+...@chromium.org, hiroshig...@chromium.org, kouhei...@chromium.org, ayman...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, loading-rev...@chromium.org, mdjone...@chromium.org, yuezhang...@chromium.org
    Attention needed from Mason Freed and Philip Rogers

    Stephen Chenney added 1 comment

    Commit Message
    Line 22, Patchset 23:- The new parser is only used in the special case of SVGs that are
    Philip Rogers . unresolved

    Does this mean we would use the html parser for cases like:
    <div style="filter: url(foo.svg)">
    and
    <use href="foo.svg">

    But not:
    <img src="foo.svg">
    and
    http://domain.com/foo.svg

    ?

    Mason Freed

    <div style="filter: url(foo.svg)">

    I believe this would use this path, since foo.svg is loaded as an SVGImage, correct?

    <use href="foo.svg">

    This would use this path, assuming `foo.svg` is a valid SVG (with a root `<svg>` element). Else this will hit the fallback path and get re-parsed with XML.


    > <img src="foo.svg">

    This should also use this new path, it creates an SVGImage.

    http://domain.com/foo.svg

    Correct this would not use this path. This SVG can include `<script>` elements which execute, and can define namespaces in a way that the HTML parser doesn't understand, so this path purposely does not support that.

    Stephen Chenney

    <div style="filter: url(foo.svg)">

    I believe this would use this path, since foo.svg is loaded as an SVGImage, correct?

    I would have thought so but I just wrote a test that does this (an overlooked case of privacy preserving filters) and the constructor for SVGImage is never called. I'll try to figure out how the content is actually loaded and parsed.

    Gerrit-Comment-Date: Fri, 17 Oct 2025 14:49:53 +0000
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Stephen Chenney (Gerrit)

    unread,
    Oct 17, 2025, 10:59:48 AM (2 days ago) Oct 17
    to Mason Freed, David Baron, AI Code Reviewer, chrom...@appspot.gserviceaccount.com, Philip Rogers, Fredrik Söderquist, Dirk Schulze, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, fmalit...@chromium.org, kouhe...@chromium.org, blink-revi...@chromium.org, pdr+svgw...@chromium.org, jmedle...@chromium.org, devtools-re...@chromium.org, dom+...@chromium.org, dominicc+...@chromium.org, hiroshig...@chromium.org, kouhei...@chromium.org, ayman...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, loading-rev...@chromium.org, mdjone...@chromium.org, yuezhang...@chromium.org
    Commit Message

    fs@ answered that. It's interesting that this content will not taint a filter, but then it doesn't matter because the content must be same origin and can't load further resources.

    Gerrit-Comment-Date: Fri, 17 Oct 2025 14:59:39 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Mason Freed <mas...@chromium.org>
    Comment-In-Reply-To: Stephen Chenney <sche...@chromium.org>
    Comment-In-Reply-To: Philip Rogers <p...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Mason Freed (Gerrit)

    unread,
    Oct 17, 2025, 2:04:38 PM (2 days ago) Oct 17
    to David Baron, AI Code Reviewer, chrom...@appspot.gserviceaccount.com, Philip Rogers, Fredrik Söderquist, Dirk Schulze, Stephen Chenney, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, fmalit...@chromium.org, kouhe...@chromium.org, blink-revi...@chromium.org, pdr+svgw...@chromium.org, jmedle...@chromium.org, devtools-re...@chromium.org, dom+...@chromium.org, dominicc+...@chromium.org, hiroshig...@chromium.org, kouhei...@chromium.org, ayman...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, loading-rev...@chromium.org, mdjone...@chromium.org, yuezhang...@chromium.org

    Mason Freed abandoned this change

    Related details

    Attention set is empty
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • 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: abandon
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Mason Freed (Gerrit)

    unread,
    Oct 17, 2025, 3:29:38 PM (2 days ago) Oct 17
    to David Baron, AI Code Reviewer, chrom...@appspot.gserviceaccount.com, Philip Rogers, Fredrik Söderquist, Dirk Schulze, Stephen Chenney, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, fmalit...@chromium.org, kouhe...@chromium.org, blink-revi...@chromium.org, pdr+svgw...@chromium.org, jmedle...@chromium.org, devtools-re...@chromium.org, dom+...@chromium.org, dominicc+...@chromium.org, hiroshig...@chromium.org, kouhei...@chromium.org, ayman...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, loading-rev...@chromium.org, mdjone...@chromium.org, yuezhang...@chromium.org

    Mason Freed restored this change

    Related details

    Attention set is empty
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement 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: restore
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Mason Freed (Gerrit)

    unread,
    Oct 17, 2025, 4:00:45 PM (2 days ago) Oct 17
    to David Baron, AI Code Reviewer, chrom...@appspot.gserviceaccount.com, Philip Rogers, Fredrik Söderquist, Dirk Schulze, Stephen Chenney, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, fmalit...@chromium.org, kouhe...@chromium.org, blink-revi...@chromium.org, pdr+svgw...@chromium.org, jmedle...@chromium.org, devtools-re...@chromium.org, dom+...@chromium.org, dominicc+...@chromium.org, hiroshig...@chromium.org, kouhei...@chromium.org, ayman...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, loading-rev...@chromium.org, mdjone...@chromium.org, yuezhang...@chromium.org
    Attention needed from Fredrik Söderquist

    Mason Freed added 2 comments

    Patchset-level comments
    File-level comment, Patchset 29 (Latest):
    Mason Freed . resolved

    I'm going to abandon this patch. I don't have the bandwidth, and people seem concerned.

    File third_party/blink/renderer/core/html/parser/svg_document_parser.cc
    Line 27, Patchset 27: return HTMLDocumentParser::Append("<html><body>" + source);
    Fredrik Söderquist . resolved

    Isn't relying on the regular HTML parser insertion of "missing" elements enough for this? (This basically means making a copy of the entire input, so it seems a bit counterproductive.)

    Mason Freed

    Yep, you're right. At some point while working on this patch, that seemed to be needed, but I guess that wasn't actually the case. Removed.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Fredrik Söderquist
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement 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: I7db847f672458f3dce20c18c5cec535b7ab04d96
    Gerrit-Change-Number: 6719663
    Gerrit-PatchSet: 29
    Gerrit-Owner: Mason Freed <mas...@chromium.org>
    Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
    Gerrit-CC: AI Code Reviewer <peep-gen...@system.gserviceaccount.com>
    Gerrit-CC: David Baron <dba...@chromium.org>
    Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
    Gerrit-CC: Fredrik Söderquist <f...@opera.com>
    Gerrit-CC: Philip Rogers <p...@chromium.org>
    Gerrit-CC: Stephen Chenney <sche...@chromium.org>
    Gerrit-Attention: Fredrik Söderquist <f...@opera.com>
    Gerrit-Comment-Date: Fri, 17 Oct 2025 20:00:35 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Fredrik Söderquist <f...@opera.com>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Mason Freed (Gerrit)

    unread,
    Oct 17, 2025, 4:00:50 PM (2 days ago) Oct 17
    to David Baron, AI Code Reviewer, chrom...@appspot.gserviceaccount.com, Philip Rogers, Fredrik Söderquist, Dirk Schulze, Stephen Chenney, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, fmalit...@chromium.org, kouhe...@chromium.org, blink-revi...@chromium.org, pdr+svgw...@chromium.org, jmedle...@chromium.org, devtools-re...@chromium.org, dom+...@chromium.org, dominicc+...@chromium.org, hiroshig...@chromium.org, kouhei...@chromium.org, ayman...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, loading-rev...@chromium.org, mdjone...@chromium.org, yuezhang...@chromium.org

    Mason Freed abandoned this change

    Related details

    Attention set is empty
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • 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: abandon
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy
    Reply all
    Reply to author
    Forward
    0 new messages