File tree Expand file tree Collapse file tree 2 files changed +4
-11
lines changed
Expand file tree Collapse file tree 2 files changed +4
-11
lines changed Original file line number Diff line number Diff line change 383383 }
384384
385385 if ( imscStyles . byName . textCombine . qname in isd_element . styleAttrs &&
386- isd_element . styleAttrs [ imscStyles . byName . textCombine . qname ] [ 0 ] === "all" ) {
386+ isd_element . styleAttrs [ imscStyles . byName . textCombine . qname ] === "all" ) {
387387
388388 /* ignore tate-chu-yoku since line break cannot happen within */
389389 e . textContent = isd_element . text ;
16001600 "http://www.w3.org/ns/ttml#styling textCombine" ,
16011601 function ( context , dom_element , isd_element , attr ) {
16021602
1603- dom_element . style . textCombineUpright = attr . join ( " " ) ;
1603+ dom_element . style . textCombineUpright = attr ;
16041604
16051605 }
16061606 ) ,
Original file line number Diff line number Diff line change 801801 true ,
802802 true ,
803803 function ( str ) {
804- var s = str . split ( " " ) ;
805-
806- if ( s . length === 1 ) {
807-
808- if ( s [ 0 ] === "none" || s [ 0 ] === "all" ) {
809-
810- return [ s [ 0 ] ] ;
811-
812- }
804+ if ( str === "none" || str === "all" ) {
813805
806+ return str ;
814807 }
815808
816809 return null ;
You can’t perform that action at this time.
0 commit comments