[ForeignObject] Paint foreign objects during the foreground phase of normal-flow
descendants. When <foreignObject> was made a stacking context, it also had the side-effect of painting it at the same time as positioned elements. This is a change to painting order and caused a regression. Instead, implement a new mechanism by which a "replaced normal-flow stacking" element paints during the foreground phase of the LayoutObject paint tree walk. This is used for now just for <foreignObject>, but may be applied to other replaced elements such as iframes or embedded objects in the future. Bug:842668 Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Change-Id: I450944986abfb6610084444abf2724e7406145cf Reviewed-on: https://chromium-review.googlesource.com/1060333 Commit-Queue: Chris Harrelson <chrishtr@chromium.org> Reviewed-by:Tien-Ren Chen <trchen@chromium.org> Cr-Commit-Position: refs/heads/master@{#559401}
Showing




11.2 KB