diff --git a/ace/ace_standard/src/main/config.json b/ace/ace_standard/src/main/config.json index 7dd506667af75c4c729036e5a33aa30b40b7db75..1f30482864cd073aa3700df24db9b6fcd6755104 100755 --- a/ace/ace_standard/src/main/config.json +++ b/ace/ace_standard/src/main/config.json @@ -156,6 +156,7 @@ "pages/div/style/index", "pages/divider/prop/index", "pages/button/prop/index", + "pages/button/style/index", "pages/chart/prop/index", "pages/image/prop/index", "pages/span/prop/index", diff --git a/ace/ace_standard/src/main/js/default/pages/button/prop/index.css b/ace/ace_standard/src/main/js/default/pages/button/prop/index.css index 43c222fb8a0a6e7c686a7a50c8e49b271fb6d4b1..a99777f68d8bcc81f12246efa06beba2074c7603 100644 --- a/ace/ace_standard/src/main/js/default/pages/button/prop/index.css +++ b/ace/ace_standard/src/main/js/default/pages/button/prop/index.css @@ -512,7 +512,16 @@ padding-start: 10px; padding-end: 10px; } - +.propNewAdd{ + height: 15px; + margin-bottom: 3px; + background-color:#c00000; + width: 100%; + margin-left: 10px; + margin-right: 10px; + padding-start: 10px; + padding-end: 10px; +} diff --git a/ace/ace_standard/src/main/js/default/pages/button/prop/index.hml b/ace/ace_standard/src/main/js/default/pages/button/prop/index.hml index 48343c8de1956769b71813a89260035cecc8bf21..6d77eeeada0fa5b47e95cd7124776ad620cba2fd 100644 --- a/ace/ace_standard/src/main/js/default/pages/button/prop/index.hml +++ b/ace/ace_standard/src/main/js/default/pages/button/prop/index.hml @@ -88,6 +88,16 @@ data-button=""> + + 通用属性 -- data + + + + 通用属性 -- click-effect @@ -234,5 +244,38 @@ + + + 特有属性 -- shareid + + + + + + 特有属性 -- tid + + + + + + 特有属性 -- elif + + + + diff --git a/ace/ace_standard/src/main/js/default/pages/button/prop/index.js b/ace/ace_standard/src/main/js/default/pages/button/prop/index.js index a9f6c506ff0c62f0634a8ffbbc34f053c21b4c98..75b2b26dd9fc8026b80b33a49a1d8f8d78659679 100644 --- a/ace/ace_standard/src/main/js/default/pages/button/prop/index.js +++ b/ace/ace_standard/src/main/js/default/pages/button/prop/index.js @@ -68,6 +68,7 @@ export default { waitingFalse : null, waitingNone : null }, + onShow(){ this.getCommonPropValues(); this.getSpecificPropValues(); diff --git a/ace/ace_standard/src/main/js/default/pages/button/router/index.css b/ace/ace_standard/src/main/js/default/pages/button/router/index.css index 9ddb2a97656b072b75aa2d8d787cb7896a46d0e8..6cfbe7e00c3eb21c1322a5fd7996ca233f614a53 100644 --- a/ace/ace_standard/src/main/js/default/pages/button/router/index.css +++ b/ace/ace_standard/src/main/js/default/pages/button/router/index.css @@ -108,6 +108,7 @@ button{ max-height: 20px; padding-left: 10px; padding-top: 1px; + font-size:10px; padding-right: 15px; padding-bottom: 1px; margin-left: 10px; @@ -152,7 +153,6 @@ button{ border-color:#000000; border-radius:5px; background-color:#ffaa00; - mask-image: url('common/images/icon.png'); mask-size: cover; mask-position: center; } diff --git a/ace/ace_standard/src/main/js/default/pages/button/router/index.hml b/ace/ace_standard/src/main/js/default/pages/button/router/index.hml index 25e2ec4635f26d42e86d7ecef2ecbc8cd1fcadc1..f248c10698c5818b3b1b7d968e0182366665cfb1 100644 --- a/ace/ace_standard/src/main/js/default/pages/button/router/index.hml +++ b/ace/ace_standard/src/main/js/default/pages/button/router/index.hml @@ -277,6 +277,7 @@ button无障碍1 + + + + + + + + + + 通用样式9-20 \n display flex z-index position + +
+ + + + + + + + + + + +
+ + + 通用样式21-23 box-shadow + +
+ + + +
+ + + 通用样式23-25 visibility clip-path + + + + + + 通用样式26-31 background + + + + + + + + + 通用样式32 clip-path image-fill mask-image + + + + + 通用样式33 filter:blur() backdrop-filter:blur() window-filter:blur() + + + +
+
+
+ + button特有样式 + + + + 特有样式 + +
+ + + + + + + + + + + + +
+
+ + diff --git a/ace/ace_standard/src/main/js/default/pages/button/style/index.js b/ace/ace_standard/src/main/js/default/pages/button/style/index.js index 4a45d3eb108b49649154e73122e0614943ed7f7e..8179ff70cbe9fa27c38c5386a6f497949bf60f3a 100644 --- a/ace/ace_standard/src/main/js/default/pages/button/style/index.js +++ b/ace/ace_standard/src/main/js/default/pages/button/style/index.js @@ -11,4 +11,9 @@ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ \ No newline at end of file + */ + +export default { + + +} diff --git a/ace/ace_standard/src/main/js/default/test/circleProps.test.js b/ace/ace_standard/src/main/js/default/test/circleProps.test.js index 83286f2c00408f135c347c323993edba6188fc26..bd6df82d26a8ad68f4fc606b9e1fa96fd76def7b 100644 --- a/ace/ace_standard/src/main/js/default/test/circleProps.test.js +++ b/ace/ace_standard/src/main/js/default/test/circleProps.test.js @@ -400,7 +400,7 @@ expect(obj.$attrs.stroke).assertEqual('red') console.info("[circleProps] get inspector stroke value is: " + JSON.stringify(obj.$attrs.stroke)); expect(obj.$attrs.strokeDasharray).assertEqual('2 3') - console.info("[circleProps] get inspector stroke-dasharray value is: " + JSON.stringify(obj.$attrs.strokeDasharray)); + console.info("[circleProps] get inspector dasharray value is: " + JSON.stringify(obj.$attrs.strokeDasharray)); done(); }); @@ -430,7 +430,7 @@ expect(obj.$attrs.stroke).assertEqual('red') console.info("[circleProps] get inspector stroke value is: " + JSON.stringify(obj.$attrs.stroke)); expect(obj.$attrs.strokeDashoffset).assertEqual('23') - console.info("[circleProps] get inspector stroke-dashoffset value is: " + JSON.stringify(obj.$attrs.strokeDashoffset)); + console.info("[circleProps] get inspector dashoffset value is: " + JSON.stringify(obj.$attrs.strokeDashoffset)); done(); }); @@ -461,7 +461,7 @@ expect(obj.$attrs.stroke).assertEqual('red') console.info("[circleProps] get inspector stroke value is: " + JSON.stringify(obj.$attrs.stroke)); expect(obj.$attrs.strokeLinejoin).assertEqual('bevel') - console.info("[circleProps] get inspector stroke-linejoin value is: " + JSON.stringify(obj.$attrs.strokeLinejoin)); + console.info("[circleProps] get inspector linejoin value is: " + JSON.stringify(obj.$attrs.strokeLinejoin)); done(); }); @@ -491,7 +491,7 @@ expect(obj.$attrs.stroke).assertEqual('red') console.info("[circleProps] get inspector stroke value is: " + JSON.stringify(obj.$attrs.stroke)); expect(obj.$attrs.strokeLinejoin).assertEqual('miter') - console.info("[circleProps] get inspector stroke-linejoin value is: " + JSON.stringify(obj.$attrs.strokeLinejoin)); + console.info("[circleProps] get inspector linejoin value is: " + JSON.stringify(obj.$attrs.strokeLinejoin)); done(); }); @@ -521,7 +521,7 @@ expect(obj.$attrs.stroke).assertEqual('red') console.info("[circleProps] get inspector stroke value is: " + JSON.stringify(obj.$attrs.stroke)); expect(obj.$attrs.strokeLinejoin).assertEqual('round') - console.info("[circleProps] get inspector stroke-linejoin value is: " + JSON.stringify(obj.$attrs.strokeLinejoin)); + console.info("[circleProps] get inspector linejoin value is: " + JSON.stringify(obj.$attrs.strokeLinejoin)); done(); }); @@ -551,7 +551,7 @@ expect(obj.$attrs.stroke).assertEqual('red') console.info("[circleProps] get inspector stroke value is: " + JSON.stringify(obj.$attrs.stroke)); expect(obj.$attrs.strokeLineCap).assertEqual('butt') - console.info("[circleProps] get inspector stroke-lineCap value is: " + JSON.stringify(obj.$attrs.strokeLineCap)); + console.info("[circleProps] get inspector lineCap value is: " + JSON.stringify(obj.$attrs.strokeLineCap)); done(); }); @@ -581,7 +581,7 @@ expect(obj.$attrs.stroke).assertEqual('red') console.info("[circleProps] get inspector stroke value is: " + JSON.stringify(obj.$attrs.stroke)); expect(obj.$attrs.strokeLineCap).assertEqual('round') - console.info("[circleProps] get inspector stroke-lineCap value is: " + JSON.stringify(obj.$attrs.strokeLineCap)); + console.info("[circleProps] get inspector lineCap value is: " + JSON.stringify(obj.$attrs.strokeLineCap)); done(); }); @@ -611,7 +611,7 @@ expect(obj.$attrs.stroke).assertEqual('red') console.info("[circleProps] get inspector stroke value is: " + JSON.stringify(obj.$attrs.stroke)); expect(obj.$attrs.strokeLineCap).assertEqual('square') - console.info("[circleProps] get inspector stroke-lineCap value is: " + JSON.stringify(obj.$attrs.strokeLineCap)); + console.info("[circleProps] get inspector lineCap value is: " + JSON.stringify(obj.$attrs.strokeLineCap)); done(); }); @@ -641,7 +641,7 @@ expect(obj.$attrs.stroke).assertEqual('red') console.info("[circleProps] get inspector stroke value is: " + JSON.stringify(obj.$attrs.stroke)); expect(obj.$attrs.strokeMiterlimit).assertEqual('10') - console.info("[circleProps] get inspector stroke-miterlimit value is: " + JSON.stringify(obj.$attrs.strokeMiterlimit)); + console.info("[circleProps] get inspector miterlimit value is: " + JSON.stringify(obj.$attrs.strokeMiterlimit)); done(); }); @@ -671,7 +671,7 @@ expect(obj.$attrs.stroke).assertEqual('red') console.info("[circleProps] get inspector stroke value is: " + JSON.stringify(obj.$attrs.stroke)); expect(obj.$attrs.strokeOpacity).assertEqual('0.5') - console.info("[circleProps] get inspector stroke-opacity value is: " + JSON.stringify(obj.$attrs.strokeOpacity)); + console.info("[circleProps] get inspector opacity value is: " + JSON.stringify(obj.$attrs.strokeOpacity)); done(); }); @@ -701,7 +701,7 @@ expect(obj.$attrs.stroke).assertEqual('red') console.info("[circleProps] get inspector stroke value is: " + JSON.stringify(obj.$attrs.stroke)); expect(obj.$attrs.strokeOpacity).assertEqual('1') - console.info("[circleProps] get inspector stroke-opacity value is: " + JSON.stringify(obj.$attrs.strokeOpacity)); + console.info("[circleProps] get inspector opacity value is: " + JSON.stringify(obj.$attrs.strokeOpacity)); done(); }); @@ -731,7 +731,7 @@ expect(obj.$attrs.stroke).assertEqual('red') console.info("[circleProps] get inspector stroke value is: " + JSON.stringify(obj.$attrs.stroke)); expect(obj.$attrs.strokeOpacity).assertEqual('1.5') - console.info("[circleProps] get inspector stroke-opacity value is: " + JSON.stringify(obj.$attrs.strokeOpacity)); + console.info("[circleProps] get inspector opacity value is: " + JSON.stringify(obj.$attrs.strokeOpacity)); done(); }); @@ -788,7 +788,7 @@ console.info("[circleProps] get inspector cy value is: " + JSON.stringify(obj.$attrs.cy)); expect(obj.$attrs.r).assertEqual('10') console.info("[circleProps] get inspector r value is: " + JSON.stringify(obj.$attrs.r)); - expect(obj.$attrs.transform).assertEqual('translate(10,5) scale(0.5 1.3) rotate(20 40 90) skewX(10) skewY(-15)') + expect(obj.$attrs.transform).assertEqual('translate(10,5)scale(0.5 1.3)rotate(20 40 90)skewX(10)skewY(-15)') console.info("[circleProps] get inspector transform value is: " + JSON.stringify(obj.$attrs.transform)); done(); }); diff --git a/ace/ace_standard/src/main/js/default/test/rectProps.test.js b/ace/ace_standard/src/main/js/default/test/rectProps.test.js index 5f11f59aa339f7bd35d8166aa758773e56f4216c..22b5270c495a442a3de19a3e2d5b182ac4dc82f1 100644 --- a/ace/ace_standard/src/main/js/default/test/rectProps.test.js +++ b/ace/ace_standard/src/main/js/default/test/rectProps.test.js @@ -67,7 +67,7 @@ } await sleep(4000) done() - }) + }); /** * run after testcase @@ -76,7 +76,7 @@ console.info('[rectPropsJsTest] after each called') await backToIndex() await sleep(1000) - }) + }); /** * @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100 @@ -378,7 +378,7 @@ expect(obj.$attrs.stroke).assertEqual('red') console.info("[rectProps] get inspector stroke value is: " + JSON.stringify(obj.$attrs.stroke)); expect(obj.$attrs.strokeDasharray).assertEqual('2 3') - console.info("[rectProps] get inspector stroke-dasharray value is: " + JSON.stringify(obj.$attrs.strokeDasharray)); + console.info("[rectProps] get inspector dasharray value is: " + JSON.stringify(obj.$attrs.strokeDasharray)); done(); }); @@ -406,7 +406,7 @@ expect(obj.$attrs.stroke).assertEqual('red') console.info("[rectProps] get inspector stroke value is: " + JSON.stringify(obj.$attrs.stroke)); expect(obj.$attrs.strokeDashoffset).assertEqual('23') - console.info("[rectProps] get inspector stroke-dashoffset value is: " + JSON.stringify(obj.$attrs.strokeDashoffset)); + console.info("[rectProps] get inspector dashoffset value is: " + JSON.stringify(obj.$attrs.strokeDashoffset)); done(); }); @@ -435,7 +435,7 @@ expect(obj.$attrs.stroke).assertEqual('red') console.info("[rectProps] get inspector stroke value is: " + JSON.stringify(obj.$attrs.stroke)); expect(obj.$attrs.strokeLinejoin).assertEqual('bevel') - console.info("[rectProps] get inspector stroke-linejoin value is: " + JSON.stringify(obj.$attrs.strokeLinejoin)); + console.info("[rectProps] get inspector linejoin value is: " + JSON.stringify(obj.$attrs.strokeLinejoin)); done(); }); @@ -463,7 +463,7 @@ expect(obj.$attrs.stroke).assertEqual('red') console.info("[rectProps] get inspector stroke value is: " + JSON.stringify(obj.$attrs.stroke)); expect(obj.$attrs.strokeLinejoin).assertEqual('miter') - console.info("[rectProps] get inspector stroke-linejoin value is: " + JSON.stringify(obj.$attrs.strokeLinejoin)); + console.info("[rectProps] get inspector linejoin value is: " + JSON.stringify(obj.$attrs.strokeLinejoin)); done(); }); @@ -491,7 +491,7 @@ expect(obj.$attrs.stroke).assertEqual('red') console.info("[rectProps] get inspector stroke value is: " + JSON.stringify(obj.$attrs.stroke)); expect(obj.$attrs.strokeLinejoin).assertEqual('round') - console.info("[rectProps] get inspector stroke-linejoin value is: " + JSON.stringify(obj.$attrs.strokeLinejoin)); + console.info("[rectProps] get inspector linejoin value is: " + JSON.stringify(obj.$attrs.strokeLinejoin)); done(); }); @@ -519,7 +519,7 @@ expect(obj.$attrs.stroke).assertEqual('red') console.info("[rectProps] get inspector stroke value is: " + JSON.stringify(obj.$attrs.stroke)); expect(obj.$attrs.strokeLineCap).assertEqual('butt') - console.info("[rectProps] get inspector stroke-lineCap value is: " + JSON.stringify(obj.$attrs.strokeLineCap)); + console.info("[rectProps] get inspector lineCap value is: " + JSON.stringify(obj.$attrs.strokeLineCap)); done(); }); @@ -547,7 +547,7 @@ expect(obj.$attrs.stroke).assertEqual('red') console.info("[rectProps] get inspector stroke value is: " + JSON.stringify(obj.$attrs.stroke)); expect(obj.$attrs.strokeLineCap).assertEqual('round') - console.info("[rectProps] get inspector stroke-lineCap value is: " + JSON.stringify(obj.$attrs.strokeLineCap)); + console.info("[rectProps] get inspector lineCap value is: " + JSON.stringify(obj.$attrs.strokeLineCap)); done(); }); @@ -575,7 +575,7 @@ expect(obj.$attrs.stroke).assertEqual('red') console.info("[rectProps] get inspector stroke value is: " + JSON.stringify(obj.$attrs.stroke)); expect(obj.$attrs.strokeLineCap).assertEqual('square') - console.info("[rectProps] get inspector stroke-lineCap value is: " + JSON.stringify(obj.$attrs.strokeLineCap)); + console.info("[rectProps] get inspector lineCap value is: " + JSON.stringify(obj.$attrs.strokeLineCap)); done(); }); @@ -603,7 +603,7 @@ expect(obj.$attrs.stroke).assertEqual('red') console.info("[rectProps] get inspector stroke value is: " + JSON.stringify(obj.$attrs.stroke)); expect(obj.$attrs.strokeMiterlimit).assertEqual('10') - console.info("[rectProps] get inspector stroke-miterlimit value is: " + JSON.stringify(obj.$attrs.strokeMiterlimit)); + console.info("[rectProps] get inspector miterlimit value is: " + JSON.stringify(obj.$attrs.strokeMiterlimit)); done(); }); @@ -631,7 +631,7 @@ expect(obj.$attrs.stroke).assertEqual('red') console.info("[rectProps] get inspector stroke value is: " + JSON.stringify(obj.$attrs.stroke)); expect(obj.$attrs.strokeOpacity).assertEqual('0.5') - console.info("[rectProps] get inspector stroke-opacity value is: " + JSON.stringify(obj.$attrs.strokeOpacity)); + console.info("[rectProps] get inspector opacity value is: " + JSON.stringify(obj.$attrs.strokeOpacity)); done(); }); @@ -659,7 +659,7 @@ expect(obj.$attrs.stroke).assertEqual('red') console.info("[rectProps] get inspector stroke value is: " + JSON.stringify(obj.$attrs.stroke)); expect(obj.$attrs.strokeOpacity).assertEqual('1') - console.info("[rectProps] get inspector stroke-opacity value is: " + JSON.stringify(obj.$attrs.strokeOpacity)); + console.info("[rectProps] get inspector opacity value is: " + JSON.stringify(obj.$attrs.strokeOpacity)); done(); }); @@ -687,7 +687,7 @@ expect(obj.$attrs.stroke).assertEqual('red') console.info("[rectProps] get inspector stroke value is: " + JSON.stringify(obj.$attrs.stroke)); expect(obj.$attrs.strokeOpacity).assertEqual('1.5') - console.info("[rectProps] get inspector stroke-opacity value is: " + JSON.stringify(obj.$attrs.strokeOpacity)); + console.info("[rectProps] get inspector opacity value is: " + JSON.stringify(obj.$attrs.strokeOpacity)); done(); }); @@ -740,7 +740,7 @@ console.info("[rectProps] get inspector width value is: " + JSON.stringify(obj.$attrs.width)); expect(obj.$attrs.height).assertEqual('100px') console.info("[rectProps] get inspector height value is: " + JSON.stringify(obj.$attrs.height)); - expect(obj.$attrs.transform).assertEqual('translate(10,5) scale(0.5 1.3) rotate(20 40 90) skewX(10) skewY(-15)') + expect(obj.$attrs.transform).assertEqual('translate(10,5)scale(0.5 1.3)rotate(20 40 90)skewX(10)skewY(-15)') console.info("[rectProps] get inspector transform value is: " + JSON.stringify(obj.$attrs.transform)); done(); }); diff --git a/ace/ace_standard/src/main/js/default/test/svgProps.test.js b/ace/ace_standard/src/main/js/default/test/svgProps.test.js index 6212acbdabf20f93f9138970ece289cb8ed701fc..8123f0e6c58a3caf799ca80f8938b21817d08fb5 100644 --- a/ace/ace_standard/src/main/js/default/test/svgProps.test.js +++ b/ace/ace_standard/src/main/js/default/test/svgProps.test.js @@ -378,7 +378,7 @@ describe('svgPropsJsTest', function () { expect(obj.$attrs.stroke).assertEqual('red') console.info("[svgProps] get inspector stroke value is: " + JSON.stringify(obj.$attrs.stroke)); expect(obj.$attrs.strokeDasharray).assertEqual('2 3') - console.info("[svgProps] get inspector stroke-dasharray value is: " + JSON.stringify(obj.$attrs.strokeDasharray)); + console.info("[svgProps] get inspector dasharray value is: " + JSON.stringify(obj.$attrs.strokeDasharray)); done(); }); @@ -406,7 +406,7 @@ describe('svgPropsJsTest', function () { expect(obj.$attrs.stroke).assertEqual('red') console.info("[svgProps] get inspector stroke value is: " + JSON.stringify(obj.$attrs.stroke)); expect(obj.$attrs.strokeDashoffset).assertEqual('23') - console.info("[svgProps] get inspector stroke-dashoffset value is: " + JSON.stringify(obj.$attrs.strokeDashoffset)); + console.info("[svgProps] get inspector dashoffset value is: " + JSON.stringify(obj.$attrs.strokeDashoffset)); done(); }); @@ -435,7 +435,7 @@ describe('svgPropsJsTest', function () { expect(obj.$attrs.stroke).assertEqual('red') console.info("[svgProps] get inspector stroke value is: " + JSON.stringify(obj.$attrs.stroke)); expect(obj.$attrs.strokeLinejoin).assertEqual('bevel') - console.info("[svgProps] get inspector stroke-linejoin value is: " + JSON.stringify(obj.$attrs.strokeLinejoin)); + console.info("[svgProps] get inspector linejoin value is: " + JSON.stringify(obj.$attrs.strokeLinejoin)); done(); }); @@ -463,7 +463,7 @@ describe('svgPropsJsTest', function () { expect(obj.$attrs.stroke).assertEqual('red') console.info("[svgProps] get inspector stroke value is: " + JSON.stringify(obj.$attrs.stroke)); expect(obj.$attrs.strokeLinejoin).assertEqual('miter') - console.info("[svgProps] get inspector stroke-linejoin value is: " + JSON.stringify(obj.$attrs.strokeLinejoin)); + console.info("[svgProps] get inspector linejoin value is: " + JSON.stringify(obj.$attrs.strokeLinejoin)); done(); }); @@ -491,7 +491,7 @@ describe('svgPropsJsTest', function () { expect(obj.$attrs.stroke).assertEqual('red') console.info("[svgProps] get inspector stroke value is: " + JSON.stringify(obj.$attrs.stroke)); expect(obj.$attrs.strokeLinejoin).assertEqual('round') - console.info("[svgProps] get inspector stroke-linejoin value is: " + JSON.stringify(obj.$attrs.strokeLinejoin)); + console.info("[svgProps] get inspector linejoin value is: " + JSON.stringify(obj.$attrs.strokeLinejoin)); done(); }); @@ -519,7 +519,7 @@ describe('svgPropsJsTest', function () { expect(obj.$attrs.stroke).assertEqual('red') console.info("[svgProps] get inspector stroke value is: " + JSON.stringify(obj.$attrs.stroke)); expect(obj.$attrs.strokeLineCap).assertEqual('butt') - console.info("[svgProps] get inspector stroke-lineCap value is: " + JSON.stringify(obj.$attrs.strokeLineCap)); + console.info("[svgProps] get inspector lineCap value is: " + JSON.stringify(obj.$attrs.strokeLineCap)); done(); }); @@ -547,7 +547,7 @@ describe('svgPropsJsTest', function () { expect(obj.$attrs.stroke).assertEqual('red') console.info("[svgProps] get inspector stroke value is: " + JSON.stringify(obj.$attrs.stroke)); expect(obj.$attrs.strokeLineCap).assertEqual('round') - console.info("[svgProps] get inspector stroke-lineCap value is: " + JSON.stringify(obj.$attrs.strokeLineCap)); + console.info("[svgProps] get inspector lineCap value is: " + JSON.stringify(obj.$attrs.strokeLineCap)); done(); }); @@ -575,7 +575,7 @@ describe('svgPropsJsTest', function () { expect(obj.$attrs.stroke).assertEqual('red') console.info("[svgProps] get inspector stroke value is: " + JSON.stringify(obj.$attrs.stroke)); expect(obj.$attrs.strokeLineCap).assertEqual('square') - console.info("[svgProps] get inspector stroke-lineCap value is: " + JSON.stringify(obj.$attrs.strokeLineCap)); + console.info("[svgProps] get inspector lineCap value is: " + JSON.stringify(obj.$attrs.strokeLineCap)); done(); }); @@ -603,7 +603,7 @@ describe('svgPropsJsTest', function () { expect(obj.$attrs.stroke).assertEqual('red') console.info("[svgProps] get inspector stroke value is: " + JSON.stringify(obj.$attrs.stroke)); expect(obj.$attrs.strokeMiterlimit).assertEqual('10') - console.info("[svgProps] get inspector stroke-miterlimit value is: " + JSON.stringify(obj.$attrs.strokeMiterlimit)); + console.info("[svgProps] get inspector miterlimit value is: " + JSON.stringify(obj.$attrs.strokeMiterlimit)); done(); }); @@ -631,7 +631,7 @@ describe('svgPropsJsTest', function () { expect(obj.$attrs.stroke).assertEqual('red') console.info("[svgProps] get inspector stroke value is: " + JSON.stringify(obj.$attrs.stroke)); expect(obj.$attrs.strokeOpacity).assertEqual('0.5') - console.info("[svgProps] get inspector stroke-opacity value is: " + JSON.stringify(obj.$attrs.strokeOpacity)); + console.info("[svgProps] get inspector opacity value is: " + JSON.stringify(obj.$attrs.strokeOpacity)); done(); }); @@ -659,7 +659,7 @@ describe('svgPropsJsTest', function () { expect(obj.$attrs.stroke).assertEqual('red') console.info("[svgProps] get inspector stroke value is: " + JSON.stringify(obj.$attrs.stroke)); expect(obj.$attrs.strokeOpacity).assertEqual('1') - console.info("[svgProps] get inspector stroke-opacity value is: " + JSON.stringify(obj.$attrs.strokeOpacity)); + console.info("[svgProps] get inspector opacity value is: " + JSON.stringify(obj.$attrs.strokeOpacity)); done(); }); @@ -687,7 +687,7 @@ describe('svgPropsJsTest', function () { expect(obj.$attrs.stroke).assertEqual('red') console.info("[svgProps] get inspector stroke value is: " + JSON.stringify(obj.$attrs.stroke)); expect(obj.$attrs.strokeOpacity).assertEqual('1.5') - console.info("[svgProps] get inspector stroke-opacity value is: " + JSON.stringify(obj.$attrs.strokeOpacity)); + console.info("[svgProps] get inspector opacity value is: " + JSON.stringify(obj.$attrs.strokeOpacity)); done(); }); @@ -740,7 +740,7 @@ describe('svgPropsJsTest', function () { console.info("[svgProps] get inspector width value is: " + JSON.stringify(obj.$attrs.width)); expect(obj.$attrs.height).assertEqual('20px') console.info("[svgProps] get inspector height value is: " + JSON.stringify(obj.$attrs.height)); - expect(obj.$attrs.transform).assertEqual('translate(10,5) scale(0.5 1.3) rotate(20 40 90) skewX(10) skewY(-15)') + expect(obj.$attrs.transform).assertEqual('translate(10,5)scale(0.5 1.3)rotate(20 40 90)skewX(10)skewY(-15)') console.info("[svgProps] get inspector transform value is: " + JSON.stringify(obj.$attrs.transform)); done(); });