Upon Command+A, WebKit does not render selection in content editable node correctly when wrapped with a ruby element. Reproduction step: 1. Go to http://www.mozilla.org/editor/midasdemo/, and input "<ruby>漢<rt>kan</rt>字<rt>ji</rt></ruby>" in HTML mode 2. Go back to editing mode, and Command+A Expected result: "漢kan 字ji" are selected and highlighted. Actual result: Only "漢ji" is highlighted, however "漢kan 字ji" is selected (if I do Command+C, get the entire text).
Note that the highlight includes "kan" if there is text before the <ruby>, and it includes "字" if there is text after the </ruby>.