<!DOCTYPE html>
<!-- use monospace to eliminate kerning issues -->
<html style="font-family: monospace;">
<div style="width: 100em;">
A<wbr>B
</div>
<div style="width: 0">
</html>