Consider merging https://chromium.googlesource.com/chromium/blink/+/76ac4f589d39168161be5dee7d28623c3ac7dc71 The only thing this method is supposed to do is make <li> presentational if its parent <ul> is presentational. The switch and static hash just bloated code size for no gain in efficiency, and searching up the parent chain doesn't seem right since a <li> must be a direct child of a <ul>.
this looks like a good change
<rdar://problem/16014106>