DescriptionUse the CSS writing-mode rather than the one from VTTCue
The DOM element created for a cue box has the writing-mode property
applied. This means that the computed style will trivially map to the
VTTCue value. Also use the logical* (setLogical*) methods from RenderBox
to cut down a bit on the manual handling of the writing mode boilerplate.
This makes RenderVTTCue (SnapToLinesLayouter) look more in line with other
layout code wrt writing-mode.
This eliminates the m_cueWritingDirection state from SnapToLinesLayouter.
BUG=301580
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=189193
Patch Set 1 #
Messages
Total messages: 6 (2 generated)
|