You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
would lead to "Ctrl+C" in English and "Strg+C" in German.
But
<keycap function="control">foo</keycap>
is incoherent. The suggestion is that it should be an error for a keycap with a function attribute to be non-empty.
I'm inclined to agree. Out of curiosity, I went back and looked at what the 1.0, 2.0, and xslTNG stylesheets do with this case. AFAICT:
The 1.0 stylesheets favor the content, ignoring the function attribute if the content is non-empty. Curiously, the 1.0 stylesheets don't seem to support the function value "other" and otherfunction at all.
The 2.0 stylesheets also favor the content and treat the otherfunction value as the content if it's present. For function values they use gentext to create the content.
The xslTNG stylesheets also favor the content, and treat both the function and otherfunction values as keys for a gentext lookup.
At least they're all broadly the same, but it seems very reasonable to call <keycap function='control'>C</keycap an error. I suppose it's possible that someone, somewhere has a processing system that treats that markup as "Control-C", but I don't think that would be justifiable from the processing expectations:
The keycap identifies the text printed on a physical key on a computer keyboard.
Unless someone has a keyboard with a "Ctrl-C" key, I suppose. (Insert lame Emacs joke here.)
The text was updated successfully, but these errors were encountered:
In private email, the observation is made that
would lead to "Ctrl+C" in English and "Strg+C" in German.
But
is incoherent. The suggestion is that it should be an error for a
keycap
with afunction
attribute to be non-empty.I'm inclined to agree. Out of curiosity, I went back and looked at what the 1.0, 2.0, and xslTNG stylesheets do with this case. AFAICT:
function
attribute if the content is non-empty. Curiously, the 1.0 stylesheets don't seem to support the function value "other" andotherfunction
at all.otherfunction
value as the content if it's present. Forfunction
values they use gentext to create the content.function
andotherfunction
values as keys for a gentext lookup.At least they're all broadly the same, but it seems very reasonable to call
<keycap function='control'>C</keycap
an error. I suppose it's possible that someone, somewhere has a processing system that treats that markup as "Control-C", but I don't think that would be justifiable from the processing expectations:Unless someone has a keyboard with a "Ctrl-C" key, I suppose. (Insert lame Emacs joke here.)
The text was updated successfully, but these errors were encountered: