Edgewall Software
Modify

#11122 closed defect (fixed)

RTL for wiki-toc broken?

Reported by: dstoecker Owned by: cboos
Priority: normal Milestone: 1.0.2
Component: general Version:
Severity: normal Keywords: css rtl
Cc: ryan.j.ollos@…
Release Notes:

The #!rtl CSS support now applies globally, not only in wiki pages.

API Changes:

Description

When I use PageOutline inside RTL the box appears on right side (newest firefox here). Shouldn't it be left (see #9406).

Left

Left2

Right 1

RTL 1

Right 2

RTL 2

Attachments (0)

Change History (5)

comment:1 Changed 21 months ago by cboos

  • Keywords css added
  • Milestone set to 1.0.2
  • Owner set to cboos
  • Release Notes modified (diff)
  • Status changed from new to assigned

With #9406, you're supposed to write:

{{{
#!rtl
[[PageOutline]]
= Right 1 =

RTL 1

== Right 2 ==

RTL 2

}}}

Right 1

RTL 1

Right 2

RTL 2


Or at the very least:

{{{
#!div dir="rtl" class="rtl"
[[PageOutline]]
= Right 1 =

RTL 1

== Right 2 ==

RTL 2

}}}

Right 1

RTL 1

Right 2

RTL 2

so that the .rtl div.wiki-toc CSS rule can apply.

However that rule is only in wiki.css, and should probably be moved into trac.css so that it could work in tickets as well.

Now the other issues with this specific example (.wiki-toc) is that .wiki-toc is also only in wiki.css. Here it looks "correct" because the TH:WikiExtrasPlugin overrides it (with float: right !important; so this would even override the .rtl .wiki-toc one). The joy of bringing together bits and pieces of CSS ;-)

comment:2 Changed 21 months ago by Ryan J Ollos <ryan.j.ollos@…>

Are we in need of some documentation for the rtl WikiProcessor? Am I overlooking its documentation somewhere, or is this some web common-knowledge that I haven't obtained yet ? :) I wasn't aware that it exists, and don't see a mention of it on the WikiProcessors page.

comment:3 Changed 20 months ago by Ryan J Ollos <ryan.j.ollos@…>

I've also recently discovered the table WikiProcessor (via th:#10832), and it looks like we need documentation on the WikiProcessors page for that one as well.

comment:4 Changed 20 months ago by Ryan J Ollos <ryan.j.ollos@…>

  • Cc ryan.j.ollos@… added

comment:5 Changed 20 months ago by cboos

  • Keywords rtl added
  • Resolution set to fixed
  • Status changed from assigned to closed

Added a note to WikiProcessors and move the CSS from wiki.css to trac.css in r11757.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain cboos.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from cboos to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.