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

Unified Diff: test/com/dom_distiller/client/DomToSaxVisitorTest.java

Issue 296113004: Start using computed style instead of default tag actions. (Closed) Base URL: https://code.google.com/p/dom-distiller/@master
Patch Set: Fixed nit. Created 6 years, 7 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
Index: test/com/dom_distiller/client/DomToSaxVisitorTest.java
diff --git a/test/com/dom_distiller/client/DomToSaxVisitorTest.java b/test/com/dom_distiller/client/DomToSaxVisitorTest.java
index 18836d01c124c4b912237ed654e53abf16bb5da0..728bfbff13d523f40e618c20a37b599064713974 100644
--- a/test/com/dom_distiller/client/DomToSaxVisitorTest.java
+++ b/test/com/dom_distiller/client/DomToSaxVisitorTest.java
@@ -31,7 +31,7 @@ public class DomToSaxVisitorTest extends GWTTestCase {
Element e = Document.get().createDivElement();
e.setInnerHTML("<div style=\"width:50px; height:100px\" id=\"f\" class=\"sdf\"></div>");
e = Element.as(e.getChildNodes().getItem(0));
- Attributes attrs = DomToSaxVisitor.getSaxAttributes(e);
+ Attributes attrs = DomToSaxVisitor.getAttributes(e);
assertEquals(3, attrs.getLength());
assertEquals("f", attrs.getValue("id"));
assertEquals("sdf", attrs.getValue("class"));

Powered by Google App Engine
This is Rietveld 408576698