You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@weex.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/11/17 11:48:00 UTC
[jira] [Commented] (WEEX-133) support word-wrap on text component
[ https://issues.apache.org/jira/browse/WEEX-133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16256874#comment-16256874 ]
ASF GitHub Bot commented on WEEX-133:
-------------------------------------
GitHub user acton393 opened a pull request:
https://github.com/apache/incubator-weex/pull/887
[WEEX-133][iOS] support word-wrap on iOS when drawing text
support word-wrap on text component, according to w3c rules, word-wrap
maybe normal or word-break value, and normal will just clip character, and
word break will break a new line.
w3c document: https://developer.mozilla.org/en-US/docs/Web/CSS/overflow-wrap
try case: http://dotwe.org/vue/5460408a9159fd13168f64bf0b046c4b
Bug:133
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/acton393/incubator-weex ios-feature-text-break-mode
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-weex/pull/887.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #887
----
commit 5c13932411ab3453f14308477f401ed9dabd7e2e
Author: acton393 <zh...@gmail.com>
Date: 2017-11-17T11:46:58Z
[WEEX-133][iOS] support word-wrap on iOS when drawing text
support word-wrap on text component, according to w3c rules, word-wrap
maybe normal or word-break value, and normal will just clip character, and
word break will break a new line.
w3c document: https://developer.mozilla.org/en-US/docs/Web/CSS/overflow-wrap
try case: http://dotwe.org/vue/5460408a9159fd13168f64bf0b046c4b
Bug:133
----
> support word-wrap on text component
> -----------------------------------
>
> Key: WEEX-133
> URL: https://issues.apache.org/jira/browse/WEEX-133
> Project: Weex
> Issue Type: New Feature
> Components: Android, iOS, Web Renderer
> Reporter: xingZhang
> Assignee: xingZhang
>
> support word-wrap on text component, according to w3c rules, word-wrap maybe normal or word-break value, and normal will just clip character, and word break will break a new line
> https://developer.mozilla.org/en-US/docs/Web/CSS/overflow-wrap
> try case: http://dotwe.org/vue/5460408a9159fd13168f64bf0b046c4b
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)