[HiC] Invalidate body background images in iframes [chromium/src : main]

0 views
Skip to first unread message

Stephen Chenney (Gerrit)

unread,
Jul 30, 2026, 10:05:32 PM (2 days ago) Jul 30
to Philip Rogers, Stefan Zager, Chromium LUCI CQ, chromium...@chromium.org, blink-rev...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org
Attention needed from Philip Rogers and Stefan Zager

Stephen Chenney added 1 comment

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

Fix for one of the privacy bugs.

Open in Gerrit

Related details

Attention is currently required from:
  • Philip Rogers
  • Stefan Zager
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: I982af5f176d648472f8453e911cd4c32588c5f2a
Gerrit-Change-Number: 8181706
Gerrit-PatchSet: 1
Gerrit-Owner: Stephen Chenney <sche...@chromium.org>
Gerrit-Reviewer: Philip Rogers <p...@chromium.org>
Gerrit-Reviewer: Stefan Zager <sza...@chromium.org>
Gerrit-Reviewer: Stephen Chenney <sche...@chromium.org>
Gerrit-Attention: Philip Rogers <p...@chromium.org>
Gerrit-Attention: Stefan Zager <sza...@chromium.org>
Gerrit-Comment-Date: Fri, 31 Jul 2026 02:05:17 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Philip Rogers (Gerrit)

unread,
Jul 31, 2026, 1:33:07 PM (13 hours ago) Jul 31
to Stephen Chenney, Stefan Zager, Chromium LUCI CQ, chromium...@chromium.org, blink-rev...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org
Attention needed from Stefan Zager and Stephen Chenney

Philip Rogers added 1 comment

File third_party/blink/renderer/core/html/html_frame_owner_element.cc
Line 250, Patchset 1 (Latest): if (layout_view->StyleRef().HasBackgroundImage()) {
Philip Rogers . unresolved

WDYT of removing the background image check and just always invalidate? For example, background-color and color is also propagated to the viewport in PropagateStyleToViewport and that may also be affected by read-back-aware rendering.

Open in Gerrit

Related details

Attention is currently required from:
  • Stefan Zager
  • Stephen Chenney
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: I982af5f176d648472f8453e911cd4c32588c5f2a
    Gerrit-Change-Number: 8181706
    Gerrit-PatchSet: 1
    Gerrit-Owner: Stephen Chenney <sche...@chromium.org>
    Gerrit-Reviewer: Philip Rogers <p...@chromium.org>
    Gerrit-Reviewer: Stefan Zager <sza...@chromium.org>
    Gerrit-Reviewer: Stephen Chenney <sche...@chromium.org>
    Gerrit-Attention: Stephen Chenney <sche...@chromium.org>
    Gerrit-Attention: Stefan Zager <sza...@chromium.org>
    Gerrit-Comment-Date: Fri, 31 Jul 2026 17:32:53 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Stephen Chenney (Gerrit)

    unread,
    Jul 31, 2026, 8:12:35 PM (6 hours ago) Jul 31
    to Philip Rogers, Stefan Zager, Chromium LUCI CQ, chromium...@chromium.org, blink-rev...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org
    Attention needed from Philip Rogers and Stefan Zager

    Stephen Chenney voted and added 1 comment

    Votes added by Stephen Chenney

    Commit-Queue+1

    1 comment

    File third_party/blink/renderer/core/html/html_frame_owner_element.cc
    Line 250, Patchset 1: if (layout_view->StyleRef().HasBackgroundImage()) {
    Philip Rogers . resolved

    WDYT of removing the background image check and just always invalidate? For example, background-color and color is also propagated to the viewport in PropagateStyleToViewport and that may also be affected by read-back-aware rendering.

    Stephen Chenney

    I think it would be reasonable to always invalidate, yes. It's not like we expect things to frequently move into and out of the subtree from other active parts of the DOM, so performance is likely not a big deal. I presume if an author wants to hide the frame until drawn they would remove it from the dom entirely or otherwise set it up such that the display items would need regeneration regardless. New CL shortly.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Philip Rogers
    • Stefan Zager
    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: I982af5f176d648472f8453e911cd4c32588c5f2a
      Gerrit-Change-Number: 8181706
      Gerrit-PatchSet: 2
      Gerrit-Owner: Stephen Chenney <sche...@chromium.org>
      Gerrit-Reviewer: Philip Rogers <p...@chromium.org>
      Gerrit-Reviewer: Stefan Zager <sza...@chromium.org>
      Gerrit-Reviewer: Stephen Chenney <sche...@chromium.org>
      Gerrit-Attention: Philip Rogers <p...@chromium.org>
      Gerrit-Attention: Stefan Zager <sza...@chromium.org>
      Gerrit-Comment-Date: Sat, 01 Aug 2026 00:12:24 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      Comment-In-Reply-To: Philip Rogers <p...@chromium.org>
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy
      Reply all
      Reply to author
      Forward
      0 new messages