imscJS icon indicating copy to clipboard operation
imscJS copied to clipboard

xml:space preserve breaks rubyAlign

Open cconcolato opened this issue 5 years ago • 2 comments

The attached file rubyAlign004_bug.ttml.zip modified from the IMSC tst suite shows that when xml:space="preserve" is used, it breaks the effect of rubyAlign in a weird way. The 2 lines should be identical.

Issue with xml space preserve and rubyAlign

cconcolato avatar Jun 05 '20 01:06 cconcolato

@cconcolato It looks like there is a weird interaction between preserving spaces and ruby-align: space-around in CSS:

https://codepen.io/palemieux/pen/OJXeZdY

Separately, it looks like CSS ruby-align is set incorrectly

palemieux avatar Nov 21 '20 19:11 palemieux

The 2 lines render the same in Chrome. Firefox and Safari shows a difference. I don't know which one is right.

cconcolato avatar Jan 04 '21 19:01 cconcolato