- From: Domenic Denicola <notifications@github.com>
- Date: Wed, 03 May 2017 20:11:13 -0700
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <heycam/webidl/pull/358/review/36181346@github.com>
domenic commented on this pull request.
> +represents a bidirectional algorithm paragraph when displayed,
+as defined by the bidirectional algorithm’s rules P1, P2, and P3,
+including, for instance, supporting the paragraph-breaking behavior
+of <span class="char">U+000A LINE FEED (LF)</span> characters. [[!BIDI]]
+
+A user agent is expected to honor the Unicode semantics of [=localizable members=].
+
+The [=identifier=] of a [=localizable member=] is left to the defining specification (e.g., "title").
+
+Dictionaries that specify a [=localizable member=] must inherit from the {{Localizable}} dictionary.
+
+Specification authors must specify in prose which [=dictionary members|member(s)=]
+of the inheriting dictionary serve as [=localizable members=].
+
+Specification authors should limit the number of [=localizable members=] to one per dictionary,
+including in [=inherited dictionaries=] (if any).
Maybe we should go a step further and define
```webidl
dictionary LocalizedValue : Localizable {
DOMString value;
}
typedef (DOMString or LocalizedValue) LocalizableString;
```
and then encourage
```webidl
dictionary Thing {
LocalizableString label;
LocalizableString value;
}
```
? That seems better than each consumer having to define its own dictionary.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/pull/358#discussion_r114693754
Received on Thursday, 4 May 2017 03:11:46 UTC