* [android] support 1px border & border-x-y-radius for android.
Android now supports 1 px border. 
https://github.com/apache/incubator-weex/pull/9
border-x-y-radius works fine on Android, it is not supported by image on iOS.


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/687f3b14
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/687f3b14
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/687f3b14

Branch: refs/heads/master
Commit: 687f3b14223a2fd2c1a15d44eb817f97ec2c8aed
Parents: 9086af4
Author: YorkShen <[email protected]>
Authored: Thu Mar 2 11:12:37 2017 +0800
Committer: YorkShen <[email protected]>
Committed: Thu Mar 2 11:50:19 2017 +0800

----------------------------------------------------------------------
 doc/source/cn/references/common-style.md | 2 +-
 doc/source/references/common-style.md    | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/687f3b14/doc/source/cn/references/common-style.md
----------------------------------------------------------------------
diff --git a/doc/source/cn/references/common-style.md 
b/doc/source/cn/references/common-style.md
index 7abe9d3..96f6d9d 100644
--- a/doc/source/cn/references/common-style.md
+++ b/doc/source/cn/references/common-style.md
@@ -90,7 +90,7 @@ Weex 对于长度值目前只支持*像素
*值,不支持相对单位(`em`、
     - `border-top-right-radius {length}`:,非负值, 默认值 0
 
 
-注意:目前在 `<image>` 和 `<text>` 组件上尚无
法只定义一个或几个角的 `border-radius`。比如你无
法在这两个组件上使用 `border-top-left-radius`。
+注意:目前在 `<image>` 组件上尚无法只定义一个或几个角的 
`border-radius`。比如你无法在这两个组件上使用 
`border-top-left-radius`。该约束只对iOS生效,Android并不受此限制。
 
 Weex 盒模型的 `box-sizing` 默认为 `border-box`,即盒子的宽高包
含内容、内边距和边框的宽度,不包含外边距的宽度。
 

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/687f3b14/doc/source/references/common-style.md
----------------------------------------------------------------------
diff --git a/doc/source/references/common-style.md 
b/doc/source/references/common-style.md
index 6cae589..14da29b 100644
--- a/doc/source/references/common-style.md
+++ b/doc/source/references/common-style.md
@@ -36,7 +36,6 @@ you can use the definition below in weex box model.
     - `border-right-style`: values `solid` | `dashed` | `dotted`, default 
value `solid`
     - `border-bottom-style`: values `solid` | `dashed` | `dotted`, default 
value `solid`
   - `border-width`: `length` type, non-negative, default value `0`
-    **DO NOT** use `border-width:1`. There is a default viewport `<viewport 
width="750">`, if the actual width of a device is 720px, then `border-width:1` 
will be `border-width:0.96`. As weex **do not** support sub-pixel, this border 
would not be rendered.
     - `border-left-width`: `length` type, non-negative, default value `0`
     - `border-top-width`: `length` type, non-negative, default value `0`
     - `border-right-width`: `length` type, non-negative, default value `0`
@@ -54,7 +53,7 @@ you can use the definition below in weex box model.
     - `border-top-left-radius`: `length` type, non-negative, default value `0`
     - `border-top-right-radius`: `length` type, non-negative, default value `0`
 
-Notes: The rule of border-radius for a specific corner such as 
`border-top-left-radius` is not currently supported for component `<image>` and 
`<text>`.
+Notes: The rule of border-radius for a specific corner such as 
`border-top-left-radius` is not currently supported for component `<image>`in 
iOS. This only happens to iOS, it works fine on Android.
 
 Weex box model uses `border-box` as the default value of `box-sizing`, meaning 
the width and height properties includes content, padding and border, but not 
the margin.
 

Reply via email to