<!DOCTYPE html>
  <!-- use sans to eliminate antialias issues on serif tips -->

<html style="font-family: sans-serif;">
  <div style="width: 100em;">
    A<wbr>B
  </div>
  <div style="width: 0">
    A<wbr>B
  </div>
</html>