Description[LayoutNG] Implement more text-align values and BiDi base direction
This patch implements more 'text-align' values: 'left', 'center',
'start', and 'end' (and its -webkit- versions.)
'text-align: justify' is to be worked out.
Also supports the base direction, a.k.a. paragraph direction, as defined
in UAX#9[1] for 'start' and 'end' to work. This support includes the
heuristic resolution by 'unicode-bidi: plaintext'[2].
The heuristics for forced line breaks is not implemented yet. The
failure of block-plaintext-004.html is caused by this.
[1] http://unicode.org/reports/tr9/
[2] https://drafts.csswg.org/css-writing-modes-3/#valdef-unicode-bidi-plaintext
BUG=636993
Review-Url: https://codereview.chromium.org/2940153002
Cr-Commit-Position: refs/heads/master@{#481080}
Committed: https://chromium.googlesource.com/chromium/src/+/3cfd4f26430b0625455aa5abf90b2ed4ec129070
Patch Set 1 #Patch Set 2 : support plain-text #Patch Set 3 : Cleanup, minor fix, and TestExpectations #Patch Set 4 : Rebase #
Total comments: 2
Patch Set 5 : eae review #
Total comments: 3
Patch Set 6 : eae review #Messages
Total messages: 41 (33 generated)
|