Research and Improvement of CSS Engine in Embedded Browser

LIU Jian,SANG Nan,GUO Wen-sheng
DOI: https://doi.org/10.3969/j.issn.1000-3428.2011.09.015
2011-01-01
Abstract: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.
What problem does this paper attempt to address?