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

Unified Diff: third_party/pyscss/scss/tests/test_font_face.py

Issue 9111023: Pyscss is obsolete with Dart CSS complier; remove all pyscss code. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove pyparsing from .gitignore Created 8 years, 12 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 | « third_party/pyscss/scss/tests/test_files.py ('k') | third_party/pyscss/scss/tests/test_for.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/pyscss/scss/tests/test_font_face.py
diff --git a/third_party/pyscss/scss/tests/test_font_face.py b/third_party/pyscss/scss/tests/test_font_face.py
deleted file mode 100644
index d7c7620154e426077554ceb305820db86d532bf7..0000000000000000000000000000000000000000
--- a/third_party/pyscss/scss/tests/test_font_face.py
+++ /dev/null
@@ -1,39 +0,0 @@
-import unittest
-
-from scss.parser import Stylesheet
-
-
-class TestSCSS( unittest.TestCase ):
-
- def setUp(self):
- self.parser = Stylesheet(options=dict(compress=True))
-
- def test_font_face(self):
- src = """
- @font-face {
- font-family: 'MyMinionPro';
- src: url('minion-webfont.eot?') format('eot'),
- url('minion-webfont.woff') format('woff'),
- url('minion-webfont.ttf') format('truetype');
- font-weight: normal;
- font-style: normal;
- font-size: ( 12px / 16px ) * 100%;
- }
-
- @font-face {
- font-family: 'MyMinionProItalic';
- src: url('minionpro-it-webfont.eot?') format('eot'),
- url('minionpro-it-webfont.woff') format('woff'),
- url('minionpro-it-webfont.ttf') format('truetype');
- font-weight: normal;
- font-style: italic;
- }
-
- h1,h2,h3, time, ol#using .number {
- font-weight: normal;
- font-family: 'MyMinionPro';
- }
- """
- test = "@font-face{font-weight:normal;font-style:normal;font-size:75%;font-family:'MyMinionPro';src:url('minion-webfont.eot?') format('eot') , url('minion-webfont.woff') format('woff') , url('minion-webfont.ttf') format('truetype')}@font-face{font-weight:normal;font-style:italic;font-family:'MyMinionProItalic';src:url('minionpro-it-webfont.eot?') format('eot') , url('minionpro-it-webfont.woff') format('woff') , url('minionpro-it-webfont.ttf') format('truetype')}h1, h2, h3, time, ol#using .number{font-weight:normal;font-family:'MyMinionPro'}"
- out = self.parser.loads(src)
- self.assertEqual(test, out)
« no previous file with comments | « third_party/pyscss/scss/tests/test_files.py ('k') | third_party/pyscss/scss/tests/test_for.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698