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

Unified Diff: LayoutTests/fast/css/parsing-hyphenate-limit-lines.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-lines.html
diff --git a/LayoutTests/fast/css/parsing-hyphenate-limit-lines.html b/LayoutTests/fast/css/parsing-hyphenate-limit-lines.html
deleted file mode 100644
index c0241161c8517841d30d8852e63f8a1363bd3c3a..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/css/parsing-hyphenate-limit-lines.html
+++ /dev/null
@@ -1,31 +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)
- {
- var element = document.createElement("div");
- element.style.cssText = declaration;
- var hyphenateLimit = element.style.webkitHyphenateLimitLines;
- if (hyphenateLimit === expectedHyphenateLimit)
- log("PASS: '" + declaration + "' parsed as '" + hyphenateLimit + "'");
- else
- log("FAIL: '" + declaration + "' parsed as '" + hyphenateLimit + "'");
- }
-
- test('-webkit-hyphenate-limit-lines: initial;', 'initial');
- test('-webkit-hyphenate-limit-lines: inherit;', 'inherit');
- test('-webkit-hyphenate-limit-lines: no-limit;', 'no-limit');
- test('-webkit-hyphenate-limit-lines: 0;', '0');
- test('-webkit-hyphenate-limit-lines: 4;', '4');
- test('-webkit-hyphenate-limit-lines: 2 2;', '');
- test('-webkit-hyphenate-limit-lines: 2px;', '');
- test('-webkit-hyphenate-limit-lines: -1;', '');
- test('-webkit-hyphenate-limit-lines: "1";', '');
-</script>

Powered by Google App Engine
This is Rietveld 408576698