From ed7faf3fde0000b139414648269d2ff82846bac1 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Fri, 17 Apr 2020 06:41:00 -0400 Subject: Bug 1404789 - Stop reconstructing frames for the whole shadow root each time content is inserted in a shadow tree * Cleanup a bit the ShadowRoot code * Privatize ShadowRoot methods * When the shadow tree distribution changes, post a restyle + reframe * Simplify ShadowRoot::IsPooledNode * Be a bit better at detecting distribution changes Tag #1375 --- layout/base/crashtests/1404789-1.html | 16 ++++++++++++++++ layout/base/crashtests/1404789-2.html | 2 ++ layout/base/crashtests/crashtests.list | 2 ++ 3 files changed, 20 insertions(+) create mode 100644 layout/base/crashtests/1404789-1.html create mode 100644 layout/base/crashtests/1404789-2.html (limited to 'layout') diff --git a/layout/base/crashtests/1404789-1.html b/layout/base/crashtests/1404789-1.html new file mode 100644 index 000000000..bd577ae24 --- /dev/null +++ b/layout/base/crashtests/1404789-1.html @@ -0,0 +1,16 @@ + + diff --git a/layout/base/crashtests/1404789-2.html b/layout/base/crashtests/1404789-2.html new file mode 100644 index 000000000..667618141 --- /dev/null +++ b/layout/base/crashtests/1404789-2.html @@ -0,0 +1,2 @@ + + diff --git a/layout/base/crashtests/crashtests.list b/layout/base/crashtests/crashtests.list index 6ded4ff3f..66dc35ebc 100644 --- a/layout/base/crashtests/crashtests.list +++ b/layout/base/crashtests/crashtests.list @@ -483,3 +483,5 @@ load 1308793.svg load 1308848-1.html load 1308848-2.html asserts(0-1) load 1343606.html # bug 1343948 +load 1404789-1.html +load 1404789-2.html -- cgit v1.2.3