RESOLVED FIXED 135968
CSS JIT: compile :-webkit-full-page-media
https://bugs.webkit.org/show_bug.cgi?id=135968
Summary CSS JIT: compile :-webkit-full-page-media
Benjamin Poulain
Reported 2014-08-15 00:12:05 PDT
CSS JIT: compile :-webkit-full-page-media
Attachments
Patch (3.78 KB, patch)
2014-08-15 00:14 PDT, Benjamin Poulain
ap: review+
Benjamin Poulain
Comment 1 2014-08-15 00:14:34 PDT
Alexey Proskuryakov
Comment 2 2014-08-15 10:07:55 PDT
Comment on attachment 236644 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=236644&action=review > Source/WebCore/ChangeLog:10 > + It would be possible to inline it, but this selector is so unommon I don't think Typo: should be "uncommon". > Source/WebCore/css/SelectorCheckerTestFunctions.h:76 > +ALWAYS_INLINE bool isMediaDocument(const Element* element) Does this have to take a const? Node/Element constness is a highly questionable concept, which I thought we agreed to not use, see <https://lists.webkit.org/pipermail/webkit-dev/2011-May/016875.html>.
Benjamin Poulain
Comment 3 2014-08-15 18:19:17 PDT
Thanks for the review! > > Source/WebCore/css/SelectorCheckerTestFunctions.h:76 > > +ALWAYS_INLINE bool isMediaDocument(const Element* element) > > Does this have to take a const? Node/Element constness is a highly questionable concept, which I thought we agreed to not use, see <https://lists.webkit.org/pipermail/webkit-dev/2011-May/016875.html>. The const has no value here, I'll remove it.
Benjamin Poulain
Comment 4 2014-08-15 18:37:51 PDT
Note You need to log in before you can comment on or make changes to this bug.