Convert <DETAILS> to manual assignment. [chromium/src : main]

0 views
Skip to first unread message

Chris Harrelson (Gerrit)

unread,
Sep 17, 2021, 7:00:42 PM9/17/21
to Aleks Totic, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org

Attention is currently required from: Aleks Totic.

Chris Harrelson uploaded patch set #5 to the change originally created by Aleks Totic.

View Change

Convert <DETAILS> to manual assignment.

Some user agent custom elements used non-standard slot assignment.
Convert it to manual slot assignment.

Elements that want to do manual assignment:
- Implement Element::ManuallyAssignSlots method
- SetSlotAssignmentMode(SlotAssignmentMode::kManual);

First implementation: details element.

Bug: 1179356
Change-Id: Ida73ae8436f78da134b3b5414a1e4f972983dd63
---
M third_party/blink/renderer/core/dom/element.h
M third_party/blink/renderer/core/dom/slot_assignment.cc
M third_party/blink/renderer/core/html/html_details_element.cc
M third_party/blink/renderer/core/html/html_details_element.h
M third_party/blink/renderer/core/html/html_slot_element.cc
M third_party/blink/renderer/core/html/html_slot_element.h
M third_party/blink/web_tests/fast/dom/shadow/offset-parent-does-not-leak-ua-shadow.html
7 files changed, 138 insertions(+), 66 deletions(-)

To view, visit change 3163573. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ida73ae8436f78da134b3b5414a1e4f972983dd63
Gerrit-Change-Number: 3163573
Gerrit-PatchSet: 5
Gerrit-Owner: Aleks Totic <ato...@chromium.org>
Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
Gerrit-Attention: Aleks Totic <ato...@chromium.org>
Gerrit-MessageType: newpatchset

Aleks Totic (Gerrit)

unread,
Sep 17, 2021, 10:09:12 PM9/17/21
to blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, Mason Freed, Chromium LUCI CQ, chromium...@chromium.org

Patch set 6:Commit-Queue +2

View Change

2 comments:

  • Patchset:

    • Patch Set #4:

      Nice, this LGTM! Should make the next two a piece of cake.

      Piece of cake would be great. With Chrome code, I've learned to expect the unexpected ;)

  • Patchset:

To view, visit change 3163573. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ida73ae8436f78da134b3b5414a1e4f972983dd63
Gerrit-Change-Number: 3163573
Gerrit-PatchSet: 6
Gerrit-Owner: Aleks Totic <ato...@chromium.org>
Gerrit-Reviewer: Aleks Totic <ato...@chromium.org>
Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
Gerrit-Comment-Date: Sat, 18 Sep 2021 02:09:02 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: Mason Freed <mas...@chromium.org>
Gerrit-MessageType: comment

Aleks Totic (Gerrit)

unread,
Sep 18, 2021, 12:11:04 AM9/18/21
to blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, Mason Freed, Chromium LUCI CQ, chromium...@chromium.org

Patch set 6:Commit-Queue +2

View Change

1 comment:

  • Patchset:

To view, visit change 3163573. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ida73ae8436f78da134b3b5414a1e4f972983dd63
Gerrit-Change-Number: 3163573
Gerrit-PatchSet: 6
Gerrit-Owner: Aleks Totic <ato...@chromium.org>
Gerrit-Reviewer: Aleks Totic <ato...@chromium.org>
Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
Gerrit-Comment-Date: Sat, 18 Sep 2021 04:10:51 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment

Chromium LUCI CQ (Gerrit)

unread,
Sep 18, 2021, 2:20:15 PM9/18/21
to Aleks Totic, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, Mason Freed, chromium...@chromium.org

Chromium LUCI CQ submitted this change.

View Change



4 is the latest approved patch-set.
The change was submitted with unreviewed changes in the following files:

```
The name of the file: third_party/blink/web_tests/fast/dom/shadow/offset-parent-does-not-leak-ua-shadow.html
Insertions: 3, Deletions: 1.

The diff is too large to show. Please review the diff.
```

Approvals: Mason Freed: Looks good to me Aleks Totic: Commit
Convert <DETAILS> to manual assignment.

Some user agent custom elements used non-standard slot assignment.
Convert it to manual slot assignment.

Elements that want to do manual assignment:
- Implement Element::ManuallyAssignSlots method
- SetSlotAssignmentMode(SlotAssignmentMode::kManual);

First implementation: details element.

Bug: 1179356
Change-Id: Ida73ae8436f78da134b3b5414a1e4f972983dd63
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3163573
Commit-Queue: Aleks Totic <ato...@chromium.org>
Reviewed-by: Mason Freed <mas...@chromium.org>
Cr-Commit-Position: refs/heads/main@{#922806}

---
M third_party/blink/renderer/core/dom/element.h
M third_party/blink/renderer/core/dom/slot_assignment.cc
M third_party/blink/renderer/core/html/html_details_element.cc
M third_party/blink/renderer/core/html/html_details_element.h
M third_party/blink/renderer/core/html/html_slot_element.cc
M third_party/blink/renderer/core/html/html_slot_element.h
M third_party/blink/web_tests/fast/dom/shadow/offset-parent-does-not-leak-ua-shadow.html
7 files changed, 78 insertions(+), 20 deletions(-)


To view, visit change 3163573. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ida73ae8436f78da134b3b5414a1e4f972983dd63
Gerrit-Change-Number: 3163573
Gerrit-PatchSet: 7
Gerrit-Owner: Aleks Totic <ato...@chromium.org>
Gerrit-Reviewer: Aleks Totic <ato...@chromium.org>
Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
Gerrit-MessageType: merged

ADIr2d2 (Gerrit)

unread,
Sep 19, 2021, 6:07:56 PM9/19/21
to Aleks Totic, Chromium LUCI CQ, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, Mason Freed, chromium...@chromium.org

View Change

1 comment:

To view, visit change 3163573. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ida73ae8436f78da134b3b5414a1e4f972983dd63
Gerrit-Change-Number: 3163573
Gerrit-PatchSet: 7
Gerrit-Owner: Aleks Totic <ato...@chromium.org>
Gerrit-Reviewer: Aleks Totic <ato...@chromium.org>
Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
Gerrit-CC: ADIr2d2 <playn...@googlemail.com>
Gerrit-Comment-Date: Sun, 19 Sep 2021 22:07:42 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment

Aleks Totic (Gerrit)

unread,
Sep 24, 2021, 4:39:43 PM9/24/21
to Chromium LUCI CQ, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, ADIr2d2, Mason Freed, chromium...@chromium.org

Aleks Totic has created a revert of this change.

View Change

To view, visit change 3163573. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ida73ae8436f78da134b3b5414a1e4f972983dd63
Gerrit-Change-Number: 3163573
Gerrit-PatchSet: 7
Gerrit-Owner: Aleks Totic <ato...@chromium.org>
Gerrit-Reviewer: Aleks Totic <ato...@chromium.org>
Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
Gerrit-CC: ADIr2d2 <playn...@googlemail.com>
Gerrit-MessageType: revert
Reply all
Reply to author
Forward
0 new messages