Commit 20e19320 authored by arv@chromium.org's avatar arv@chromium.org

Fix invalid markup in some tests

https://bugs.webkit.org/show_bug.cgi?id=72391

Reviewed by Ojan Vafai.

These tests had <div id="console"></p> in them which causes a lot of extra whitespace.

* fast/dom/HTMLElement/attr-dir-auto-change-before-text-node-expected.txt:
* fast/dom/HTMLElement/attr-dir-auto-change-before-text-node.html:
* fast/dom/HTMLElement/attr-dir-auto-change-child-node-expected.txt:
* fast/dom/HTMLElement/attr-dir-auto-change-child-node.html:
* fast/dom/HTMLElement/attr-dir-auto-change-text-expected.txt:
* fast/dom/HTMLElement/attr-dir-auto-change-text-form-control-expected.txt:
* fast/dom/HTMLElement/attr-dir-auto-change-text-form-control.html:
* fast/dom/HTMLElement/attr-dir-auto-change-text.html:
* fast/dom/HTMLElement/attr-dir-auto-children-expected.txt:
* fast/dom/HTMLElement/attr-dir-auto-children.html:
* fast/dom/HTMLElement/attr-dir-auto-expected.txt:
* fast/dom/HTMLElement/attr-dir-auto-remove-add-children-expected.txt:
* fast/dom/HTMLElement/attr-dir-auto-remove-add-children.html:
* fast/dom/HTMLElement/attr-dir-auto-text-form-control-child-expected.txt:
* fast/dom/HTMLElement/attr-dir-auto-text-form-control-child.html:
* fast/dom/HTMLElement/attr-dir-auto-text-form-control-expected.txt:
* fast/dom/HTMLElement/attr-dir-auto-text-form-control.html:
* fast/dom/HTMLElement/attr-dir-auto.html:
* fast/dom/HTMLElement/attr-dir-value-change-expected.txt:
* fast/dom/HTMLElement/attr-dir-value-change.html:
* fast/dom/HTMLElement/attr-empty-string-expected.txt:
* fast/dom/HTMLElement/attr-empty-string.html:
* fast/dom/HTMLElement/attr-false-string-expected.txt:
* fast/dom/HTMLElement/attr-false-string.html:
* fast/dom/HTMLElement/attr-invalid-string-expected.txt:
* fast/dom/HTMLElement/attr-invalid-string.html:
* fast/dom/HTMLElement/attr-missing-ancestor-false-expected.txt:
* fast/dom/HTMLElement/attr-missing-ancestor-false.html:
* fast/dom/HTMLElement/attr-missing-ancestor-true-expected.txt:
* fast/dom/HTMLElement/attr-missing-ancestor-true.html:
* fast/dom/HTMLElement/attr-missing-parent-ancestor-missing-expected.txt:
* fast/dom/HTMLElement/attr-missing-parent-ancestor-missing.html:
* fast/dom/HTMLElement/attr-missing-parent-false-expected.txt:
* fast/dom/HTMLElement/attr-missing-parent-false.html:
* fast/dom/HTMLElement/attr-missing-parent-true-expected.txt:
* fast/dom/HTMLElement/attr-missing-parent-true.html:
* fast/dom/HTMLElement/attr-true-string-expected.txt:
* fast/dom/HTMLElement/attr-true-string.html:
* fast/dom/HTMLElement/iscontenteditable-designmodeon-allinherit-expected.txt:
* fast/dom/HTMLElement/iscontenteditable-designmodeon-allinherit-subframe-expected.txt:
* fast/dom/HTMLElement/iscontenteditable-designmodeon-allinherit-subframe.html:
* fast/dom/HTMLElement/iscontenteditable-designmodeon-allinherit.html:
* fast/dom/HTMLElement/iscontenteditable-designmodeon-ancestor-expected.txt:
* fast/dom/HTMLElement/iscontenteditable-designmodeon-ancestor.html:
* fast/dom/HTMLElement/iscontenteditable-designmodeon-expected.txt:
* fast/dom/HTMLElement/iscontenteditable-designmodeon.html:
* fast/dom/HTMLElement/set-false-expected.txt:
* fast/dom/HTMLElement/set-false.html:
* fast/dom/HTMLElement/set-inherit-parent-false-expected.txt:
* fast/dom/HTMLElement/set-inherit-parent-false.html:
* fast/dom/HTMLElement/set-inherit-parent-true-expected.txt:
* fast/dom/HTMLElement/set-inherit-parent-true.html:
* fast/dom/HTMLElement/set-invalid-value-expected.txt:
* fast/dom/HTMLElement/set-invalid-value.html:
* fast/dom/HTMLElement/set-true-expected.txt:
* fast/dom/HTMLElement/set-true.html:
* fast/dom/HTMLElement/set-value-caseinsensitive-expected.txt:
* fast/dom/HTMLElement/set-value-caseinsensitive.html:
* fast/dom/Orientation/create-event-orientationchange.html:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100289 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 39b3be26
2011-11-15 Erik Arvidsson <arv@chromium.org>
Fix invalid markup in some tests
https://bugs.webkit.org/show_bug.cgi?id=72391
Reviewed by Ojan Vafai.
These tests had <div id="console"></p> in them which causes a lot of extra whitespace.
* fast/dom/HTMLElement/attr-dir-auto-change-before-text-node-expected.txt:
* fast/dom/HTMLElement/attr-dir-auto-change-before-text-node.html:
* fast/dom/HTMLElement/attr-dir-auto-change-child-node-expected.txt:
* fast/dom/HTMLElement/attr-dir-auto-change-child-node.html:
* fast/dom/HTMLElement/attr-dir-auto-change-text-expected.txt:
* fast/dom/HTMLElement/attr-dir-auto-change-text-form-control-expected.txt:
* fast/dom/HTMLElement/attr-dir-auto-change-text-form-control.html:
* fast/dom/HTMLElement/attr-dir-auto-change-text.html:
* fast/dom/HTMLElement/attr-dir-auto-children-expected.txt:
* fast/dom/HTMLElement/attr-dir-auto-children.html:
* fast/dom/HTMLElement/attr-dir-auto-expected.txt:
* fast/dom/HTMLElement/attr-dir-auto-remove-add-children-expected.txt:
* fast/dom/HTMLElement/attr-dir-auto-remove-add-children.html:
* fast/dom/HTMLElement/attr-dir-auto-text-form-control-child-expected.txt:
* fast/dom/HTMLElement/attr-dir-auto-text-form-control-child.html:
* fast/dom/HTMLElement/attr-dir-auto-text-form-control-expected.txt:
* fast/dom/HTMLElement/attr-dir-auto-text-form-control.html:
* fast/dom/HTMLElement/attr-dir-auto.html:
* fast/dom/HTMLElement/attr-dir-value-change-expected.txt:
* fast/dom/HTMLElement/attr-dir-value-change.html:
* fast/dom/HTMLElement/attr-empty-string-expected.txt:
* fast/dom/HTMLElement/attr-empty-string.html:
* fast/dom/HTMLElement/attr-false-string-expected.txt:
* fast/dom/HTMLElement/attr-false-string.html:
* fast/dom/HTMLElement/attr-invalid-string-expected.txt:
* fast/dom/HTMLElement/attr-invalid-string.html:
* fast/dom/HTMLElement/attr-missing-ancestor-false-expected.txt:
* fast/dom/HTMLElement/attr-missing-ancestor-false.html:
* fast/dom/HTMLElement/attr-missing-ancestor-true-expected.txt:
* fast/dom/HTMLElement/attr-missing-ancestor-true.html:
* fast/dom/HTMLElement/attr-missing-parent-ancestor-missing-expected.txt:
* fast/dom/HTMLElement/attr-missing-parent-ancestor-missing.html:
* fast/dom/HTMLElement/attr-missing-parent-false-expected.txt:
* fast/dom/HTMLElement/attr-missing-parent-false.html:
* fast/dom/HTMLElement/attr-missing-parent-true-expected.txt:
* fast/dom/HTMLElement/attr-missing-parent-true.html:
* fast/dom/HTMLElement/attr-true-string-expected.txt:
* fast/dom/HTMLElement/attr-true-string.html:
* fast/dom/HTMLElement/iscontenteditable-designmodeon-allinherit-expected.txt:
* fast/dom/HTMLElement/iscontenteditable-designmodeon-allinherit-subframe-expected.txt:
* fast/dom/HTMLElement/iscontenteditable-designmodeon-allinherit-subframe.html:
* fast/dom/HTMLElement/iscontenteditable-designmodeon-allinherit.html:
* fast/dom/HTMLElement/iscontenteditable-designmodeon-ancestor-expected.txt:
* fast/dom/HTMLElement/iscontenteditable-designmodeon-ancestor.html:
* fast/dom/HTMLElement/iscontenteditable-designmodeon-expected.txt:
* fast/dom/HTMLElement/iscontenteditable-designmodeon.html:
* fast/dom/HTMLElement/set-false-expected.txt:
* fast/dom/HTMLElement/set-false.html:
* fast/dom/HTMLElement/set-inherit-parent-false-expected.txt:
* fast/dom/HTMLElement/set-inherit-parent-false.html:
* fast/dom/HTMLElement/set-inherit-parent-true-expected.txt:
* fast/dom/HTMLElement/set-inherit-parent-true.html:
* fast/dom/HTMLElement/set-invalid-value-expected.txt:
* fast/dom/HTMLElement/set-invalid-value.html:
* fast/dom/HTMLElement/set-true-expected.txt:
* fast/dom/HTMLElement/set-true.html:
* fast/dom/HTMLElement/set-value-caseinsensitive-expected.txt:
* fast/dom/HTMLElement/set-value-caseinsensitive.html:
* fast/dom/Orientation/create-event-orientationchange.html:
2011-11-15 Philippe Normand <pnormand@igalia.com>
Unreviewed, GTK rebaseline.
......@@ -3,19 +3,11 @@ Test that directionality is re-evaluated when an element with dir=auto set, gets
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS document.defaultView.getComputedStyle(el, null).getPropertyValue('border-right-color') is 'rgb(255, 0, 0)'
PASS document.defaultView.getComputedStyle(el, null).getPropertyValue('border-right-color') is 'rgb(0, 128, 0)'
PASS document.defaultView.getComputedStyle(el, null).getPropertyValue('border-right-color') is 'rgb(255, 0, 0)'
PASS document.defaultView.getComputedStyle(el, null).getPropertyValue('border-right-color') is 'rgb(0, 128, 0)'
PASS successfullyParsed is true
TEST COMPLETE
......@@ -9,7 +9,7 @@
</head>
<body>
<p id="description"></p>
<div id="console"></p>
<div id="console"></div>
<div id="result"></div>
<div id="test" dir="auto" class="testDiv"></div>
......
......@@ -3,17 +3,9 @@ Test that directionality is re-evaluated when an element with dir=auto set, has
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS document.defaultView.getComputedStyle(el, null).getPropertyValue('border-right-color') is 'rgb(255, 0, 0)'
PASS document.defaultView.getComputedStyle(el, null).getPropertyValue('border-right-color') is 'rgb(0, 128, 0)'
PASS successfullyParsed is true
TEST COMPLETE
......@@ -9,7 +9,7 @@
</head>
<body>
<p id="description"></p>
<div id="console"></p>
<div id="console"></div>
<div id="result"></div>
<div id="test" dir="auto" class="testDiv"></div>
......
......@@ -3,17 +3,9 @@ Test that directionality is re-evaluated when an element with dir=auto set, has
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS document.defaultView.getComputedStyle(el, null).getPropertyValue('border-right-color') is 'rgb(255, 0, 0)'
PASS document.defaultView.getComputedStyle(el, null).getPropertyValue('border-right-color') is 'rgb(0, 128, 0)'
PASS successfullyParsed is true
TEST COMPLETE
......@@ -3,19 +3,11 @@ Test that directionality is re-evaluated when dir attribute changes.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS document.defaultView.getComputedStyle(el, null).getPropertyValue('border-right-color') is 'rgb(0, 128, 0)'
PASS document.defaultView.getComputedStyle(el, null).getPropertyValue('border-right-color') is 'rgb(255, 0, 0)'
PASS document.defaultView.getComputedStyle(el, null).getPropertyValue('border-right-color') is 'rgb(0, 128, 0)'
PASS document.defaultView.getComputedStyle(el, null).getPropertyValue('border-right-color') is 'rgb(255, 0, 0)'
PASS successfullyParsed is true
TEST COMPLETE
......@@ -9,7 +9,7 @@
</head>
<body>
<p id="description"></p>
<div id="console"></p>
<div id="console"></div>
<div id="result"></div>
<div id="parentDiv">
......
......@@ -9,7 +9,7 @@
</head>
<body>
<p id="description"></p>
<div id="console"></p>
<div id="console"></div>
<div id="result"></div>
<div id="test" dir="auto" class="testDiv">Test test test</div>
......
......@@ -3,8 +3,6 @@ Test that directionality of an element with dir=auto is not affected by children
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS document.defaultView.getComputedStyle(el, null).getPropertyValue('border-right-color') is 'rgb(255, 0, 0)'
PASS document.defaultView.getComputedStyle(el, null).getPropertyValue('border-right-color') is 'rgb(0, 128, 0)'
PASS successfullyParsed is true
......
......@@ -9,7 +9,7 @@
</head>
<body>
<p id="description"></p>
<div id="console"></p>
<div id="console"></div>
<div id="result"></div>
<div id="parentDiv">
<div id="has-dir-auto" dir="auto" class="testDiv">
......
......@@ -3,17 +3,10 @@ Test that directionality of an element with dir=auto set is determined by the fi
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS document.defaultView.getComputedStyle(el, null).getPropertyValue('border-right-color') is 'rgb(255, 0, 0)'
PASS document.defaultView.getComputedStyle(el, null).getPropertyValue('border-right-color') is 'rgb(0, 128, 0)'
PASS document.defaultView.getComputedStyle(el, null).getPropertyValue('border-right-color') is 'rgb(0, 128, 0)'
PASS successfullyParsed is true
TEST COMPLETE
......@@ -3,9 +3,6 @@ Test that directionality of an element with dir=auto set is re-evaluated when th
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS document.defaultView.getComputedStyle(parent1, null).getPropertyValue('border-right-color') is 'rgb(0, 128, 0)'
PASS document.defaultView.getComputedStyle(parent2, null).getPropertyValue('border-right-color') is 'rgb(255, 0, 0)'
PASS document.defaultView.getComputedStyle(parent3, null).getPropertyValue('border-right-color') is 'rgb(255, 0, 0)'
......@@ -13,11 +10,7 @@ PASS document.defaultView.getComputedStyle(parent1, null).getPropertyValue('bord
PASS document.defaultView.getComputedStyle(parent2, null).getPropertyValue('border-right-color') is 'rgb(0, 128, 0)'
PASS document.defaultView.getComputedStyle(parent2, null).getPropertyValue('border-right-color') is 'rgb(255, 0, 0)'
PASS document.defaultView.getComputedStyle(parent3, null).getPropertyValue('border-right-color') is 'rgb(255, 0, 0)'
PASS successfullyParsed is true
TEST COMPLETE
......@@ -9,7 +9,7 @@
</head>
<body>
<p id="description"></p>
<div id="console"></p>
<div id="console"></div>
<div id="result"></div>
<div id="parentDiv">
<div id="parent1" dir="auto" class="testDiv">
......
......@@ -3,17 +3,10 @@ Test that directionality of an element with dir=auto set is not determined by th
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS document.defaultView.getComputedStyle(el, null).getPropertyValue('border-right-color') is 'rgb(255, 0, 0)'
PASS document.defaultView.getComputedStyle(el, null).getPropertyValue('border-right-color') is 'rgb(0, 128, 0)'
PASS document.defaultView.getComputedStyle(el, null).getPropertyValue('border-right-color') is 'rgb(0, 128, 0)'
PASS successfullyParsed is true
TEST COMPLETE
......@@ -9,7 +9,7 @@
</head>
<body>
<p id="description"></p>
<div id="console"></p>
<div id="console"></div>
<div id="result"></div>
<div id="parentDiv">
Test that the direction of the div is left-to-right, ignoring its child that is a text form control.
......
......@@ -3,18 +3,11 @@ Test that directionality of a text form control with dir=auto set is determined
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS document.defaultView.getComputedStyle(el, null).getPropertyValue('border-right-color') is 'rgb(255, 0, 0)'
PASS document.defaultView.getComputedStyle(el, null).getPropertyValue('border-right-color') is 'rgb(0, 128, 0)'
PASS document.defaultView.getComputedStyle(el, null).getPropertyValue('border-right-color') is 'rgb(0, 128, 0)'
PASS document.defaultView.getComputedStyle(el, null).getPropertyValue('border-right-color') is 'rgb(0, 128, 0)'
PASS successfullyParsed is true
TEST COMPLETE
......@@ -9,7 +9,7 @@
</head>
<body>
<p id="description"></p>
<div id="console"></p>
<div id="console"></div>
<div id="result"></div>
<div id="parentDiv">
Test that the direction of english text is left-to-right in the text form control.
......
......@@ -9,7 +9,7 @@
</head>
<body>
<p id="description"></p>
<div id="console"></p>
<div id="console"></div>
<div id="result"></div>
<div id="parentDiv">
Test that the direction of english text is left-to-right.
......
......@@ -3,10 +3,6 @@ Test that directionality is re-evaluated when an element with dir=auto set, has
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS document.defaultView.getComputedStyle(el, null).getPropertyValue('border-right-color') is 'rgb(0, 128, 0)'
PASS document.defaultView.getComputedStyle(child2, null).getPropertyValue('border-right-color') is 'rgb(0, 128, 0)'
PASS document.defaultView.getComputedStyle(el, null).getPropertyValue('border-right-color') is 'rgb(255, 0, 0)'
......@@ -14,11 +10,7 @@ PASS document.defaultView.getComputedStyle(child2, null).getPropertyValue('borde
PASS document.defaultView.getComputedStyle(child2, null).getPropertyValue('border-right-color') is 'rgb(255, 0, 0)'
PASS document.defaultView.getComputedStyle(el, null).getPropertyValue('border-right-color') is 'rgb(0, 128, 0)'
PASS document.defaultView.getComputedStyle(child2, null).getPropertyValue('border-right-color') is 'rgb(255, 0, 0)'
PASS successfullyParsed is true
TEST COMPLETE
......@@ -9,7 +9,7 @@
</head>
<body>
<p id="description"></p>
<div id="console"></p>
<div id="console"></div>
<div id="result"></div>
<div id="test" dir="auto" class="testDiv"></div>
......
......@@ -3,18 +3,11 @@ When contentEditable attribute is empty string, element.contentEditable returns
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS document.getElementById("div").getAttribute("contentEditable") is ""
PASS document.getElementById("div").contentEditable is "true"
PASS document.getElementById("div").isContentEditable is true
PASS window.getComputedStyle(div, "").getPropertyValue("-webkit-user-modify") is "read-write"
PASS successfullyParsed is true
TEST COMPLETE
......@@ -5,7 +5,7 @@
</head>
<body>
<p id="description"></p>
<div id="console"></p>
<div id="console"></div>
<div id="result"></div>
<div id="div" contentEditable=""></div>
<script>
......
......@@ -3,18 +3,11 @@ When contentEditable attribute is "false" string, element.contentEditable return
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS document.getElementById("div").getAttribute("contentEditable") is "false"
PASS document.getElementById("div").contentEditable is "false"
PASS document.getElementById("div").isContentEditable is false
PASS window.getComputedStyle(div, "").getPropertyValue("-webkit-user-modify") is "read-only"
PASS successfullyParsed is true
TEST COMPLETE
......@@ -5,7 +5,7 @@
</head>
<body>
<p id="description"></p>
<div id="console"></p>
<div id="console"></div>
<div id="result"></div>
<div id="div" contentEditable="false"></div>
<script>
......
......@@ -3,10 +3,6 @@ When contentEditable attribute is invalid string, element.contentEditable return
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS document.getElementById("d").getAttribute("contentEditable") is "abc"
PASS document.getElementById("d").contentEditable is "inherit"
PASS document.getElementById("d").isContentEditable is false
......@@ -15,11 +11,7 @@ PASS document.getElementById("d2").getAttribute("contentEditable") is "inherit"
PASS document.getElementById("d2").contentEditable is "inherit"
PASS document.getElementById("d2").isContentEditable is false
PASS window.getComputedStyle(d2, "").getPropertyValue("-webkit-user-modify") is "read-only"
PASS successfullyParsed is true
TEST COMPLETE
......@@ -5,7 +5,7 @@
</head>
<body>
<p id="description"></p>
<div id="console"></p>
<div id="console"></div>
<div id="result"></div>
<div id="d" contentEditable="abc"></div>
<div id="d2" contentEditable="inherit"></div>
......
......@@ -3,18 +3,11 @@ When contentEditable is missing, it maps to "inherit" state and the element is N
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS document.getElementById("p").hasAttribute("contentEditable") is false
PASS document.getElementById("p").contentEditable is "inherit"
PASS document.getElementById("p").isContentEditable is false
PASS window.getComputedStyle(p, "").getPropertyValue("-webkit-user-modify") is "read-only"
PASS successfullyParsed is true
TEST COMPLETE
......@@ -5,7 +5,7 @@
</head>
<body>
<p id="description"></p>
<div id="console"></p>
<div id="console"></div>
<div id="result"></div>
<div id="div" contentEditable="false">
<div>
......
......@@ -3,9 +3,6 @@ When contentEditable is missing, it maps to "inherit" state and the element is e
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS document.getElementById("p").hasAttribute("contentEditable") is false
PASS document.getElementById("p").contentEditable is "inherit"
PASS document.getElementById("p").isContentEditable is true
......
......@@ -5,7 +5,7 @@
</head>
<body>
<p id="description"></p>
<div id="console"></p>
<div id="console"></div>
<div id="result"></div>
<div id="div" contentEditable="true">
<div>
......
......@@ -3,18 +3,11 @@ When contentEditable is missing, it maps to "inherit" state and the element is N
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS document.getElementById("p").hasAttribute("contentEditable") is false
PASS document.getElementById("p").contentEditable is "inherit"
PASS document.getElementById("p").isContentEditable is false
PASS window.getComputedStyle(p, "").getPropertyValue("-webkit-user-modify") is "read-only"
PASS successfullyParsed is true
TEST COMPLETE
......@@ -5,7 +5,7 @@
</head>
<body>
<p id="description"></p>
<div id="console"></p>
<div id="console"></div>
<div id="result"></div>
<div id="div">
<div>
......
......@@ -3,18 +3,11 @@ When contentEditable is missing, it maps to "inherit" state and the element is N
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS document.getElementById("p").hasAttribute("contentEditable") is false
PASS document.getElementById("p").contentEditable is "inherit"
PASS document.getElementById("p").isContentEditable is false
PASS window.getComputedStyle(p, "").getPropertyValue("-webkit-user-modify") is "read-only"
PASS successfullyParsed is true
TEST COMPLETE
......@@ -5,7 +5,7 @@
</head>
<body>
<p id="description"></p>
<div id="console"></p>
<div id="console"></div>
<div id="result"></div>
<div id="div" contentEditable="false">
<p id="p"></p>
......
......@@ -3,18 +3,11 @@ When contentEditable is missing, it maps to "inherit" state and the element is e
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS document.getElementById("p").hasAttribute("contentEditable") is false
PASS document.getElementById("p").contentEditable is "inherit"
PASS document.getElementById("p").isContentEditable is true
PASS window.getComputedStyle(p, "").getPropertyValue("-webkit-user-modify") is "read-write"
PASS successfullyParsed is true
TEST COMPLETE
......@@ -5,7 +5,7 @@
</head>
<body>
<p id="description"></p>
<div id="console"></p>
<div id="console"></div>
<div id="result"></div>
<div id="div" contentEditable="true">
<p id="p"></p>
......
......@@ -3,18 +3,11 @@ When contentEditable attribute is "true" string, element.contentEditable returns
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS document.getElementById("div").getAttribute("contentEditable") is "true"
PASS document.getElementById("div").contentEditable is "true"
PASS document.getElementById("div").isContentEditable is true
PASS window.getComputedStyle(div, "").getPropertyValue("-webkit-user-modify") is "read-write"
PASS successfullyParsed is true
TEST COMPLETE