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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/css/invalidation/lazy-reattach-object.html

Issue 1607893002: Add regression test for crbug.com/408957 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/css/invalidation/lazy-reattach-object-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="../../../resources/js-test.js"></script>
3 <style>
4 object + div { color: green; }
5 </style>
6 <object id="obj" data="data:text/html,FAIL"><div>Fallback</div></object>
7 <div>
8 <div></div>
9 <div></div>
10 <div></div>
11 <div></div>
12 </div>
13 <script>
14 description("Reattaching object should not trigger sibling forest invalidation." );
15
16 shouldBeDefined(window.internals);
17
18 // Force recalc
19 obj.offsetTop;
20
21 // Trigger reattach of fallback content.
22 obj.setAttribute("data", "data:text/html,PASS");
23
24 shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "1");
25
26 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/css/invalidation/lazy-reattach-object-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698