Lines Matching refs:selected
62 bool defaultSelected, bool selected, ExceptionCode& ec)
76 element->setSelected(selected);
163 bool HTMLOptionElement::selected() const
167 return m_data.selected();
170 void HTMLOptionElement::setSelected(bool selected)
172 if (m_data.selected() == selected)
175 OptionElement::setSelectedState(m_data, this, selected);
178 select->setSelectedIndex(selected ? index() : -1, false);
181 void HTMLOptionElement::setSelectedState(bool selected)
183 OptionElement::setSelectedState(m_data, this, selected);
248 // Avoid our selected() getter since it will recalculate list items incorrectly for us.
249 if (m_data.selected())