-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Polymer: Replace --paper-tooltip CSS Mixin with a 'tooltip' CSS Part.
CSS Mixins are discouraged (only work with a polyfil anyway), and CSS Shadow Parts are a native and standardized replacement for them. Removing the --paper-tooltip mixin by locally patching third_party/polymer/ to use CSS Shadow Parts instead. Using CSS Parts avoids a complication in PrivacySandbox due to how this UI is built side by side with Settings, which confuses the polymer-css-build tool (invoked as part of optimize_webui()). Removing previous workaround for dealing with this situation. Also moving local modifications to paper-tooltip to their own dedicated patch file, which makes it a bit easier to update local patches to Polymer elements, compared to having everything hosted in a single chromium.patch file. Fixed: 1308262 Change-Id: Ibbc8383c530ea3e09982a868cc786354cab006ce Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3642611 Reviewed-by: John Lee <johntlee@chromium.org> Commit-Queue: Demetrios Papadopoulos <dpapad@chromium.org> Cr-Commit-Position: refs/heads/main@{#1002703}
- Loading branch information
Showing
12 changed files
with
169 additions
and
185 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.