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/08 10:49:26 UTC

[02/15] incubator-weex git commit: * [test] test border case with another image

* [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/8ed8ac62
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/8ed8ac62
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/8ed8ac62

Branch: refs/heads/0.14-dev
Commit: 8ed8ac62daff6487b3b560cfbb429f9100b07ce8
Parents: c9d16a8
Author: sospartan <so...@apache.org>
Authored: Tue Jun 6 20:50:42 2017 +0800
Committer: sospartan <so...@apache.org>
Committed: Wed Jun 7 16:54:17 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/8ed8ac62/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/8ed8ac62/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