[wpt-sync] Sync PR 11014 - [ForeignObject] Paint foreign objects during the foreground phase of normal-flow descendants.

RESOLVED FIXED in Firefox 62

Status

()

enhancement
P4
normal
RESOLVED FIXED
a year ago
a year ago

People

(Reporter: wptsync, Unassigned)

Tracking

unspecified
mozilla62
Points:
---

Firefox Tracking Flags

(firefox62 fixed)

Details

(Whiteboard: [wptsync downstream], )

Assignee

Description

a year ago
Sync web-platform-tests PR 11014 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/w3c/web-platform-tests/pull/11014
Details from upstream follow.

Chris Harrelson <chrishtr@chromium.org> wrote:
>  [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
>  WPT-Export-Revision: f05691c4a8dff663a3136af91464682238c5f609
>  
>  
>
Assignee

Updated

a year ago
Component: web-platform-tests → SVG
Product: Testing → Core
Assignee

Comment 5

a year ago
Ran 1 tests
PASS   : 1

Comment 7

a year ago
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/ce53acaf7d47
[wpt PR 11014] - [ForeignObject] Paint foreign objects during the foreground phase of normal-flow descendants., a=testonly

Comment 8

a year ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/ce53acaf7d47
Status: NEW → RESOLVED
Last Resolved: a year ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla62
You need to log in before you can comment on or make changes to this bug.