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

Side by Side Diff: LayoutTests/fast/history/visited-link-button.html

Issue 950743002: Only compare unvisited background color for LayoutTheme adjustment (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 10 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 | LayoutTests/fast/history/visited-link-button-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 <script src="../../resources/js-test.js"></script>
2
3 <style>
4 input {
5 line-height: 10px;
6 display: none;
7 }
8 a:visited input {
9 background-color: yellow;
10 }
11 </style>
12
13 <a id="a" href=""><input id="input" type="button"></input></a>
14
15 <script>
16 if (window.testRunner)
17 testRunner.keepWebHistory();
18
19 a.style.color = "orange";
20 a.style.color = "";
21 shouldBeEqualToString("getComputedStyle(input).lineHeight", "normal");
22 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/history/visited-link-button-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698