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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/css/invalidation/input-search-incremental.html

Issue 1478953004: Removed unnecessary SubtreeStyleChange for incrementalAttr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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/input-search-incremental-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 input + div { color: pink }
5 </style>
6 <input id="searchInput" type="search"></input>
7 <div>
8 <div></div>
9 <div></div>
10 <div></div>
11 <div></div>
12 </div>
13 <script>
14 description("Setting the incremental attribute on an input type=search")
15
16 shouldBeDefined(window.internals);
17
18 searchInput.offsetTop;
19 getComputedStyle(searchInput); // Force recalc.
20 searchInput.setAttribute("incremental", "");
21
22 // Ideally, the expected value below should be "0", but the search control
23 // button has its opacity changed unconditionally through inline style on
24 // every attribute change on the input element.
25 shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "1");
26
27 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/css/invalidation/input-search-incremental-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698