Embedded browser CSS (Cascading Style Sheets) based engine parallelization method
An embedded browser and engine technology, applied in the field of CSS engine processing of cascading style sheets, can solve problems such as matching efficiency affecting page loading, no selector classification and DOM node grouping matching, and page parsing effects, so as to achieve a good user experience. effects, effects that reduce processing delays, and speed up responsiveness
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment
[0043] The present invention provides a parallelized processing method based on the CSS engine of an embedded browser. The specific implementation example is as follows:
[0044] 1. When the browser parses the page, it first enters the main thread of page parsing;
[0045] 2. When the CSS style sheet or image resource is encountered during the execution of the main thread, the newly opened thread starts to load the resource;
[0046] 3. The main thread continues to execute, when it encounters a CSS style, it starts to call the CSS style parser for style analysis, and at the same time assigns a unique ID number to the style;
[0047] 4. After the style analysis is completed, the processing result will be delivered to the main thread, and the main thread will be arranged according to the ID number;
[0048] 5. After the page parsing in the main thread encounters HTML, the page parsing ends and the CSS selector is called to match the selector;
[0049] 6. The selector matching thread will s...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap