Skip to content

Commit

Permalink
Fix CSS ruby-align application (#195)
Browse files Browse the repository at this point in the history
  • Loading branch information
palemieux committed Nov 21, 2020
1 parent 34d2dce commit 050c167
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/js/html.js
Original file line number Diff line number Diff line change
Expand Up @@ -1452,7 +1452,7 @@
new HTMLStylingMapDefintion(
"http://www.w3.org/ns/ttml#styling rubyAlign",
function (context, dom_element, isd_element, attr) {
dom_element.style.rubyAlign = attr;
dom_element.style.rubyAlign = attr === "spaceAround" ? "space-around" : "center";
}
),
new HTMLStylingMapDefintion(
Expand Down

0 comments on commit 050c167

Please sign in to comment.