[ 
https://issues.apache.org/jira/browse/WEEX-558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16577612#comment-16577612
 ] 

ASF GitHub Bot commented on WEEX-558:
-------------------------------------

weex-bot edited a comment on issue #1419: [WEEX-558][Android] Font file url 
compatible with ' and "
URL: https://github.com/apache/incubator-weex/pull/1419#issuecomment-412348505
 
 
   
   <!--
     0 failure: 
     0 warning: 
     2 messages
     
   -->
   
   
   
   <table>
     <thead>
       <tr>
         <th width="50"></th>
         <th width="100%" data-danger-table="true">Messages</th>
       </tr>
     </thead>
     <tbody><tr>
         <td>:book:</td>
         <td>has no jsfm file changed.</td>
       </tr>
     
   <tr>
         <td>:book:</td>
         <td>jsfm test finished.</td>
       </tr>
     </tbody>
   </table>
   
   
   <p align="right">
     Generated by :no_entry_sign: <a 
href="http://github.com/danger/danger-js/";>dangerJS</a>
   </p>
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> 使用自定义字体时android端存在语法兼容性问题
> -------------------------
>
>                 Key: WEEX-558
>                 URL: https://issues.apache.org/jira/browse/WEEX-558
>             Project: Weex
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 0.18, 0.19
>            Reporter: billy
>            Assignee: YorkShen
>            Priority: Major
>         Attachments: fontFamily未生效.jpeg
>
>
> 按照[官方文档|http://weex.apache.org/cn/references/modules/dom.html#addrule-type-contentobject-v0-12-0],使用自定义fontFace可通过domModule.addRule来实现,示例如下:
> {code:java}
> domModule.addRule('fontFace', {
>     'fontFamily': "iconfont2",
>     'src': "url('http://at.alicdn.com/t/font_1469606063_76593.ttf')"
> })
> {code}
> 文档中给出的示例中,src对应的字体文件路径字符串的定义是由{color:#FF0000}外部双引号{color}和{color:#FF0000}内部单引号{color}构成
> 但这种写法会被提示字符串要使用单引号,但{color:#FF0000}改成外部单引号内部双引号后,在android端字体未生效{color}
> 复现页面: [http://dotwe.org/vue/eb11eb2ce81d936c8978439df027c66b]
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to