File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
unpacked/jax/output/HTML-CSS Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 892
892
return HD ;
893
893
} ,
894
894
getW : function ( span ) {
895
- if ( span . bbox && this . config . noReflows && span . bbox . exactW !== false ) { return span . bbox . w }
896
895
var W , H , w = ( span . bbox || { } ) . w , start = span ;
896
+ if ( span . bbox && this . config . noReflows && span . bbox . exactW !== false ) {
897
+ if ( ! span . bbox . exactW ) {
898
+ if ( span . style . paddingLeft ) w += this . unEm ( span . style . paddingLeft ) * ( span . scale || 1 ) ;
899
+ if ( span . style . paddingRight ) w += this . unEm ( span . style . paddingRight ) * ( span . scale || 1 ) ;
900
+ }
901
+ return w ;
902
+ }
897
903
if ( span . bbox && span . bbox . exactW ) { return w }
898
904
if ( ( span . bbox && w >= 0 && ! this . initialSkipBug && ! this . msieItalicWidthBug ) ||
899
905
this . negativeBBoxes || ! span . firstChild ) {
You can’t perform that action at this time.
0 commit comments