Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(60)

Side by Side Diff: third_party/WebKit/LayoutTests/fast/css/cache/matched-properties-cache-no-flat-tree-parent.html

Issue 2283933003: Don't cache matched properties for elements without a flat-tree parent. (Closed)
Patch Set: Trying to mend test failure. Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="../../../resources/testharness.js"></script>
3 <script src="../../../resources/testharnessreport.js"></script>
4 <style>
5 .green { color: green; }
6 body { perspective: inherit; }
7 </style>
8 <body>
9 <script>
10 test(() => {
11 var root = document.documentElement.createShadowRoot();
12 document.body.offsetTop;
13 document.documentElement.className = "green";
14 document.body.offsetTop;
15 root.appendChild(document.createElement("content"));
16 }, "Check that we don't trigger an assert by caching matched properties for an element using explicit inheritance.");
17 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698