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

Unified Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/html/dom/elements/global-attributes/document-dir.html

Issue 1984023002: Move web-platform-tests to wpt (part 1 of 2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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: third_party/WebKit/LayoutTests/imported/web-platform-tests/html/dom/elements/global-attributes/document-dir.html
diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/dom/elements/global-attributes/document-dir.html b/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/dom/elements/global-attributes/document-dir.html
deleted file mode 100644
index dbdfac886f8c34679ba8b1e658dd882a72804e98..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/dom/elements/global-attributes/document-dir.html
+++ /dev/null
@@ -1,26 +0,0 @@
-<!DOCTYPE html>
-<html dir="LTR">
-<title>document.dir</title>
-<link rel="help" href="https://html.spec.whatwg.org/multipage/#dom-document-dir">
-<link rel="help" href="https://html.spec.whatwg.org/multipage/#reflect">
-<link rel="author" title="Ms2ger" href="mailto:ms2ger@gmail.com">
-<script src="../../../../../../resources/testharness.js"></script>
-<script src="../../../../../../resources/testharnessreport.js"></script>
-<div id="log"></div>
-<script>
-test(function() {
- assert_equals(document.dir, "ltr");
- assert_equals(document.documentElement.getAttribute("dir"), "LTR");
-}, "Markup attribute")
-test(function() {
- document.dir = "x-garbage";
- assert_equals(document.dir, "");
- assert_equals(document.documentElement.getAttribute("dir"), "x-garbage");
-}, "Setting the idl attribute to a garbage value")
-test(function() {
- document.dir = "";
- assert_true(document.documentElement.hasAttribute("dir"), "Attribute should still be around");
- assert_equals(document.dir, "");
- assert_equals(document.documentElement.getAttribute("dir"), "");
-}, "Setting the idl attribute to the empty string")
-</script>

Powered by Google App Engine
This is Rietveld 408576698