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

Unified Diff: tools/grit/grit/testdata/include_test.html

Issue 1410853008: Move grit from DEPS into src. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: webview licenses Created 5 years, 1 month 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 | « tools/grit/grit/testdata/hover.html ('k') | tools/grit/grit/testdata/included_sample.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/grit/grit/testdata/include_test.html
diff --git a/tools/grit/grit/testdata/include_test.html b/tools/grit/grit/testdata/include_test.html
new file mode 100644
index 0000000000000000000000000000000000000000..e08f2e2e8a296dd4e36551a95764c0c1e9e1b108
--- /dev/null
+++ b/tools/grit/grit/testdata/include_test.html
@@ -0,0 +1,31 @@
+<include src="included_sample.html">
+<if expr="True">
+should be kept
+</if>
+in the middle...
+<if expr="False">
+should be removed
+</if>
+
+<if expr="False">
+should be removed
+ <if expr="True">
+ should be removed because outer expr is False
+ </if>
+should be removed
+</if>
+
+<if expr="True">
+ <if expr="True">
+ <if expr="True">
+ nested true should be kept
+ </if>
+ <if expr="False">
+ should be removed
+ </if>
+ </if>
+ <if expr="True">
+ silbing true should be kept
+ </if>
+</if>
+at the end...
« no previous file with comments | « tools/grit/grit/testdata/hover.html ('k') | tools/grit/grit/testdata/included_sample.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698