feat: Corner Smoothing CSS rule (#45185)
* feat: Corner Smoothing * Patch Blink to add CSS rule and Painting * Add `system-ui` keyword * Add `cornerSmoothingCSS` web preference * Add tests * Documentation * fixup! Documentation * fix: initialize smoothness value * Use a 1.0 scale factor in tests * Fix tests for CI * Fix tests * fixup! Merge branch 'main' into clavin/corner-smoothing * Add code docs * Document `system-ui` keyword values * Address review comments * fixup! Address review comments * Address review comments * Update patch to address upstream changes The patch went from 694 lines to 505 lines, which is a 27.2% smaller! * fixup! Update patch to address upstream changes
This commit is contained in:
parent
9ec14b91e7
commit
b75e802280
26 changed files with 1313 additions and 1 deletions
|
@ -149,6 +149,7 @@
|
|||
`WebContents` when the preferred size changes. Default is `false`.
|
||||
* `transparent` boolean (optional) - Whether to enable background transparency for the guest page. Default is `true`. **Note:** The guest page's text and background colors are derived from the [color scheme](https://developer.mozilla.org/en-US/docs/Web/CSS/color-scheme) of its root element. When transparency is enabled, the text color will still change accordingly but the background will remain transparent.
|
||||
* `enableDeprecatedPaste` boolean (optional) _Deprecated_ - Whether to enable the `paste` [execCommand](https://developer.mozilla.org/en-US/docs/Web/API/Document/execCommand). Default is `false`.
|
||||
* `enableCornerSmoothingCSS` boolean (optional) _Experimental_ - Whether the [`-electron-corner-smoothing` CSS rule](../corner-smoothing-css.md) is enabled. Default is `true`.
|
||||
|
||||
[chrome-content-scripts]: https://developer.chrome.com/extensions/content_scripts#execution-environment
|
||||
[runtime-enabled-features]: https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/platform/runtime_enabled_features.json5
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue