1. A method for Cascading Style Sheet (CSS) selector matching, which method comprises: generating machine code based on text which includes at least one CSS selector; and executing the machine code to perform the CSS selector matching.