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

Unified Diff: LayoutTests/fast/dom/setPrimitiveValue.html

Issue 689323002: Remove tests which are only testing getPropertyCSSValue, etc. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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
Index: LayoutTests/fast/dom/setPrimitiveValue.html
diff --git a/LayoutTests/fast/dom/setPrimitiveValue.html b/LayoutTests/fast/dom/setPrimitiveValue.html
deleted file mode 100644
index 4ff0505b8c802a6b7cca935ecb5eba1c447014d8..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/dom/setPrimitiveValue.html
+++ /dev/null
@@ -1,46 +0,0 @@
-<html>
-<head>
-<style>
-div.test {
- position: absolute;
- left: 250px;
- top: 100px;
-}
-</style>
-<script>
-
-if (window.testRunner)
- testRunner.dumpAsText();
-
-function runTest()
-{
- var helloText = document.getElementById("hello");
- var positionField = document.getElementById("style position");
- var position = 50.0;
-
- var textRule = document.styleSheets[0].cssRules[0];
- var s = textRule.style;
- var leftValue = s.getPropertyCSSValue("left");
- var console = document.getElementById("console");
-
- try
- {
- leftValue.setFloatValue(leftValue.primitiveType, parseFloat(position));
- }
- catch (e)
- {
- var line = document.createElement("div");
- line.innerText = "setFloatValue " + e.message;
- console.appendChild(line);
- }
-}
-
-</script>
-</head>
-<body onload="runTest();">
-Test CSSPrimitiveValue setters.
-<div class="test" id="hello"></div>
-<pre id="console"></pre>
-</body>
-</html>
-

Powered by Google App Engine
This is Rietveld 408576698