注册 登录
电子工程世界-论坛 返回首页 EEWORLD首页 频道 EE大学堂 下载中心 Datasheet 专题
jasmien的个人空间 https://home.eeworld.com.cn/space-uid-717194.html [收藏] [复制] [分享] [RSS]
日志

如何解决“百度视频画面‘精选’框与菜单选项框重叠”

已有 197 次阅读2017-11-29 17:41 | mtk

问题:进入 百度页面点 视频/ 直访问,进入到百度的视频画面,此时看到“精选”框与菜单选项重叠
-this issue was caused by the incorrect coding of baidu javascript coding.
In their javascript, they will check which css3 "transform" type exists.
However, if the default "transform" keyword is supported, their checking rule will
mistake it as "transform" is not supported.
The other browser won't encounter the same coding defect because they don't support
default "transform" keyword; they merely support webkitTransform instead.
mtk's native browser supports both transform and webkitTransform keywords but make
baidu's coding defect apparent.
可通过下面的方法解决
1. Modify
\alps\external\webkit\Source\WebCore\css\CSSPropertyAliasNames.in and remove the
following lines
(Line11-16)
transform -webkit-transform
transform-origin -webkit-transform-origin
transform-origin-x -webkit-transform-origin-x
transform-origin-y -webkit-transform-origin-y
transform-origin-z -webkit-transform-origin-z
transform-style -webkit-transform-style
2. If you would like to try the effect by rebuild webkit only, please take the
following instruction. If you are going to rebuild the image, please skip this step
rm -rf rm -rf
out/target/product/xxx/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/css
3. rebuild webkit by mm or rebuild the whole image
评论 (0 个评论)

facelist doodle 涂鸦板

您需要登录后才可以评论 登录 | 注册

热门文章