[
https://issues.apache.org/jira/browse/WEEX-156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16277902#comment-16277902
]
ASF GitHub Bot commented on WEEX-156:
-------------------------------------
GitHub user MrRaindrop reopened a pull request:
https://github.com/apache/incubator-weex/pull/929
[WEEX-156][web] bugfix: the unit wx doesn't work correctly
> [WEEX-156][web] bugfix: the unit wx doesn't work correctly
Since the wx unit was designed to match the native unit px, so the '1wx'
should be the same long in any devices or any screens. It doesn't adapt
to screens by multiply a ratio which is weex.config.env.scale. Just
keep them in px forms and be their original values.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/MrRaindrop/incubator-weex html5-bugfix-wx
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-weex/pull/929.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 #929
----
commit 76541c0674918736cb23e19bffaa335c78bc66a9
Author: MrRaindrop <[email protected]>
Date: 2017-11-29T07:40:40Z
* [html5] bugfix: the unit wx doesn't work correctly.
Since the wx unit was designed to match the native unit px, so the '1wx'
should be the same long in any devices or any screens. It doesn't adapt
to screens by multiply a ratio which is `weex.config.env.scale`. Just
keep them in px forms and be their original values.
----
> The unit wx in web platform doesn't work correctly.
> ---------------------------------------------------
>
> Key: WEEX-156
> URL: https://issues.apache.org/jira/browse/WEEX-156
> Project: Weex
> Issue Type: Bug
> Components: Web Renderer
> Reporter: Danz He
> Assignee: Danz He
> Priority: Trivial
>
> The unit wx in web platform doesn't work correctly. The scale of 1wx should
> just be the same as 1px but without scaling and adapting to screens.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)