Compile the :root pseudo class and fix a related issue with :nth-child()
Created attachment 229789 [details] Patch
Comment on attachment 229789 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=229789&action=review r=me I was going to suggest that we add some DRT mechanism to explicitly disable the selector JIT, but I suppose the fact that most ports are building without it means that we are well covered on both code paths for the time being. > Source/WebCore/cssjit/SelectorCompiler.cpp:1952 > + // Anything modulo 1 is zero. Unless b restrict the range, this does not filter anything out. restrict -> restricts > Source/WebCore/cssjit/SelectorCompiler.cpp:1955 > + validSubsetFilters.append(slot); You can use uncheckedAppend() here.
Committed r167585: <http://trac.webkit.org/changeset/167585>