Includes CSS selector support to improve test speed in ie.
包括CSS选择器支持,以改善在IE中的测试速度。
You've seen 10 functions that take a CSS selector as an argument.
您已经看到,有10个函数使用CSS选择器作为参数。
The $() function returns a jQuery object containing all the elements that match the CSS selector.
$()函数返回一个含有所有与CSS 选择器匹配的元素的jQuery对象。
You first get a reference to the unordered list from Listing 3 by passing a CSS selector to jQuery.
您首先可以通过向jQuery传递一个CSS选择器从清单3中获取这个无序列表的一个引用。
The CSS selector or an array of selectors to try. The first selector that is found is returned.
CSS选择器或是一组选择器去尝试。被发现的第一个选择器被返回。
This function accepts a string containing a CSS selector which is then used to match a set of elements.
这个函数接收一个CSS选择器的字符串,然后用这个字符串去匹配一组元素。
This function accepts a string containing a CSS selector which is then used to match a set of elements.
这个函数接收一个用来匹配一组元素的含有CSS选择器的字符串。
This function accepts a string containing a CSS selector which is then used to match a set of elements.
这个函数接收一个包含CSS选择器的字符串,然后用这个字符串去匹配一组元素。
It is here, in the final run, that you may make changes to the specific CSS selector tags, not your HTML page.
在这里,这个最后一步,你可能更改特别的CSS选择器标签,而不是HTML标签。
It also calls its implementation query and, as before, you give it a CSS selector and it gives you a collection (see Listing 4).
它也调用它的查询实现,同上面一样,您给它一个CSS选择器,它就返回一个元素集(如清单4所示)。
At this point, you know how to create a new QueryPath object pointing to a document, and you've also seen a simple CSS selector.
至此,您知道了如何创建新的指向文档的QueryPath对象,并且看到了一个简单的css选择器。
Essentially, you create a "query" on a particular CSS selector, and you get back a collection of elements that match that criterion.
本质上就是,您在一个特定的CSS选择器上创建一个“查询”,就能够得到一个匹配该条件的元素集。
Of course, normal CSS selector rules apply, and you can exploit them to apply different styles to the same widget type depending on its context.
当然,普通的CSS选择器规则也可以应用,所以可以根据小部件的上下文,用选择器规则在同一小部件上应用不同的样式。
We use id attributes mainly for layout and class attributes, for repeated elements, or elements we know will be hard to identify using a CSS selector.
对于布局,我们主要使用ID属性;对于重复的元素或者使用CSS选择器难以识别出的元素,使用class属性。
This function typically accepts a CSS selector as its sole parameter, and serves as a factory, returning a new jQuery object pointing to the corresponding elements on the page.
这个函数典型的接受一个css选择器作为他的基础的元素,然后作为一个工厂放回一个指向网页上相应元素的的新的jquery对象。
This selector could be any other element in the form that you want to define a CSS for.
此选择器可以是表单中您希望为其定义CSS的任何其他元素。
The text is styled using CSS with the selector header > h1.
这个文本的样式使用带有选择器header >h1 的CSS 设置。
The second selector,.init,.edit or.view, specifies the mode of operation for which this CSS definition is valid.
第二个选择器.init、。edit或. view指定此CSS定义在其中有效的操作模式。
A CSS rule consists of a selector and a declaration block.
CSS规则由一个选择符和一个声明块组成。
For example, at the top of the CSS file, the body HTML selector redefines the font and background color of the entire browser application page.
例如,在CSS文件的顶部,bodyHTML选择符重新定义整个浏览器应用程序页面的字体和背景颜色。
For example, at the top of the CSS file, the body HTML selector redefines the font and background color of the entire browser application page.
例如,在CSS文件的顶部,bodyHTML选择符重新定义整个浏览器应用程序页面的字体和背景颜色。
应用推荐