Closed Bug 713621 Opened 13 years ago Closed 13 years ago

Inline elements with dir="" should have unicode-bidi: embed

Categories

(Core :: CSS Parsing and Computation, defect)

defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: smontagu, Unassigned)

References

Details

(Keywords: rtl)

Attachments

(1 file)

Attached patch PatchSplinter Review
This is revealed by rniwa's tests in bug 706194, specifically test_default_bidi_css.html.
Attachment #584402 - Flags: review?(dbaron)
So for [dir="auto"] we already set unicode-bidi: -moz-isolate. So is this changing behavior only for invalid values of dir, or am I missing something? (And is there a spec that says how we should handle invalid values?)
(In reply to David Baron [:dbaron] from comment #1) > So for [dir="auto"] we already set unicode-bidi: -moz-isolate. So is this > changing behavior only for invalid values of dir, or am I missing something? Yes, that's correct. > (And is there a spec that says how we should handle invalid values?) http://www.whatwg.org/specs/web-apps/current-work/multipage/rendering.html#bidirectional-text has [dir] { unicode-bidi: embed; } It doesn't seem to be defined other than that. (By the way, it also has :dir(ltr) { direction: ltr; } :dir(rtl) { direction: rtl; } rather than our [dir="ltr"] { direction: ltr; } [dir="rtl"] { direction: rtl; } Is that going to cause any change in behaviour? Will it be worth changing it once we have support for :dir?)
That got no response, so shall we WONTFIX this and change the tests? I'll attach an extra patch to bug 706194
Component: Style System (CSS) → String
QA Contact: style-system → string
Well, it needs a response to get the spec changed... I suppose I should poke Hixie.
Component: String → Style System (CSS)
QA Contact: string → style-system
OK, this is invalid (and the review request on attachment 603424 [details] [diff] [review] is renewed ;-) )
Status: NEW → RESOLVED
Closed: 13 years ago
Component: Style System (CSS) → Serializers
QA Contact: style-system → dom-to-text
Resolution: --- → INVALID
Target Milestone: --- → mozilla13
Version: Trunk → Other Branch
Component: Serializers → Style System (CSS)
QA Contact: dom-to-text → style-system
Target Milestone: mozilla13 → ---
Version: Other Branch → Trunk
Attachment #584402 - Flags: review?(dbaron)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: