-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Prevent flipping the border style when creating RTL stylesheets #44170
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
|
Size Change: -1 B (0%) Total Size: 2.58 MB
ℹ️ View Unchanged
|
|
@andrewserong @ramonjd @aaronrobertshaw Can you help get this PR to the finish line, this is still a valid bug fix. |
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
f817e1d to
b067f56
Compare
|
Oh yeah, and the borders aren't "flipped" between RTL and LTR as far as I can see too 👍🏻 |
|
I'll merge this tomorrow if there are no objections |
|
Flaky tests detected in b067f56. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/20013730761
|
|
Thanks for following up @ramonjd I appreciate it. |


Fixes #44169 by not flipping the border style when creating the RTL stylesheets. On trunk, adding a border to a block on an RTL site will apply the border style to the wrong side, causing a black border on the wrong side, and no border on the correct side. #44169 has some screenshots.
The issue seems to be that the
rtlcssprocess flips the properties, so thatbecomes
The right border no longer has a default style, so it doesn't show up, and the left border now has a style so it also inherits a default width and color.
Testing Instructions