Open
Bug 373733
Opened 17 years ago
Updated 2 years ago
Wrong open-quote & close-quote appear in RTL page
Categories
(Core :: Layout: Text and Fonts, defect)
Core
Layout: Text and Fonts
Tracking
()
NEW
People
(Reporter: ogirtd, Unassigned)
References
Details
(Keywords: helpwanted, regression, rtl)
Attachments
(2 files)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a3pre) Gecko/20070312 Minefield/3.0a3pre Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a3pre) Gecko/20070312 Minefield/3.0a3pre In a RTL page with CSS's :before and :after to add content, the wrong open-quote and close-quote appear. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Added testcase of the bug. Note that Firefox 2 doesn't have this bug.
Comment 2•17 years ago
|
||
This looks like a special case of bug 16206, but there are complications in RTL text. See Bug 345156 comment 21 and following.
Status: UNCONFIRMED → NEW
Depends on: Default-Quotes
Ever confirmed: true
OS: Windows XP → All
Hardware: PC → All
Keywords: regression
Keywords: helpwanted
Releasing Firefox 3 with this not fixed is a regression from Firefox 2. Should this bug block 1.9?
Comment 4•16 years ago
|
||
Mass-assigning the new rtl keyword to RTL-related (see bug 349193).
Keywords: rtl
Component: Layout: BiDi Hebrew & Arabic → Layout: Text
QA Contact: layout.bidi → layout.fonts-and-text
Would calculating the open-quote and close-quote values against the 'direction' property solve this?
Comment 6•13 years ago
|
||
For Hebrew there are several possibilities: 1. The very best: („) for opening and (”) for closing. For nested quotes: (‚) for opening and (’) for closing. 2. Fine: (”) for opening and closing, (’) for nested opening and closing. 3. OK, and de-facto most common online: (") for opening and closing, (') for nested opening and closing. Number 1 is the best practice recommended by The Academy of the Hebrew Language. Numbers 2 and 3 are acceptable, too.
Comment 7•13 years ago
|
||
(In reply to comment #5) > Would calculating the open-quote and close-quote values against the > 'direction' property solve this? I think this will solve this. Attached is an HTML example that show how it behave and how we can solve this. I'm not sure if this is exactly the way we should implement it, but this is my try. I've used arrows instead of real quotes in order to make it more visual to us, but it should work the same with {open,close}-quotes.
Comment 8•13 years ago
|
||
Comment on attachment 530827 [details] proposed solution I've forgot to mention that my solution is not complete unless we can do something to workaround cases when the direction is mentioned on the stylesheet and not on HTML… (bug 562169, probably)
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•