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

Side by Side Diff: LayoutTests/fast/lists/list-color-change-no-layout.html

Issue 644073002: Avoid layout when list color changes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/fast/lists/list-color-change-no-layout-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 <script>
4 onload = function() {
5 document.body.offsetTop;
6 var target = document.getElementById('target');
7 target.style.color = 'green';
8 if (window.internals) {
9 shouldBe('internals.updateStyleAndReturnAffectedElementCount()', '2');
10 shouldBe('internals.needsLayoutCount()', '0');
11 }
12 }
13 </script>
14 Should not layout when list color changes.
15 <ul id="target">
16 <li>List item</li>
17 </ul>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/lists/list-color-change-no-layout-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698