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

Unified Diff: LayoutTests/fast/css/parsing-hyphenate-limit.html

Issue 20526006: Remove -webkit-hyphens and -webkit-hyphenate-limit-* properties. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: init removal Created 7 years, 5 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: LayoutTests/fast/css/parsing-hyphenate-limit.html
diff --git a/LayoutTests/fast/css/parsing-hyphenate-limit.html b/LayoutTests/fast/css/parsing-hyphenate-limit.html
deleted file mode 100644
index 2b3d4567479a0424b2fb7b4b14d2b8f3e374d69d..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/css/parsing-hyphenate-limit.html
+++ /dev/null
@@ -1,43 +0,0 @@
-<pre id="console"></pre>
-<script>
- if (window.testRunner)
- testRunner.dumpAsText();
-
- function log(message)
- {
- document.getElementById("console").appendChild(document.createTextNode(message + "\n"));
- }
-
- function test(declaration, expectedHyphenateLimit, after)
- {
- var element = document.createElement("div");
- element.style.cssText = declaration;
- var hyphenateLimit = after ? element.style.webkitHyphenateLimitAfter : element.style.webkitHyphenateLimitBefore;
- if (hyphenateLimit === expectedHyphenateLimit)
- log("PASS: '" + declaration + "' parsed as '" + hyphenateLimit + "'");
- else
- log("FAIL: '" + declaration + "' parsed as '" + hyphenateLimit + "'");
- }
-
- test('-webkit-hyphenate-limit-before: initial;', 'initial');
- test('-webkit-hyphenate-limit-before: inherit;', 'inherit');
- test('-webkit-hyphenate-limit-before: auto;', 'auto');
- test('-webkit-hyphenate-limit-before: 0;', '0');
- test('-webkit-hyphenate-limit-before: 4;', '4');
- test('-webkit-hyphenate-limit-before: 2 2;', '');
- test('-webkit-hyphenate-limit-before: 2px;', '');
- test('-webkit-hyphenate-limit-before: -1;', '');
- test('-webkit-hyphenate-limit-before: "1";', '');
-
- log("");
-
- test('-webkit-hyphenate-limit-after: initial;', 'initial', true);
- test('-webkit-hyphenate-limit-after: inherit;', 'inherit', true);
- test('-webkit-hyphenate-limit-after: auto;', 'auto', true);
- test('-webkit-hyphenate-limit-after: 0;', '0', true);
- test('-webkit-hyphenate-limit-after: 4;', '4', true);
- test('-webkit-hyphenate-limit-after: 2 2;', '', true);
- test('-webkit-hyphenate-limit-after: 2px;', '', true);
- test('-webkit-hyphenate-limit-after: -1;', '', true);
- test('-webkit-hyphenate-limit-after: "1";', '', true);
-</script>

Powered by Google App Engine
This is Rietveld 408576698