Changeset 97224 in webkit
- Timestamp:
- Oct 11, 2011 8:45:47 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r97222 r97224 1 2011-10-11 Sameer Patil <mkrp87@motorola.com> 2 3 :checked pseudo selector not matching selected option 4 https://bugs.webkit.org/show_bug.cgi?id=63192 5 6 Reviewed by Kent Tamura. 7 8 * fast/css/checked-pseudo-selector-expected.txt: Added. 9 * fast/css/checked-pseudo-selector.html: Added. 10 1 11 2011-10-11 Ojan Vafai <ojan@chromium.org> 2 12 -
trunk/Source/WebCore/ChangeLog
r97223 r97224 1 2011-10-11 Sameer Patil <mkrp87@motorola.com> 2 3 :checked pseudo selector not matching selected option 4 https://bugs.webkit.org/show_bug.cgi?id=63192 5 6 Reviewed by Kent Tamura. 7 8 Test: fast/css/checked-pseudo-selector.html 9 10 Option element selected state need to be checked in checkOneSelector, 11 so that it can be considered as checked on querySelectorAll(':checked'). 12 13 * css/SelectorChecker.cpp: 14 (WebCore::SelectorChecker::checkOneSelector): 15 1 16 2011-10-11 Ryuan Choi <ryuan.choi@samsung.com> 2 17 -
trunk/Source/WebCore/css/SelectorChecker.cpp
r96517 r97224 41 41 #include "InspectorInstrumentation.h" 42 42 #include "NodeRenderStyle.h" 43 #include "OptionElement.h" 43 44 #include "Page.h" 44 45 #include "PageGroup.h" … … 1117 1118 if (inputElement && inputElement->shouldAppearChecked() && !inputElement->isIndeterminate()) 1118 1119 return true; 1120 1121 OptionElement* optionElement = toOptionElement(e); 1122 if (optionElement && optionElement->selected()) 1123 return true; 1119 1124 break; 1120 1125 }
Note: See TracChangeset
for help on using the changeset viewer.