Add the pseudo class :focus to the Selector Code Generator
Created attachment 219940 [details] Patch
Comment on attachment 219940 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=219940&action=review > Source/WebCore/cssjit/SelectorCompiler.cpp:244 > + m_functionType = std::max(m_functionType, addPseudoType(selector->pseudoType(), fragment.pseudoClasses)); Maybe we should replace std::max with some descriptive inline function? Or maybe addPseudoType should be a member function of SelectorCodeGenerator that auto-updates m_functionType. Or it should take m_functionType as an argument?
Committed r161041: <http://trac.webkit.org/changeset/161041>