<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Bug 1116631 - Justification with ruby span</title> <link rel="stylesheet" href="common.css"> <style> body { line-height: 2; } </style> </head> <body> <div style="width: 200px; height: 100px; text-align-last: justify; overflow: auto;"><ruby> <rb>a</rb><rb>b</rb> </ruby></div> </body> </html>