Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Change record: *-rtl.css files are eliminated in Drupal 8. Use [dir="rtl"] in stylesheets to target right-to-left language styling instead
We need to update our widget .css files to account for this.
Comment | File | Size | Author |
---|---|---|---|
#11 | fivestar-rtl-3151592-11.patch | 1.72 KB | kiseleva.t |
| |||
#6 | 3151592-6-rtl-comments.patch | 5.49 KB | TR |
| |||
#3 | 3151592-3-dir-rtl.patch | 12.15 KB | TR |
|
Issue fork fivestar-3151592
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
TR CreditAttribution: TR commentedComment #3
TR CreditAttribution: TR commentedI'm going to do this is stages so that it's easier to review and ensure that I'm not breaking things.
First step is to add [dir="rtl"] to all the rulesets in the *-rtl.css files. This will have no functional effect, since the *-rtl.css files are not used in D8, but it will prepare these rulesets for merging with the main .css files in a way that's easy to review. Taking this step also made me look at each line in these css files and helped me catch a number of errors in the *.rtl.css files, which I will fix in the next step.
Comment #4
TR CreditAttribution: TR commentedComment #6
TR CreditAttribution: TR commentedCorrect wrong RTL comments, and fix two rulesets like this:
Comment #8
TR CreditAttribution: TR commentedComment #11
kiseleva.t CreditAttribution: kiseleva.t as a volunteer and at FFW commentedComment #12
TR CreditAttribution: TR commentedThe patch in #11 is wrong. -rtl.css should never be included in libraries, even before the change mentioned in the issue summary. All the LTR and RTL rules need to be combined into one .css file, and that hasn't been done yet because there are still large differences between the LTR and RTL styles that haven't been tested by anyone. See #3 for a description of what I was trying to do.
Comment #13
TR CreditAttribution: TR commented