Don't use union for NodeRareData* and RenderObject*. That can lead to type confusion bugs.
Created attachment 376334 [details] WIP - simple patch
Created attachment 376367 [details] WIP2 Compensating the size increase of Node by moving some element flags to Node. Somehow this causes focus within tests to fail. I can't spot a bug anywhere...
Comment on attachment 376367 [details] WIP2 View in context: https://bugs.webkit.org/attachment.cgi?id=376367&action=review > Source/WebCore/dom/Node.h:541 > + StyleAffectedByFocusWithinFlag = 1 < 11, Ugh... what a stupid bug. I need <<, not <.
Created attachment 376369 [details] WIP3
Created attachment 376431 [details] Patch
Committed r248807: <https://trac.webkit.org/changeset/248807>
<rdar://problem/54415130>