This is needed to make WebKit's display: contents implementation compatible with Chromium's and Gecko's.
Created attachment 321061 [details]
Created attachment 321062 [details]
Created attachment 321079 [details]
Created attachment 321080 [details]
Gah, I can't repro the build failures on Linux... I guess I'll need to rework the patch to avoid moving RenderObject::style's definition.
Comment on attachment 321080 [details]
Attachment 321080 [details] did not pass mac-debug-ews (mac):
New failing tests:
Created attachment 321083 [details]
Archive of layout-test-results from ews116 for mac-elcapitan
The attached test failures were seen while running run-webkit-tests on the mac-debug-ews.
Bot: ews116 Port: mac-elcapitan Platform: Mac OS X 10.11.6
Note all the iOS and macOS bots are failing, so it's not likely this will get a review.
(In reply to Michael Catanzaro from comment #8)
> Note all the iOS and macOS bots are failing, so it's not likely this will
> get a review.
I know, release builds are failing because I moved the definition of RenderObject::style, and now there are a few translation units that can't access it.
I was able to repro the build failure on WebKitGTK release, so I just need to shuffle includes around.
Bug 178332 has a patch that takes a different approach and wraps text renderers with display:content into anonymous inline boxes with inherited style.
*** This bug has been marked as a duplicate of bug 178332 ***