# Fix problem with Safari inserting line breaks before in-line math. #1478 #1530

Merged
merged 1 commit into from Jul 8, 2016

## Conversation

Projects
None yet
3 participants
Member

### dpvc commented Jun 20, 2016

 Fix problem with Safari inserting line breaks before in-line math due to new width-detection scheme. The display:table-cell that was used caused Safari to leave a line break after the table-cell is removed. The solution is to enclose it in an element with display:table. This still allows the detection of the correct with compared to floating material, while still being able to work inside shrink-wrap element. #1478.
 Fix problem with Safari inserting linebreaks for in-line math due to … 
…new width-detection scheme (linebreakSpan). #1478.
 94f2f20 

Member

 lgtm.