Until <rdar://problem/59737118> is fixed, annotate editable elements with their paint order towards fixing <rdar://problem/59602885>.
Created attachment 392176 [details]
Comment on attachment 392176 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=392176&action=review
> +- (NSUInteger)_paintOrder;
Should be @property
Created attachment 392179 [details]
Comment on attachment 392179 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=392179&action=review
> + context.paintOrder = count++;
Nit: IMO, "hitTestingOrder" would be a more relevant name, since this index is directly influenced by the order of elements as they are hit-tested (which, in turn, depends on their painting order).
Created attachment 392215 [details]
Committed r257749: <https://trac.webkit.org/changeset/257749>