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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/inert/inert-node-is-uneditable.html

Issue 2088453002: Implement the inert attribute (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix up some tests Created 4 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
Index: third_party/WebKit/LayoutTests/fast/dom/inert/inert-node-is-uneditable.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/HTMLDialogElement/inert-node-is-uneditable.html b/third_party/WebKit/LayoutTests/fast/dom/inert/inert-node-is-uneditable.html
similarity index 82%
copy from third_party/WebKit/LayoutTests/fast/dom/HTMLDialogElement/inert-node-is-uneditable.html
copy to third_party/WebKit/LayoutTests/fast/dom/inert/inert-node-is-uneditable.html
index 72561141896ced902cfa85187b9e5b18cfdb17c6..8b7c9e6824efb6bd8bdebeb0725f15814a114ab1 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/HTMLDialogElement/inert-node-is-uneditable.html
+++ b/third_party/WebKit/LayoutTests/fast/dom/inert/inert-node-is-uneditable.html
@@ -4,10 +4,8 @@
<script src="../../../resources/js-test.js"></script>
</head>
<body>
-<span id="not-editable" contenteditable>I'm not editable.</span>
-<dialog>
- <span id="editable" contenteditable>I'm editable.</span>
-</dialog>
+<span inert id="not-editable" contenteditable>I'm not editable.</span>
+<span id="editable" contenteditable>I'm editable.</span>
<script>
function clickOn(element)
{
@@ -31,10 +29,8 @@ function clickOn(element)
function test()
{
- description('Test that inert nodes cannot be edited. The test passes if the only text you can edit is in the dialog.');
+ description('Test that inert nodes cannot be edited. The test passes if the only text you can edit is in the non-inert element.');
- dialog = document.querySelector('dialog');
- dialog.showModal();
notEditable = document.querySelector('#not-editable');
editable = document.querySelector('#editable');

Powered by Google App Engine
This is Rietveld 408576698