Home | History | Annotate | Download | only in dom

Lines Matching defs:selected

103         lastOnChangeSelection.append(optionElement && optionElement->selected());
142 cachedStateForActiveSelection.append(optionElement && optionElement->selected());
194 bool selected = optionElement && optionElement->selected();
195 if (selected != lastOnChangeSelection[i])
197 lastOnChangeSelection[i] = selected;
208 int selected = selectedIndex(data, element);
209 if (data.lastOnChangeIndex() != selected && data.userDrivenChange()) {
210 data.setLastOnChangeIndex(selected);
274 if (!foundSelected && (data.usesMenuList() || (!data.multiple() && optionElement->selected()))) {
277 } else if (foundSelected && !data.multiple() && optionElement->selected()) {
301 // return the number of the first option selected
305 if (optionElement->selected())
334 // For the menu list case, this is what makes the selected element appear.
423 bool selected = optionElement && optionElement->selected();
424 characters[i] = selected ? 'X' : '.';
467 if (optionElement && optionElement->selected()) {
635 // listIndex should already be selected, but this will fire the onchange handler.
693 if (option->selected() && multiSelectKeyPressed)
705 // If the anchor hasn't been set, and we're doing a single selection or a shift selection, then initialize the anchor to the first selected index.
809 // return the number of the last option selected
815 if (optionElement->selected()) {
872 int selected = selectedIndex(data, element);
873 int index = (optionToListIndex(data, element, selected >= 0 ? selected : 0) + searchStartOffset) % itemCount;
913 // if this index is already selected, unselect. otherwise update the selected index
917 if (optionElement->selected())