Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLDR-17092 kbd: drop settings fallback=omit #3309

Merged
merged 1 commit into from
Oct 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 2 additions & 24 deletions docs/ldml/tr35-keyboards.md
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ An element used to keep track of layout-specific settings by implementations. Th
**Syntax**

```xml
<settings fallback="omit" />
<settings normalization="disabled" />
```

> <small>
Expand All @@ -602,29 +602,7 @@ An element used to keep track of layout-specific settings by implementations. Th
>
> </small>

_Attribute:_ `fallback="omit"`

> The presence of this attribute means that when a modifier key combination goes unmatched, no output is produced. The default behavior (when this attribute is not present) is to fall back to the base map when the modifier key combination goes unmatched.

If this attribute is present, it must have a value of `omit`.

**Example**

```xml
<keyboard3 locale="bg">
<settings fallback="omit" />
</keyboard3>
```

Indicates that:

1. When a modifier combination goes unmatched, do not output anything when a key is pressed.
2. If a transform is terminated, output the contents of the buffer.
3. During a transform, hide the contents of the buffer as the user is typing.

_Attribute:_ `normalization`
_Attribute:_ `normalization="disabled"`

> Normalization will not typically be the responsibility of the keyboard author, rather this will be managed by the implementation.
> The implementation will apply normalization as appropriate when matching transform rules and `<display>` value matching.
Expand Down
1 change: 0 additions & 1 deletion keyboards/3.0/fr-t-k0-azerty.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
<name value="French Test" />
<name value="French Test AZERTY" />
</names>
<settings fallback="omit" />

<displays>
<!-- Note: displays is only used for keycap presentation -->
Expand Down
1 change: 0 additions & 1 deletion keyboards/3.0/pcm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
<name value="Nigerian Pidgin" />
<name value="Naijíriá Píjin" />
</names>
<settings fallback="omit" />
<keys>
<import base="cldr" path="techpreview/keys-Zyyy-punctuation.xml" />
<import base="cldr" path="techpreview/keys-Zyyy-currency.xml" />
Expand Down
2 changes: 0 additions & 2 deletions keyboards/dtd/ldmlKeyboard3.dtd
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,6 @@ Please view the subcommittee page for the most recent information.
<!ELEMENT settings EMPTY >
<!--@ORDERED-->
<!--@TECHPREVIEW-->
<!ATTLIST settings fallback (omit) #IMPLIED >
<!--@VALUE-->
<!ATTLIST settings normalization (disabled) #IMPLIED >
<!--@VALUE-->

Expand Down
8 changes: 0 additions & 8 deletions keyboards/dtd/ldmlKeyboard3.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -132,13 +132,6 @@ Note: DTD @-annotations are not currently converted to .xsd. For full CLDR file

<xs:element name="settings">
<xs:complexType>
<xs:attribute name="fallback">
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:enumeration value="omit"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="normalization">
<xs:simpleType>
<xs:restriction base="xs:token">
Expand All @@ -151,7 +144,6 @@ Note: DTD @-annotations are not currently converted to .xsd. For full CLDR file




<xs:element name="displays">
<xs:complexType>
<xs:sequence>
Expand Down
Loading