首页> 中文期刊> 《计算机工程》 >嵌入式浏览器CSS引擎的研究与改进

嵌入式浏览器CSS引擎的研究与改进

         

摘要

层叠样式表(CSS)引擎的效率提升是嵌入式浏览器的性能瓶颈.为此,提出提升CSS引擎效率样式管理的改进和设计方法.该方法增加对用户操作相关伪类样式规则的分类,以减少对非必要的伪类样式规则匹配,匹配完全失效节点的记忆能够为兄弟节点提供样式规则匹配的指示,并减少样式规则匹配次数.实验结果表明,对于不同网页的样式规则匹配总时间消耗减少3%~15%左右.%The efficiency of Cascading Style Sheet(CSS) engine is the bottleneck of embedded browser, this paper puts forward two methods of style management improvement and design for efficiency promotion of CSS engine.Adding classification of user operation related pseudo-class style rules, it can reduce unnecessary match of pseudo-class style rules; The memory of node for matching absolutely can provide brother nodes with instruction of suiting for the style rule, and reduce the times of style match.Experimental result shows that the total time consumption of style rules match reduces 3% ~15% or so for different Web page.

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号