-
Notifications
You must be signed in to change notification settings - Fork 16.5k
feat: Corner Smoothing CSS rule #45185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
30be714
to
5436ddc
Compare
d32ff93
to
8a44af0
Compare
c35494d
to
17224b1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have some minor feedback. Code quality and documentation is great, really nice work!
patches/chromium/feat_corner_smoothing_css_rule_and_blink_painting.patch
Show resolved
Hide resolved
patches/chromium/feat_corner_smoothing_css_rule_and_blink_painting.patch
Show resolved
Hide resolved
The patch has now drifted, so I'm working on getting it back in sync with main. |
The patch went from 694 lines to 505 lines, which is a 27.2% smaller!
✅ Updated the patch to address upstream changes, allowing me to cut out 27.2% (a quarter!) of the changes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
API LGTM
patches/chromium/feat_corner_smoothing_css_rule_and_blink_painting.patch
Show resolved
Hide resolved
Release Notes Persisted
|
@reitowo yep, I came here to check in because I'm seeing the same. I'll TAL |
Since this is breaking all Some of the conflicts are just normal context shear, so I started to make a PR to fix that. But there are some new upstream changes that conflict with the patch and are directly relevant, e.g. the changes to how CC @clavin |
* feat: Corner Smoothing CSS rule (Reland) Reland of #45185 * Fix patch conflicts * fixup! Fix patch conflicts * Update expected image The dashed border is subtly different. The new version is correct and the old one was incorrect.
Reland of #45185 Co-authored-by: Calvin <[email protected]>
* feat: Corner Smoothing CSS rule (Reland) Reland of #45185 Co-authored-by: Calvin <[email protected]> * Fix patch conflicts Co-authored-by: clavin <[email protected]> * fixup! Fix patch conflicts Co-authored-by: clavin <[email protected]> * Update expected image The dashed border is subtly different. The new version is correct and the old one was incorrect. Co-authored-by: clavin <[email protected]> --------- Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Calvin <[email protected]> Co-authored-by: clavin <[email protected]>
* 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
Revert "feat: Corner Smoothing CSS rule (electron#45185)" This reverts commit b75e802.
* feat: Corner Smoothing CSS rule (Reland) Reland of electron#45185 * Fix patch conflicts * fixup! Fix patch conflicts * Update expected image The dashed border is subtly different. The new version is correct and the old one was incorrect.
Implementation for RFC 12: Corner Smoothing.
In this PR
-electron-corner-smoothing
enableCornerSmoothingCSS
Notes: Added a CSS rule for smooth corners.