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

Unified Diff: chrome/test/data/pdf/material_elements_test.js

Issue 1312373002: Material PDF: Style audit and cleanup (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix tests for page selector Created 5 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/resources/pdf/pdf.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/pdf/material_elements_test.js
diff --git a/chrome/test/data/pdf/material_elements_test.js b/chrome/test/data/pdf/material_elements_test.js
index 72bbad3f93b9e69ffafb1f64815b8a2a65a58a33..fdcc2fa87db485de797b4781c15505bf15d25003 100644
--- a/chrome/test/data/pdf/material_elements_test.js
+++ b/chrome/test/data/pdf/material_elements_test.js
@@ -49,8 +49,8 @@ var tests = [
function testPageSelectorDocLength() {
var selector =
Polymer.Base.create('viewer-page-selector', {docLength: 1234});
- chrome.test.assertEq('/ 1234', selector.$.pagelength.textContent);
- chrome.test.assertEq('2.4em', selector.$.pageselector.style.width);
+ chrome.test.assertEq('1234', selector.$.pagelength.textContent);
+ chrome.test.assertEq('4ch', selector.$.pageselector.style.width);
chrome.test.succeed();
},
« no previous file with comments | « chrome/browser/resources/pdf/pdf.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698