'''Whats the problem'''
CSS attributes ruby-position and ruby-align are "unrecognised" by the CSS-Sanitizer used for Template styles.
This is in connection with a use-case for ruby at Wikisource: - https://en.wikisource.org/w/index.php?title=Page:Kutenai_Tales.djvu/18 and https://en.wikisource.org/wiki/Template:Kut-eng.
I was updating a template at Wikisource to use ruby elements semantically :
https://en.wikisource.org/w/index.php?title=Template:Kut-eng&oldid=11087421
In connection with the layout here:- https://en.wikisource.org/w/index.php?title=Page:Kutenai_Tales.djvu/18
The intended style sheet would have been:
.__kuteani{ ruby-position: under; -webkit-ruby-position: after; /* This line is needed for Safari per MDN. */ ruby-align:center; }
The editor for the CSS stylesheet stated that the ruby-position and ruby-align properties were 'unrecognized'
'''What is the solution you want'''
Recognition of the appropriate CSS attributes in the CSS sanitizer (And the prefixed version for Safari) , so I can use the TemplateStyle I intended.
Documentation on the CSS attributes concerned:-
ruby-position: https://developer.mozilla.org/en-US/docs/Web/CSS/ruby-position
ruby-align: https://developer.mozilla.org/en-US/docs/Web/CSS/ruby-align
Browser support:
ruby-position: https://caniuse.com/?search=ruby-position (75% in 2021)
ruby-align: https://caniuse.com/?search=ruby-align (4% in 2021)