[PEPC] Implement :granted CSS pseudo class [chromium/src : main]

0 views
Skip to first unread message

Thomas Nguyen (Gerrit)

unread,
Sep 18, 2023, 8:47:45 AM9/18/23
to Andy Paicu, Kamila Hasanbega, apavlo...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, devtools-re...@chromium.org

Attention is currently required from: Andy Paicu, Kamila Hasanbega.

Thomas Nguyen would like Andy Paicu and Kamila Hasanbega to review this change.

View Change

[PEPC] Implement :granted CSS pseudo class

The pseudo class is used to change the style of <permission> element
when the embedded permission request was explicitly granted from
secondary prompt UI.

Bug:1462930
Change-Id: I8e698cb181a34ce449861031ceea1b8093bf3f23
---
M third_party/blink/renderer/core/css/css_selector.cc
M third_party/blink/renderer/core/css/css_selector.h
M third_party/blink/renderer/core/css/rule_feature_set.cc
M third_party/blink/renderer/core/css/selector_checker.cc
M third_party/blink/renderer/core/html/html_permission_element.cc
M third_party/blink/renderer/core/html/html_permission_element.h
M third_party/blink/renderer/core/html/resources/permission.css
M third_party/blink/renderer/core/inspector/inspector_trace_events.cc
8 files changed, 31 insertions(+), 1 deletion(-)


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

Gerrit-MessageType: newchange
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I8e698cb181a34ce449861031ceea1b8093bf3f23
Gerrit-Change-Number: 4872240
Gerrit-PatchSet: 2
Gerrit-Owner: Thomas Nguyen <tun...@chromium.org>
Gerrit-Reviewer: Andy Paicu <andy...@chromium.org>
Gerrit-Reviewer: Kamila Hasanbega <hka...@google.com>
Gerrit-CC: Alexis Menard <alexis...@intel.com>
Gerrit-Attention: Andy Paicu <andy...@chromium.org>
Gerrit-Attention: Kamila Hasanbega <hka...@google.com>

Thomas Nguyen (Gerrit)

unread,
Sep 18, 2023, 8:47:54 AM9/18/23
to apavlo...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, devtools-re...@chromium.org, Andy Paicu, Kamila Hasanbega, Alexis Menard, chromium...@chromium.org

Attention is currently required from: Andy Paicu, Kamila Hasanbega.

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

    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I8e698cb181a34ce449861031ceea1b8093bf3f23
    Gerrit-Change-Number: 4872240
    Gerrit-PatchSet: 2
    Gerrit-Owner: Thomas Nguyen <tun...@chromium.org>
    Gerrit-Reviewer: Andy Paicu <andy...@chromium.org>
    Gerrit-Reviewer: Kamila Hasanbega <hka...@google.com>
    Gerrit-CC: Alexis Menard <alexis...@intel.com>
    Gerrit-Attention: Andy Paicu <andy...@chromium.org>
    Gerrit-Attention: Kamila Hasanbega <hka...@google.com>
    Gerrit-Comment-Date: Mon, 18 Sep 2023 12:47:41 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: No

    Thomas Nguyen (Gerrit)

    unread,
    Sep 18, 2023, 8:51:40 AM9/18/23
    to apavlo...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, devtools-re...@chromium.org, Andy Paicu, Kamila Hasanbega, Alexis Menard, chromium...@chromium.org

    Attention is currently required from: Andy Paicu, Kamila Hasanbega.

    View Change

    1 comment:

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

    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I8e698cb181a34ce449861031ceea1b8093bf3f23
    Gerrit-Change-Number: 4872240
    Gerrit-PatchSet: 2
    Gerrit-Owner: Thomas Nguyen <tun...@chromium.org>
    Gerrit-Reviewer: Andy Paicu <andy...@chromium.org>
    Gerrit-Reviewer: Kamila Hasanbega <hka...@google.com>
    Gerrit-CC: Alexis Menard <alexis...@intel.com>
    Gerrit-Attention: Andy Paicu <andy...@chromium.org>
    Gerrit-Attention: Kamila Hasanbega <hka...@google.com>
    Gerrit-Comment-Date: Mon, 18 Sep 2023 12:51:27 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No

    Thomas Nguyen (Gerrit)

    unread,
    Sep 20, 2023, 4:30:50 AM9/20/23
    to Mason Freed, apavlo...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, devtools-re...@chromium.org, Andy Paicu, Kamila Hasanbega

    Attention is currently required from: Andy Paicu, Kamila Hasanbega, Mason Freed.

    Thomas Nguyen would like Mason Freed to review this change.

    View Change

    [PEPC] Implement :granted CSS pseudo class

    The pseudo class is used to change the style of <permission> element
    when the embedded permission request was explicitly granted from
    secondary prompt UI.

    Bug:1462930
    Change-Id: I8e698cb181a34ce449861031ceea1b8093bf3f23
    ---
    M third_party/blink/renderer/core/css/css_selector.cc
    M third_party/blink/renderer/core/css/css_selector.h
    M third_party/blink/renderer/core/css/rule_feature_set.cc
    M third_party/blink/renderer/core/css/selector_checker.cc
    M third_party/blink/renderer/core/html/html_permission_element.cc
    M third_party/blink/renderer/core/html/html_permission_element.h
    M third_party/blink/renderer/core/html/resources/permission.css
    M third_party/blink/renderer/core/inspector/inspector_trace_events.cc
    8 files changed, 31 insertions(+), 1 deletion(-)


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

    Gerrit-MessageType: newchange
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I8e698cb181a34ce449861031ceea1b8093bf3f23
    Gerrit-Change-Number: 4872240
    Gerrit-PatchSet: 2
    Gerrit-Owner: Thomas Nguyen <tun...@chromium.org>
    Gerrit-Reviewer: Andy Paicu <andy...@chromium.org>
    Gerrit-Reviewer: Kamila Hasanbega <hka...@google.com>
    Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
    Gerrit-CC: Alexis Menard <alexis...@intel.com>
    Gerrit-Attention: Andy Paicu <andy...@chromium.org>
    Gerrit-Attention: Kamila Hasanbega <hka...@google.com>
    Gerrit-Attention: Mason Freed <mas...@chromium.org>

    Thomas Nguyen (Gerrit)

    unread,
    Sep 20, 2023, 4:31:01 AM9/20/23
    to apavlo...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, devtools-re...@chromium.org, Mason Freed, Andy Paicu, Kamila Hasanbega, Alexis Menard, chromium...@chromium.org

    Attention is currently required from: Andy Paicu, Kamila Hasanbega, Mason Freed.

    View Change

    1 comment:

    • Patchset:

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

    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I8e698cb181a34ce449861031ceea1b8093bf3f23
    Gerrit-Change-Number: 4872240
    Gerrit-PatchSet: 2
    Gerrit-Owner: Thomas Nguyen <tun...@chromium.org>
    Gerrit-Reviewer: Andy Paicu <andy...@chromium.org>
    Gerrit-Reviewer: Kamila Hasanbega <hka...@google.com>
    Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
    Gerrit-CC: Alexis Menard <alexis...@intel.com>
    Gerrit-Attention: Andy Paicu <andy...@chromium.org>
    Gerrit-Attention: Kamila Hasanbega <hka...@google.com>
    Gerrit-Attention: Mason Freed <mas...@chromium.org>
    Gerrit-Comment-Date: Wed, 20 Sep 2023 08:30:45 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No

    Andy Paicu (Gerrit)

    unread,
    Sep 20, 2023, 4:40:48 AM9/20/23
    to Thomas Nguyen, apavlo...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, devtools-re...@chromium.org, Mason Freed, Kamila Hasanbega, Alexis Menard, chromium...@chromium.org

    Attention is currently required from: Kamila Hasanbega, Mason Freed, Thomas Nguyen.

    View Change

    3 comments:

    • File third_party/blink/renderer/core/html/html_permission_element.h:

      • Patch Set #2, Line 109: bool user_granted_permissions_ = false;

        The granted state should reflect a *truly granted* state where the site will be able to make use of the capability. That includes more things than the user granting permission. Suggestion: `permission_granted_`.

    • File third_party/blink/renderer/core/html/html_permission_element.cc:

      • Patch Set #2, Line 193: user_granted_permissions_ = true;

        This is likely insufficient. We want to also capture all other permission changes as well as changes back from granted so we'll have to create a subscription to the permission service and listen to permission status changes.

        Since we have to do that, I would rather have only one "source of truth" for this information so I would prefer if the state only changed in response to the permission service subscription events.

    • File third_party/blink/renderer/core/html/resources/permission.css:

      • Patch Set #2, Line 25: background-color:#ffffff;

        We can revisit exact details later. I think for now this is fine as long as we have a task in the spreadsheet to revisit CSS details.

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

    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I8e698cb181a34ce449861031ceea1b8093bf3f23
    Gerrit-Change-Number: 4872240
    Gerrit-PatchSet: 2
    Gerrit-Owner: Thomas Nguyen <tun...@chromium.org>
    Gerrit-Reviewer: Andy Paicu <andy...@chromium.org>
    Gerrit-Reviewer: Kamila Hasanbega <hka...@google.com>
    Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
    Gerrit-CC: Alexis Menard <alexis...@intel.com>
    Gerrit-Attention: Kamila Hasanbega <hka...@google.com>
    Gerrit-Attention: Mason Freed <mas...@chromium.org>
    Gerrit-Attention: Thomas Nguyen <tun...@chromium.org>
    Gerrit-Comment-Date: Wed, 20 Sep 2023 08:40:33 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No

    Thomas Nguyen (Gerrit)

    unread,
    Sep 20, 2023, 4:50:22 AM9/20/23
    to Mason Freed, apavlo...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, devtools-re...@chromium.org, Andy Paicu, Kamila Hasanbega, Alexis Menard, chromium...@chromium.org

    Attention is currently required from: Kamila Hasanbega, Thomas Nguyen.

    Thomas Nguyen removed Mason Freed from this change.

    View Change

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

    Gerrit-MessageType: deleteReviewer
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I8e698cb181a34ce449861031ceea1b8093bf3f23
    Gerrit-Change-Number: 4872240
    Gerrit-PatchSet: 2
    Gerrit-Owner: Thomas Nguyen <tun...@chromium.org>
    Gerrit-Reviewer: Andy Paicu <andy...@chromium.org>
    Gerrit-Reviewer: Kamila Hasanbega <hka...@google.com>
    Gerrit-CC: Alexis Menard <alexis...@intel.com>
    Gerrit-Attention: Kamila Hasanbega <hka...@google.com>
    Gerrit-Attention: Thomas Nguyen <tun...@chromium.org>

    Thomas Nguyen (Gerrit)

    unread,
    Sep 20, 2023, 4:51:11 AM9/20/23
    to apavlo...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, devtools-re...@chromium.org, Andy Paicu, Kamila Hasanbega, Alexis Menard, chromium...@chromium.org

    Attention is currently required from: Andy Paicu, Kamila Hasanbega.

    View Change

    3 comments:

    • File third_party/blink/renderer/core/html/html_permission_element.h:

      • The granted state should reflect a *truly granted* state where the site will be able to make use of […]

        Done

    • File third_party/blink/renderer/core/html/html_permission_element.cc:

      • This is likely insufficient. […]

        Oh wait, we expect to update the styling even in case granted by other sources, not only from secondary UI? Let me double check the last discussion to make sure we are not missing any idea.

    • File third_party/blink/renderer/core/html/resources/permission.css:

      • We can revisit exact details later. […]

        That's what we agreed at the moment, the background change is the only thing I could find from the current mock. And Acknowledged

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

    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I8e698cb181a34ce449861031ceea1b8093bf3f23
    Gerrit-Change-Number: 4872240
    Gerrit-PatchSet: 2
    Gerrit-Owner: Thomas Nguyen <tun...@chromium.org>
    Gerrit-Reviewer: Andy Paicu <andy...@chromium.org>
    Gerrit-Reviewer: Kamila Hasanbega <hka...@google.com>
    Gerrit-CC: Alexis Menard <alexis...@intel.com>
    Gerrit-Attention: Andy Paicu <andy...@chromium.org>
    Gerrit-Attention: Kamila Hasanbega <hka...@google.com>
    Gerrit-Comment-Date: Wed, 20 Sep 2023 08:50:59 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Andy Paicu <andy...@chromium.org>

    Rune Lillesveen (Gerrit)

    unread,
    Sep 21, 2023, 5:41:22 AM9/21/23
    to Thomas Nguyen, apavlo...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, devtools-re...@chromium.org, Rune Lillesveen, Andy Paicu, Kamila Hasanbega, Alexis Menard, chromium...@chromium.org

    Attention is currently required from: Kamila Hasanbega, Thomas Nguyen.

    View Change

    1 comment:

    • File third_party/blink/renderer/core/html/resources/permission.css:

      • Patch Set #2, Line 24: :granted

        Is this supposed to be author-exposed? If not it should be ::-internal-*

        If it's supposed to be author-exposed it needs a specification. Also, before there is a specification is has to be guarded by a runtime flag.

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

    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I8e698cb181a34ce449861031ceea1b8093bf3f23
    Gerrit-Change-Number: 4872240
    Gerrit-PatchSet: 2
    Gerrit-Owner: Thomas Nguyen <tun...@chromium.org>
    Gerrit-Reviewer: Andy Paicu <andy...@chromium.org>
    Gerrit-Reviewer: Kamila Hasanbega <hka...@google.com>
    Gerrit-CC: Alexis Menard <alexis...@intel.com>
    Gerrit-CC: Rune Lillesveen <fut...@chromium.org>
    Gerrit-Attention: Kamila Hasanbega <hka...@google.com>
    Gerrit-Attention: Thomas Nguyen <tun...@chromium.org>
    Gerrit-Comment-Date: Thu, 21 Sep 2023 09:41:08 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No

    Thomas Nguyen (Gerrit)

    unread,
    Sep 21, 2023, 5:47:46 AM9/21/23
    to apavlo...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, devtools-re...@chromium.org, Rune Lillesveen, Andy Paicu, Kamila Hasanbega, Alexis Menard, chromium...@chromium.org

    Attention is currently required from: Kamila Hasanbega, Rune Lillesveen.

    View Change

    1 comment:

    • File third_party/blink/renderer/core/html/resources/permission.css:

      • Is this supposed to be author-exposed? If not it should be ::-internal-* […]

        The <permission> specs are under `Web Incubator` specs and I believe once it's released, we will ask for "granted" specs also.

        Currently it's guarded by `PermissionElement` runtime flags, in this CL in
        third_party/blink/renderer/core/css/css_selector.cc
        third_party/blink/renderer/core/css/selector_checker.cc

        Am I missing any other places should be guarded?

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

    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I8e698cb181a34ce449861031ceea1b8093bf3f23
    Gerrit-Change-Number: 4872240
    Gerrit-PatchSet: 2
    Gerrit-Owner: Thomas Nguyen <tun...@chromium.org>
    Gerrit-Reviewer: Andy Paicu <andy...@chromium.org>
    Gerrit-Reviewer: Kamila Hasanbega <hka...@google.com>
    Gerrit-CC: Alexis Menard <alexis...@intel.com>
    Gerrit-CC: Rune Lillesveen <fut...@chromium.org>
    Gerrit-Attention: Rune Lillesveen <fut...@chromium.org>
    Gerrit-Attention: Kamila Hasanbega <hka...@google.com>
    Gerrit-Comment-Date: Thu, 21 Sep 2023 09:47:31 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Rune Lillesveen <fut...@chromium.org>

    Rune Lillesveen (Gerrit)

    unread,
    Sep 21, 2023, 5:48:43 AM9/21/23
    to Thomas Nguyen, apavlo...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, devtools-re...@chromium.org, Rune Lillesveen, Andy Paicu, Kamila Hasanbega, Alexis Menard, chromium...@chromium.org

    Attention is currently required from: Kamila Hasanbega, Thomas Nguyen.

    View Change

    1 comment:

    • File third_party/blink/renderer/core/html/resources/permission.css:

      • Oh. I see it's guarded by a runtime flag.

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

    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I8e698cb181a34ce449861031ceea1b8093bf3f23
    Gerrit-Change-Number: 4872240
    Gerrit-PatchSet: 2
    Gerrit-Owner: Thomas Nguyen <tun...@chromium.org>
    Gerrit-Reviewer: Andy Paicu <andy...@chromium.org>
    Gerrit-Reviewer: Kamila Hasanbega <hka...@google.com>
    Gerrit-CC: Alexis Menard <alexis...@intel.com>
    Gerrit-CC: Rune Lillesveen <fut...@chromium.org>
    Gerrit-Attention: Kamila Hasanbega <hka...@google.com>
    Gerrit-Attention: Thomas Nguyen <tun...@chromium.org>
    Gerrit-Comment-Date: Thu, 21 Sep 2023 09:48:32 +0000

    Thomas Nguyen (Gerrit)

    unread,
    Sep 25, 2023, 10:11:03 AM9/25/23
    to apavlo...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, devtools-re...@chromium.org, Rune Lillesveen, Andy Paicu, Kamila Hasanbega, Alexis Menard, chromium...@chromium.org

    Attention is currently required from: Andy Paicu, Kamila Hasanbega, Rune Lillesveen.

    View Change

    2 comments:

    • File third_party/blink/renderer/core/html/html_permission_element.cc:

      • Oh wait, we expect to update the styling even in case granted by other sources, not only from second […]

        We also want to get permission statuses to show a correct string, and I am thinking we will need to expose earlier mojo call: `RegisterPageEmbededPermissionControl` I'd leave a TODO here, given that we should do it in another CL.

    • File third_party/blink/renderer/core/html/resources/permission.css:

      • Oh. I see it's guarded by a runtime flag.

        Done

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

    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I8e698cb181a34ce449861031ceea1b8093bf3f23
    Gerrit-Change-Number: 4872240
    Gerrit-PatchSet: 2
    Gerrit-Owner: Thomas Nguyen <tun...@chromium.org>
    Gerrit-Reviewer: Andy Paicu <andy...@chromium.org>
    Gerrit-Reviewer: Kamila Hasanbega <hka...@google.com>
    Gerrit-CC: Alexis Menard <alexis...@intel.com>
    Gerrit-CC: Rune Lillesveen <fut...@chromium.org>
    Gerrit-Attention: Rune Lillesveen <fut...@chromium.org>
    Gerrit-Attention: Andy Paicu <andy...@chromium.org>
    Gerrit-Attention: Kamila Hasanbega <hka...@google.com>
    Gerrit-Comment-Date: Mon, 25 Sep 2023 14:10:50 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Rune Lillesveen <fut...@chromium.org>
    Comment-In-Reply-To: Andy Paicu <andy...@chromium.org>
    Comment-In-Reply-To: Thomas Nguyen <tun...@chromium.org>

    Thomas Nguyen (Gerrit)

    unread,
    Sep 25, 2023, 10:12:00 AM9/25/23
    to apavlo...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, devtools-re...@chromium.org

    Attention is currently required from: Andy Paicu, Kamila Hasanbega, Rune Lillesveen.

    Thomas Nguyen uploaded patch set #3 to this change.

    View Change

    [PEPC] Implement :granted CSS pseudo class

    The pseudo class is used to change the style of <permission> element
    when the corresponding permissions are granted.


    Bug:1462930
    Change-Id: I8e698cb181a34ce449861031ceea1b8093bf3f23
    ---
    M third_party/blink/renderer/core/css/css_selector.cc
    M third_party/blink/renderer/core/css/css_selector.h
    M third_party/blink/renderer/core/css/rule_feature_set.cc
    M third_party/blink/renderer/core/css/selector_checker.cc
    M third_party/blink/renderer/core/html/html_permission_element.cc
    M third_party/blink/renderer/core/html/html_permission_element.h
    M third_party/blink/renderer/core/html/resources/permission.css
    M third_party/blink/renderer/core/inspector/inspector_trace_events.cc
    8 files changed, 31 insertions(+), 1 deletion(-)

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

    Gerrit-MessageType: newpatchset
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I8e698cb181a34ce449861031ceea1b8093bf3f23
    Gerrit-Change-Number: 4872240
    Gerrit-PatchSet: 3

    Thomas Nguyen (Gerrit)

    unread,
    Sep 25, 2023, 10:18:02 AM9/25/23
    to apavlo...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, devtools-re...@chromium.org

    Attention is currently required from: Andy Paicu, Kamila Hasanbega, Rune Lillesveen.

    Thomas Nguyen uploaded patch set #4 to this change.

    View Change

    [PEPC] Implement :granted CSS pseudo class

    The pseudo class is used to change the style of <permission> element
    when the corresponding permissions are granted.

    Bug:1462930
    Change-Id: I8e698cb181a34ce449861031ceea1b8093bf3f23
    ---
    M third_party/blink/public/blink_resources.grd
    M third_party/blink/renderer/core/css/css_default_style_sheets.cc
    M third_party/blink/renderer/core/css/css_default_style_sheets.h

    M third_party/blink/renderer/core/css/css_selector.cc
    M third_party/blink/renderer/core/css/css_selector.h
    M third_party/blink/renderer/core/css/rule_feature_set.cc
    M third_party/blink/renderer/core/css/selector_checker.cc
    M third_party/blink/renderer/core/html/html_permission_element.cc
    M third_party/blink/renderer/core/html/html_permission_element.h
    A third_party/blink/renderer/core/html/resources/permission.css
    M third_party/blink/renderer/core/inspector/inspector_trace_events.cc
    11 files changed, 111 insertions(+), 1 deletion(-)

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

    Gerrit-MessageType: newpatchset
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I8e698cb181a34ce449861031ceea1b8093bf3f23
    Gerrit-Change-Number: 4872240
    Gerrit-PatchSet: 4

    Thomas Nguyen (Gerrit)

    unread,
    Sep 25, 2023, 10:20:30 AM9/25/23
    to apavlo...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, devtools-re...@chromium.org

    Attention is currently required from: Andy Paicu, Kamila Hasanbega, Rune Lillesveen.

    Thomas Nguyen uploaded patch set #5 to this change.

    View Change

    [PEPC] Implement :granted CSS pseudo class

    The pseudo class is used to change the style of <permission> element
    when the corresponding permissions are granted.

    Bug:1462930
    Change-Id: I8e698cb181a34ce449861031ceea1b8093bf3f23
    ---
    M third_party/blink/renderer/core/css/css_selector.cc
    M third_party/blink/renderer/core/css/css_selector.h
    M third_party/blink/renderer/core/css/rule_feature_set.cc
    M third_party/blink/renderer/core/css/selector_checker.cc
    M third_party/blink/renderer/core/html/html_permission_element.cc
    M third_party/blink/renderer/core/html/html_permission_element.h
    M third_party/blink/renderer/core/html/resources/permission.css
    M third_party/blink/renderer/core/inspector/inspector_trace_events.cc
    8 files changed, 34 insertions(+), 1 deletion(-)

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

    Gerrit-MessageType: newpatchset
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I8e698cb181a34ce449861031ceea1b8093bf3f23
    Gerrit-Change-Number: 4872240
    Gerrit-PatchSet: 5
    Gerrit-Owner: Thomas Nguyen <tun...@chromium.org>
    Gerrit-Reviewer: Andy Paicu <andy...@chromium.org>
    Gerrit-Reviewer: Kamila Hasanbega <hka...@google.com>
    Gerrit-CC: Alexis Menard <alexis...@intel.com>
    Gerrit-CC: Rune Lillesveen <fut...@chromium.org>

    Thomas Nguyen (Gerrit)

    unread,
    Sep 25, 2023, 10:21:42 AM9/25/23
    to Rune Lillesveen, apavlo...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, devtools-re...@chromium.org, Andy Paicu, Kamila Hasanbega

    Attention is currently required from: Andy Paicu, Kamila Hasanbega, Rune Lillesveen.

    Thomas Nguyen would like Rune Lillesveen to review this change.

    View Change

    [PEPC] Implement :granted CSS pseudo class

    The pseudo class is used to change the style of <permission> element
    when the corresponding permissions are granted.

    Bug:1462930
    Change-Id: I8e698cb181a34ce449861031ceea1b8093bf3f23
    ---
    M third_party/blink/renderer/core/css/css_selector.cc
    M third_party/blink/renderer/core/css/css_selector.h
    M third_party/blink/renderer/core/css/rule_feature_set.cc
    M third_party/blink/renderer/core/css/selector_checker.cc
    M third_party/blink/renderer/core/html/html_permission_element.cc
    M third_party/blink/renderer/core/html/html_permission_element.h
    M third_party/blink/renderer/core/html/resources/permission.css
    M third_party/blink/renderer/core/inspector/inspector_trace_events.cc
    8 files changed, 34 insertions(+), 1 deletion(-)


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

    Gerrit-MessageType: newchange
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I8e698cb181a34ce449861031ceea1b8093bf3f23
    Gerrit-Change-Number: 4872240
    Gerrit-PatchSet: 5
    Gerrit-Owner: Thomas Nguyen <tun...@chromium.org>
    Gerrit-Reviewer: Andy Paicu <andy...@chromium.org>
    Gerrit-Reviewer: Kamila Hasanbega <hka...@google.com>
    Gerrit-Reviewer: Rune Lillesveen <fut...@chromium.org>
    Gerrit-CC: Alexis Menard <alexis...@intel.com>

    Thomas Nguyen (Gerrit)

    unread,
    Sep 25, 2023, 10:23:16 AM9/25/23
    to apavlo...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, devtools-re...@chromium.org, Rune Lillesveen, Tricium, Andy Paicu, Kamila Hasanbega, Alexis Menard, chromium...@chromium.org

    Attention is currently required from: Andy Paicu, Kamila Hasanbega, Rune Lillesveen.

    View Change

    1 comment:

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

    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I8e698cb181a34ce449861031ceea1b8093bf3f23
    Gerrit-Change-Number: 4872240
    Gerrit-PatchSet: 5
    Gerrit-Owner: Thomas Nguyen <tun...@chromium.org>
    Gerrit-Reviewer: Andy Paicu <andy...@chromium.org>
    Gerrit-Reviewer: Kamila Hasanbega <hka...@google.com>
    Gerrit-Reviewer: Rune Lillesveen <fut...@chromium.org>
    Gerrit-CC: Alexis Menard <alexis...@intel.com>
    Gerrit-Attention: Rune Lillesveen <fut...@chromium.org>
    Gerrit-Attention: Andy Paicu <andy...@chromium.org>
    Gerrit-Attention: Kamila Hasanbega <hka...@google.com>
    Gerrit-Comment-Date: Mon, 25 Sep 2023 14:23:01 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No

    Thomas Nguyen (Gerrit)

    unread,
    Sep 25, 2023, 10:26:34 AM9/25/23
    to apavlo...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, devtools-re...@chromium.org

    Attention is currently required from: Andy Paicu, Kamila Hasanbega, Rune Lillesveen.

    Thomas Nguyen uploaded patch set #6 to this change.

    View Change

    [PEPC] Implement :granted CSS pseudo class

    The pseudo class is used to change the style of <permission> element
    when the corresponding permissions are granted.

    Bug:1462930
    Change-Id: I8e698cb181a34ce449861031ceea1b8093bf3f23
    ---
    M third_party/blink/renderer/core/css/css_selector.cc
    M third_party/blink/renderer/core/css/css_selector.h
    M third_party/blink/renderer/core/css/rule_feature_set.cc
    M third_party/blink/renderer/core/css/selector_checker.cc
    M third_party/blink/renderer/core/html/html_permission_element.cc
    M third_party/blink/renderer/core/html/html_permission_element.h
    M third_party/blink/renderer/core/html/resources/permission.css
    M third_party/blink/renderer/core/inspector/inspector_trace_events.cc
    8 files changed, 34 insertions(+), 1 deletion(-)

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

    Gerrit-MessageType: newpatchset
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I8e698cb181a34ce449861031ceea1b8093bf3f23
    Gerrit-Change-Number: 4872240
    Gerrit-PatchSet: 6

    Thomas Nguyen (Gerrit)

    unread,
    Sep 26, 2023, 8:21:14 AM9/26/23
    to apavlo...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, devtools-re...@chromium.org, Chromium LUCI CQ, Rune Lillesveen, Tricium, Andy Paicu, Kamila Hasanbega, Alexis Menard, chromium...@chromium.org

    Attention is currently required from: Andy Paicu, Kamila Hasanbega, Rune Lillesveen.

    View Change

    1 comment:

    • File third_party/blink/renderer/core/html/resources/permission.css:

      • Done

        @fut...@chromium.org, looks like the css changes are put in your radar automatically, do you mind reviewing the css part?
        Thanks

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

    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I8e698cb181a34ce449861031ceea1b8093bf3f23
    Gerrit-Change-Number: 4872240
    Gerrit-PatchSet: 7
    Gerrit-Owner: Thomas Nguyen <tun...@chromium.org>
    Gerrit-Reviewer: Andy Paicu <andy...@chromium.org>
    Gerrit-Reviewer: Kamila Hasanbega <hka...@google.com>
    Gerrit-Reviewer: Rune Lillesveen <fut...@chromium.org>
    Gerrit-Reviewer: Thomas Nguyen <tun...@chromium.org>
    Gerrit-CC: Alexis Menard <alexis...@intel.com>
    Gerrit-Attention: Rune Lillesveen <fut...@chromium.org>
    Gerrit-Attention: Andy Paicu <andy...@chromium.org>
    Gerrit-Attention: Kamila Hasanbega <hka...@google.com>
    Gerrit-Comment-Date: Tue, 26 Sep 2023 12:20:57 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Rune Lillesveen <fut...@chromium.org>
    Comment-In-Reply-To: Thomas Nguyen <tun...@chromium.org>

    Thomas Nguyen (Gerrit)

    unread,
    Sep 26, 2023, 9:09:40 AM9/26/23
    to apavlo...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, devtools-re...@chromium.org

    Attention is currently required from: Andy Paicu, Kamila Hasanbega, Rune Lillesveen, Thomas Nguyen.

    Thomas Nguyen uploaded patch set #8 to this change.

    View Change

    The following approvals got outdated and were removed: Commit-Queue+1 by Thomas Nguyen

    [PEPC] Implement :granted CSS pseudo class

    The pseudo class is used to change the style of <permission> element
    when the corresponding permissions are granted.

    Bug:1462930
    Change-Id: I8e698cb181a34ce449861031ceea1b8093bf3f23
    ---
    M third_party/blink/renderer/core/css/css_selector.cc
    M third_party/blink/renderer/core/css/css_selector.h
    M third_party/blink/renderer/core/css/rule_feature_set.cc
    M third_party/blink/renderer/core/css/selector_checker.cc
    M third_party/blink/renderer/core/html/html_permission_element.cc
    M third_party/blink/renderer/core/html/html_permission_element.h
    M third_party/blink/renderer/core/html/resources/permission.css
    M third_party/blink/renderer/core/inspector/inspector_trace_events.cc
    8 files changed, 34 insertions(+), 1 deletion(-)

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

    Gerrit-MessageType: newpatchset
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I8e698cb181a34ce449861031ceea1b8093bf3f23
    Gerrit-Change-Number: 4872240
    Gerrit-PatchSet: 8
    Gerrit-Owner: Thomas Nguyen <tun...@chromium.org>
    Gerrit-Reviewer: Andy Paicu <andy...@chromium.org>
    Gerrit-Reviewer: Kamila Hasanbega <hka...@google.com>
    Gerrit-Reviewer: Rune Lillesveen <fut...@chromium.org>
    Gerrit-Reviewer: Thomas Nguyen <tun...@chromium.org>
    Gerrit-CC: Alexis Menard <alexis...@intel.com>
    Gerrit-Attention: Rune Lillesveen <fut...@chromium.org>
    Gerrit-Attention: Andy Paicu <andy...@chromium.org>
    Gerrit-Attention: Kamila Hasanbega <hka...@google.com>
    Gerrit-Attention: Thomas Nguyen <tun...@chromium.org>

    Rune Lillesveen (Gerrit)

    unread,
    Sep 26, 2023, 10:36:26 AM9/26/23
    to Thomas Nguyen, apavlo...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, devtools-re...@chromium.org, Rune Lillesveen, Chromium LUCI CQ, Tricium, Andy Paicu, Kamila Hasanbega, Alexis Menard, chromium...@chromium.org

    Attention is currently required from: Andy Paicu, Kamila Hasanbega, Thomas Nguyen.

    Patch set 8:Code-Review +1

    View Change

    2 comments:

    • Patchset:

    • File third_party/blink/renderer/core/html/resources/permission.css:

      • Patch Set #8, Line 29: background-color:#ffffff;

        Nit: inconsistent whether space is used after ':' or not. Seems a space is most common. Also, why not use 'white' instead of the hex value?

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

    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I8e698cb181a34ce449861031ceea1b8093bf3f23
    Gerrit-Change-Number: 4872240
    Gerrit-PatchSet: 8
    Gerrit-Owner: Thomas Nguyen <tun...@chromium.org>
    Gerrit-Reviewer: Andy Paicu <andy...@chromium.org>
    Gerrit-Reviewer: Kamila Hasanbega <hka...@google.com>
    Gerrit-Reviewer: Rune Lillesveen <fut...@chromium.org>
    Gerrit-Reviewer: Thomas Nguyen <tun...@chromium.org>
    Gerrit-CC: Alexis Menard <alexis...@intel.com>
    Gerrit-Attention: Andy Paicu <andy...@chromium.org>
    Gerrit-Attention: Kamila Hasanbega <hka...@google.com>
    Gerrit-Attention: Thomas Nguyen <tun...@chromium.org>
    Gerrit-Comment-Date: Tue, 26 Sep 2023 14:36:12 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes

    Thomas Nguyen (Gerrit)

    unread,
    Sep 27, 2023, 3:48:05 AM9/27/23
    to apavlo...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, devtools-re...@chromium.org, Rune Lillesveen, Chromium LUCI CQ, Tricium, Andy Paicu, Kamila Hasanbega, Alexis Menard, chromium...@chromium.org

    Attention is currently required from: Andy Paicu, Kamila Hasanbega.

    View Change

    1 comment:

    • File third_party/blink/renderer/core/html/resources/permission.css:

      • Nit: inconsistent whether space is used after ':' or not. Seems a space is most common. […]

        Done

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

    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I8e698cb181a34ce449861031ceea1b8093bf3f23
    Gerrit-Change-Number: 4872240
    Gerrit-PatchSet: 8
    Gerrit-Owner: Thomas Nguyen <tun...@chromium.org>
    Gerrit-Reviewer: Andy Paicu <andy...@chromium.org>
    Gerrit-Reviewer: Kamila Hasanbega <hka...@google.com>
    Gerrit-Reviewer: Rune Lillesveen <fut...@chromium.org>
    Gerrit-Reviewer: Thomas Nguyen <tun...@chromium.org>
    Gerrit-CC: Alexis Menard <alexis...@intel.com>
    Gerrit-Attention: Andy Paicu <andy...@chromium.org>
    Gerrit-Attention: Kamila Hasanbega <hka...@google.com>
    Gerrit-Comment-Date: Wed, 27 Sep 2023 07:47:49 +0000

    Thomas Nguyen (Gerrit)

    unread,
    Sep 27, 2023, 3:49:16 AM9/27/23
    to apavlo...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, devtools-re...@chromium.org

    Attention is currently required from: Andy Paicu, Kamila Hasanbega.

    Thomas Nguyen uploaded patch set #9 to this change.

    View Change

    [PEPC] Implement :granted CSS pseudo class


    The pseudo class is used to change the style of <permission> element
    when the corresponding permissions are granted.

    Bug:1462930
    Change-Id: I8e698cb181a34ce449861031ceea1b8093bf3f23
    ---
    M third_party/blink/renderer/core/css/css_selector.cc
    M third_party/blink/renderer/core/css/css_selector.h
    M third_party/blink/renderer/core/css/rule_feature_set.cc
    M third_party/blink/renderer/core/css/selector_checker.cc
    M third_party/blink/renderer/core/html/html_permission_element.cc
    M third_party/blink/renderer/core/html/html_permission_element.h
    M third_party/blink/renderer/core/html/resources/permission.css
    M third_party/blink/renderer/core/inspector/inspector_trace_events.cc
    8 files changed, 34 insertions(+), 1 deletion(-)

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

    Gerrit-MessageType: newpatchset
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I8e698cb181a34ce449861031ceea1b8093bf3f23
    Gerrit-Change-Number: 4872240
    Gerrit-PatchSet: 9

    Andy Paicu (Gerrit)

    unread,
    Sep 27, 2023, 4:47:27 AM9/27/23
    to Thomas Nguyen, apavlo...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, devtools-re...@chromium.org, Rune Lillesveen, Chromium LUCI CQ, Tricium, Kamila Hasanbega, Alexis Menard, chromium...@chromium.org

    Attention is currently required from: Kamila Hasanbega, Thomas Nguyen.

    Patch set 9:Code-Review +1

    View Change

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

      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I8e698cb181a34ce449861031ceea1b8093bf3f23
      Gerrit-Change-Number: 4872240
      Gerrit-PatchSet: 9
      Gerrit-Owner: Thomas Nguyen <tun...@chromium.org>
      Gerrit-Reviewer: Andy Paicu <andy...@chromium.org>
      Gerrit-Reviewer: Kamila Hasanbega <hka...@google.com>
      Gerrit-Reviewer: Rune Lillesveen <fut...@chromium.org>
      Gerrit-Reviewer: Thomas Nguyen <tun...@chromium.org>
      Gerrit-CC: Alexis Menard <alexis...@intel.com>
      Gerrit-Attention: Kamila Hasanbega <hka...@google.com>
      Gerrit-Attention: Thomas Nguyen <tun...@chromium.org>
      Gerrit-Comment-Date: Wed, 27 Sep 2023 08:47:10 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes

      Thomas Nguyen (Gerrit)

      unread,
      Sep 27, 2023, 7:55:04 AM9/27/23
      to apavlo...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, devtools-re...@chromium.org, Andy Paicu, Rune Lillesveen, Chromium LUCI CQ, Tricium, Kamila Hasanbega, Alexis Menard, chromium...@chromium.org

      Attention is currently required from: Kamila Hasanbega.

      Patch set 9:Commit-Queue +2

      View Change

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

        Gerrit-MessageType: comment
        Gerrit-Project: chromium/src
        Gerrit-Branch: main
        Gerrit-Change-Id: I8e698cb181a34ce449861031ceea1b8093bf3f23
        Gerrit-Change-Number: 4872240
        Gerrit-PatchSet: 9
        Gerrit-Owner: Thomas Nguyen <tun...@chromium.org>
        Gerrit-Reviewer: Andy Paicu <andy...@chromium.org>
        Gerrit-Reviewer: Kamila Hasanbega <hka...@google.com>
        Gerrit-Reviewer: Rune Lillesveen <fut...@chromium.org>
        Gerrit-Reviewer: Thomas Nguyen <tun...@chromium.org>
        Gerrit-CC: Alexis Menard <alexis...@intel.com>
        Gerrit-Attention: Kamila Hasanbega <hka...@google.com>
        Gerrit-Comment-Date: Wed, 27 Sep 2023 11:54:50 +0000
        Gerrit-HasComments: No
        Gerrit-Has-Labels: Yes

        Thomas Nguyen (Gerrit)

        unread,
        Sep 28, 2023, 4:38:54 AM9/28/23
        to apavlo...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, devtools-re...@chromium.org, Andy Paicu, Rune Lillesveen, Chromium LUCI CQ, Tricium, Kamila Hasanbega, Alexis Menard, chromium...@chromium.org

        Attention is currently required from: Kamila Hasanbega.

        Patch set 11:Commit-Queue +2

        View Change

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

          Gerrit-MessageType: comment
          Gerrit-Project: chromium/src
          Gerrit-Branch: main
          Gerrit-Change-Id: I8e698cb181a34ce449861031ceea1b8093bf3f23
          Gerrit-Change-Number: 4872240
          Gerrit-PatchSet: 11
          Gerrit-Owner: Thomas Nguyen <tun...@chromium.org>
          Gerrit-Reviewer: Andy Paicu <andy...@chromium.org>
          Gerrit-Reviewer: Kamila Hasanbega <hka...@google.com>
          Gerrit-Reviewer: Rune Lillesveen <fut...@chromium.org>
          Gerrit-Reviewer: Thomas Nguyen <tun...@chromium.org>
          Gerrit-CC: Alexis Menard <alexis...@intel.com>
          Gerrit-Attention: Kamila Hasanbega <hka...@google.com>
          Gerrit-Comment-Date: Thu, 28 Sep 2023 08:38:41 +0000
          Gerrit-HasComments: No
          Gerrit-Has-Labels: Yes

          Chromium LUCI CQ (Gerrit)

          unread,
          Sep 28, 2023, 6:06:02 AM9/28/23
          to Thomas Nguyen, apavlo...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, devtools-re...@chromium.org, Andy Paicu, Rune Lillesveen, Tricium, Kamila Hasanbega, Alexis Menard, chromium...@chromium.org

          Chromium LUCI CQ submitted this change.

          View Change



          9 is the latest approved patch-set.
          No files were changed between the latest approved patch-set and the submitted one.

          Approvals: Andy Paicu: Looks good to me Thomas Nguyen: Commit Rune Lillesveen: Looks good to me
          [PEPC] Implement :granted CSS pseudo class

          The pseudo class is used to change the style of <permission> element
          when the corresponding permissions are granted.

          Bug: 1462930
          Change-Id: I8e698cb181a34ce449861031ceea1b8093bf3f23
          Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4872240
          Reviewed-by: Rune Lillesveen <fut...@chromium.org>
          Reviewed-by: Andy Paicu <andy...@chromium.org>
          Commit-Queue: Thomas Nguyen <tun...@chromium.org>
          Cr-Commit-Position: refs/heads/main@{#1202468}

          ---
          M third_party/blink/renderer/core/css/css_selector.cc
          M third_party/blink/renderer/core/css/css_selector.h
          M third_party/blink/renderer/core/css/rule_feature_set.cc
          M third_party/blink/renderer/core/css/selector_checker.cc
          M third_party/blink/renderer/core/html/html_permission_element.cc
          M third_party/blink/renderer/core/html/html_permission_element.h
          M third_party/blink/renderer/core/html/resources/permission.css
          M third_party/blink/renderer/core/inspector/inspector_trace_events.cc
          8 files changed, 34 insertions(+), 1 deletion(-)


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

          Gerrit-MessageType: merged
          Gerrit-Project: chromium/src
          Gerrit-Branch: main
          Gerrit-Change-Id: I8e698cb181a34ce449861031ceea1b8093bf3f23
          Gerrit-Change-Number: 4872240
          Gerrit-PatchSet: 12
          Gerrit-Owner: Thomas Nguyen <tun...@chromium.org>
          Gerrit-Reviewer: Andy Paicu <andy...@chromium.org>
          Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
          Gerrit-Reviewer: Kamila Hasanbega <hka...@google.com>
          Gerrit-Reviewer: Rune Lillesveen <fut...@chromium.org>
          Gerrit-Reviewer: Thomas Nguyen <tun...@chromium.org>
          Gerrit-CC: Alexis Menard <alexis...@intel.com>
          Reply all
          Reply to author
          Forward
          0 new messages