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

Unified Diff: LayoutTests/fast/dom/HTMLLinkElement/disabled-attribute.html

Issue 7046023: Revert 84329 - 2011-04-19 Julien Chaffraix <jchaffraix@codeaurora.org> (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/782/
Patch Set: Created 9 years, 6 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 | « no previous file | LayoutTests/fast/dom/HTMLLinkElement/disabled-attribute-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/HTMLLinkElement/disabled-attribute.html
===================================================================
--- LayoutTests/fast/dom/HTMLLinkElement/disabled-attribute.html (revision 88251)
+++ LayoutTests/fast/dom/HTMLLinkElement/disabled-attribute.html (working copy)
@@ -1,46 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<link rel="stylesheet" href="../../../fast/js/resources/js-test-style.css">
-<script src="../../../fast/js/resources/js-test-pre.js"></script>
-<link id="test" type="text/css" rel="stylesheet" href="resources/htmllink-disable.css"/>
-<link id="test_nostyle" type="text/css" rel="stylesheet" />
-
-</head>
-<body>
-<p id="description"></p>
-<div id="console"></div>
-<script>
-description('This test checks HTMLLinkElement disabled conforms to HTML5 spec for the bug id #<a href="https://bugs.webkit.org/show_bug.cgi?id=45425">45425</a> .');
-
-
-var test = document.getElementById('test');
-var test_nostyle = document.getElementById('test_nostyle');
-// check initial value, should be false
-shouldBe('test.disabled', 'false');
-// set value to true
-test.disabled = true;
-shouldBe('test.disabled', 'true');
-// Updated value should be reflected in style.sheet.disabled, 'true' in this case
-shouldBe('test.sheet.disabled', 'true');
-// now set style.sheet.disabled to false
-test.sheet.disabled = false;
-shouldBe('test.sheet.disabled', 'false');
-// Updated value should be refectled in test.disabled
-shouldBe('test.disabled', 'false');
-debug('<br>');
-// verify link.sheet is null since it does not contain an href attribute
-shouldBe('test_nostyle.sheet', 'null');
-// if link.sheet = null link.disabled should be false
-shouldBe('test_nostyle.disabled', 'false');
-// setting it to true
-test_nostyle.disabled = true;
-// should do nothing on setting.
-shouldBe('test_nostyle.disabled', 'false');
-
-
-successfullyParsed= true;
-</script>
-<script src="../../../fast/js/resources/js-test-post.js"></script>
-</body>
-</html>
« no previous file with comments | « no previous file | LayoutTests/fast/dom/HTMLLinkElement/disabled-attribute-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698