Re: Handling text direction in XForms

While mentioning it alongside html:autocomplete in 'anyAttribute' is an 
option (which I don;t object to), I am more in favour of adding 'dir' to 
Common, since we already have inherited id, class, and xml:lang from XHTML 
Common.


Steven

On Friday 15 December 2023 15:42:47 (+01:00), Alain Couthures wrote:


Hello,
  
HTML defines the dir attribute for text direction with 3 possible values: 
"ltr" (left-to-right), "rtl" (right-to-left), and "auto" (according to 
first encountered character). Please have a look at 
https://www.w3.org/International/questions/qa-html-dir
  
It is, at least, useful for inputs, outputs and labels.
  
As for any HTML attribute, allowing html:dir might be good enough for 
XForms specifications. Mentioning it explicitly, as already for 
html:autocomplete, could be a good idea because of its pertinence.
  
For XForms embedded in XHTML, setting dir="auto" by default for all 
possible XForms elements could also be implementation dependent.
  
--Alain

Received on Friday, 26 January 2024 11:18:57 UTC