提交 6f41a821 编写于 作者: D dongwei 提交者: wanggang

add test cases

Signed-off-by: Ndongwei <dongwei@kaihongdigi.com>
上级 0304fab3
......@@ -89,6 +89,16 @@
data-div="">
</div>
<text class="sub-title">
通用属性 -- data
</text>
<div id="dataPropOne"
data="通用属性 -- data">
</div>
<div id="dataPropOneNone"
data="">
</div>
<text class="sub-title">
通用属性 -- click-effect
</text>
......
......@@ -268,6 +268,7 @@
</text>
<div class="access1" accessibilitygroup ="true"
accessibilitytext="这是div"
onaccessibility="onAccessibility"
accessibilitydescription="点击此按键会弹出一个对话框"
accessibilityimportance="no-hide-descendants">
</div>
......
......@@ -96,6 +96,13 @@ export default {
});
},
onAccessibility(event) {
if (event.eventType == 1) {
// Do Something
}
console.log("onAccessibility" + JSON.stringify(event));
},
touchStart(event){
var globalX = event.touches[0].globalX
var globalY = event.touches[0].globalY
......
......@@ -12,7 +12,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
@import '../../../common/style.css';
.container {
flex-direction:row;
width:100%;
......@@ -340,6 +340,7 @@
background-size:10% 20%;
background-repeat: repeat;
background-position: 30% 40%;
mask-image:linear-gradient(pink,#fff000);
}
#styleThirtyTwo{
......@@ -489,7 +490,6 @@
grid-auto-flow:column;
}
.flex-item{
width: 40%;
height: 10px;
......@@ -511,3 +511,113 @@
background-color: #fff000;
}
#addOne{
width: 10%;
height: 20px;
background-image:url('common/images/image.png');
background-size:cover;
align-self:stretch;
position:fixed;
transform: none;
animation-timing-function:cubic-bezier(0.4, 0.0, 0.4, 1.0);
shared-transition-effect:static;
shared-transition-name:ani;
shared-transition-timing-function:friction;
transition-enter:ani;
transition-exit: ani;
transition-duration:10;
transition-timing-function:friction;
clip-path:border-box;
display-index:1;
filter:blur(10px);
backdrop-filter:blur(10px);
window-filter:blur(10%);
}
#addTwo{
width: 100px;
height: 15px;
background-image:url('common/images/image.png');
background-size:auto;
position:relative;
transform: matrix(0.5,0.1,0.2,0.9,20,10);
animation-timing-function:steps(4);
shared-transition-effect:exchange;
clip-path:padding-box;
}
#addThree{
width: 100px;
height: 15px;
background-color:#000000;
transform: matrix3d(1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2);
clip-path:content-box;
}
#addFour{
width: 100px;
height: 15px;
background-color:#000000;
transform: translate3d(1px,2px,1px) scale3d(1,2,1) rotate3d(10,10,10,10deg) skew(1deg,2deg) perspective(10px);
clip-path:circle(1);
}
#addFive{
width: 100px;
height: 15px;
background-color:#000000;
transform: translateY(1px) translateZ(10px)
scale(1,2) scaleZ(0.4)
rotateX(10deg) rotateY(10deg) rotateZ(10deg)
skewX(1deg) skewY(2deg);
clip-path:ellipse(1);
}
#addSix{
width: 100px;
height: 15px;
background-color:#000000;
transform: scaleX(1) scaleY(0.4);
clip-path:ellipse(1)
}
#addSeven{
width: 100px;
height: 15px;
background-color:#000000;
clip-path:path(1);
aspect-ratio:2;
}
#addSeven:disabled{
width: 100px;
height: 15px;
background-color:#ff0000;
}
#addSeven:active{
width: 100px;
height: 15px;
background-color:#ff0000;
}
#addSeven:focus{
width: 100px;
height: 15px;
background-color:#ff0000;
}
@font-face {
font-family: SimSunfont;
src: url('/common/simsun.ttf');
}
@media (device-type: tv) {
.addSeven {
width: 500px;
height: 500px;
background-color: #fa8072;
}
}
......@@ -150,8 +150,6 @@
</div>
</div>
<text class="sub-title">
特有样式 overflow scrollbar-color scrollbar-width overscroll-effect
</text>
......@@ -211,6 +209,27 @@
<div id="specificThirteen">
</div>
<div style="width: 100%;flex-weight: 1;overflow: scroll;flex-direction: column;">
<text class="sub-title">
补充样式
</text>
<div id="addOne">
</div>
<div id="addTwo">
</div>
<div id="addThree">
</div>
<div id="addFour">
</div>
<div id="addFive">
</div>
<div id="addSix">
</div>
<div id="addSeven">
</div>
</div>
<!-- <div id="specificEight" >-->
<!-- <div class="flex-item yellow-item">-->
<!-- </div>-->
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册