摘要:
An auto-completion list for a cascading style sheet (CSS) selector is generated based on user input and contextual information associated with a target document. The user input that triggers the generation of the auto-completion list is entered while creating a CSS selector. A CSS block in the target document is parsed to determine the contextual information associated with the target document corresponding to the user input. The contextual information and the user input are analyzed to determine appropriate elements to add to the CSS selector to complete CSS selector syntax. The appropriate elements are provided in the auto-completion list. The auto-completion list is displayed proximate the location where the user entered the input that triggered generation of the auto-completion list. The user may then select one of the elements displayed in the auto-completion list to add the selected element to the CSS selector syntax.
摘要:
Technologies and concepts are presented herein for limited-scope rendering of a document, such as a Web page, which contains code that when rendered or executed generates one or more graphical page elements. A user interface is provided through which a scope within the code or page elements may be specified. A request may also be received to zoom into the selected scope. In response to such a request, only the code and/or page elements within the specified scope are rendered, displayed, and made available for editing. Code and page elements outside the specified scope are not rendered or displayed. In response to a request to zoom out from the selected scope, all of the code and page elements are rendered and displayed.