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

Unified Diff: javatests/org/chromium/distiller/webdocument/DomConverterTest.java

Issue 2726123004: Unhide folded sections in wiki pages (Closed)
Patch Set: Created 3 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 side-by-side diff with in-line comments
Download patch
Index: javatests/org/chromium/distiller/webdocument/DomConverterTest.java
diff --git a/javatests/org/chromium/distiller/webdocument/DomConverterTest.java b/javatests/org/chromium/distiller/webdocument/DomConverterTest.java
index 42b71db0d1cbbb1e8cbc4bc9f828ff1dec55e2ca..e58257362fbf311b8ca48d8269045173915ea0e3 100644
--- a/javatests/org/chromium/distiller/webdocument/DomConverterTest.java
+++ b/javatests/org/chromium/distiller/webdocument/DomConverterTest.java
@@ -130,6 +130,11 @@ public class DomConverterTest extends DomDistillerJsTestCase {
runTest(html, html, true);
}
+ public void testWikipediaFoldedSections() throws Throwable {
+ String html = "<div aria-expanded=\"false\" style=\"display: none\">folded section</div>";
+ runTest(html, html, true);
+ }
+
public void testDataTable() throws Throwable {
String html = "<table align=\"left\" role=\"grid\">" + // role=grid make this a data table.
"<tbody align=\"left\">" +

Powered by Google App Engine
This is Rietveld 408576698