You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by so...@apache.org on 2017/06/06 12:50:57 UTC
incubator-weex git commit: * [test] test border case with another
image
Repository: incubator-weex
Updated Branches:
refs/heads/0.14-dev 939960a55 -> 84dad7605
* [test] test border case with another image
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/84dad760
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/84dad760
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/84dad760
Branch: refs/heads/0.14-dev
Commit: 84dad7605f3256553d4122d10354f749b77b53a5
Parents: 939960a
Author: sospartan <so...@apache.org>
Authored: Tue Jun 6 20:50:42 2017 +0800
Committer: sospartan <so...@apache.org>
Committed: Tue Jun 6 20:50:42 2017 +0800
----------------------------------------------------------------------
test/pages/css/border.vue | 13 +++++++------
test/screenshot/border-android.png | Bin 196752 -> 156247 bytes
2 files changed, 7 insertions(+), 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/84dad760/test/pages/css/border.vue
----------------------------------------------------------------------
diff --git a/test/pages/css/border.vue b/test/pages/css/border.vue
index 89947eb..4943056 100644
--- a/test/pages/css/border.vue
+++ b/test/pages/css/border.vue
@@ -62,12 +62,12 @@
<text>transparent</text>
</div>
<div class="container">
- <image class="box topleft" src="https://gw.alicdn.com/tps/TB1EP9bPFXXXXbpXVXXXXXXXXXX-150-110.jpg"></image>
- <image class="box topright" src="https://gw.alicdn.com/tps/TB1EP9bPFXXXXbpXVXXXXXXXXXX-150-110.jpg"></image>
- <image class="box bottomleft" src="https://gw.alicdn.com/tps/TB1EP9bPFXXXXbpXVXXXXXXXXXX-150-110.jpg"></image>
- <image class="box bottomright" src="https://gw.alicdn.com/tps/TB1EP9bPFXXXXbpXVXXXXXXXXXX-150-110.jpg"></image>
- <image class="box" src="https://gw.alicdn.com/tps/TB1EP9bPFXXXXbpXVXXXXXXXXXX-150-110.jpg"></image>
- <image class="circle" src="https://gw.alicdn.com/tps/TB1EP9bPFXXXXbpXVXXXXXXXXXX-150-110.jpg"></image>
+ <image class="box topleft" :src="img"></image>
+ <image class="box topright" :src="img"></image>
+ <image class="box bottomleft" :src="img"></image>
+ <image class="box bottomright" :src="img"></image>
+ <image class="box" :src="img"></image>
+ <image class="circle" :src="img"></image>
<text>image</text>
</div>
</scroller>
@@ -362,6 +362,7 @@
module.exports = {
data : function(){
return {
+ img: 'http://gw.alicdn.com/tfs/TB1bg8SQFXXXXcHXXXXXXXXXXXX-85-170.png'
}
},
methods : {
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/84dad760/test/screenshot/border-android.png
----------------------------------------------------------------------
diff --git a/test/screenshot/border-android.png b/test/screenshot/border-android.png
index 637bd99..ae57be5 100644
Binary files a/test/screenshot/border-android.png and b/test/screenshot/border-android.png differ