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

Unified Diff: src/com/dom_distiller/client/RelevantElementsFinder.java

Issue 322553005: Improve handling of <video>, <figure> and <br> (Closed) Base URL: https://code.google.com/p/dom-distiller/@master
Patch Set: Created 6 years, 6 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 | « src/com/dom_distiller/client/FilteringDomVisitor.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/com/dom_distiller/client/RelevantElementsFinder.java
diff --git a/src/com/dom_distiller/client/RelevantElementsFinder.java b/src/com/dom_distiller/client/RelevantElementsFinder.java
index 7623dc6b2c5bf78a9c1146fb00da070a66c27d37..40916bf89522137446971ca284dbb820f7f3c455 100644
--- a/src/com/dom_distiller/client/RelevantElementsFinder.java
+++ b/src/com/dom_distiller/client/RelevantElementsFinder.java
@@ -55,8 +55,11 @@ public class RelevantElementsFinder {
private static final Set<String> sRelevantTags;
static {
sRelevantTags = new HashSet<String>();
+ sRelevantTags.add("BR");
+ sRelevantTags.add("FIGURE");
sRelevantTags.add("IMG");
sRelevantTags.add("TABLE");
+ sRelevantTags.add("VIDEO");
}
/**
« no previous file with comments | « src/com/dom_distiller/client/FilteringDomVisitor.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698