+2012-06-25 Shinya Kawanaka <shinyak@chromium.org>
+
+ [Shadow] Deleting list distributed to Shadow DOM does not work correctly.
+ https://bugs.webkit.org/show_bug.cgi?id=89170
+
+ Reviewed by Ryosuke Niwa.
+
+ * editing/shadow/delete-list-in-shadow-expected.txt: Added.
+ * editing/shadow/delete-list-in-shadow.html: Added.
+
2012-06-25 Kent Tamura <tkent@chromium.org>
Unreviewed, rolling out r121145.
--- /dev/null
+Elements distributed to Shadow DOM should be deleted correctly when pressing delete key.
+
+To test manually, select somewhere in ABCDE from somehwere in 12345, and press delete, and check the selected text is deleted correctly.
+
+PASS hostTextContent is 'AB345'
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
--- /dev/null
+<!DOCTYPE html>
+<html>
+<body>
+<script src="../../fast/dom/shadow/resources/polyfill.js"></script>
+<script src="../../fast/js/resources/js-test-pre.js"></script>
+
+<p>Elements distributed to Shadow DOM should be deleted correctly when pressing delete key.</p>
+<p>To test manually, select somewhere in ABCDE from somehwere in 12345, and press delete, and check the selected text is deleted correctly.</p>
+
+<div id="container">
+ <ol id="host" contenteditable>
+ <li id="list1">ABCDE</li>
+ <li id="list2">abcde</li>
+ <li id="list3">12345</li>
+ </ol>
+</div>
+<pre id="console"></pre>
+
+<script>
+if (window.layoutTestController)
+ layoutTestController.dumpAsText();
+
+var shadowRoot = new WebKitShadowRoot(host);
+var li = document.createElement('li');
+li.innerHTML = 'hogehoge';
+shadowRoot.appendChild(li);
+shadowRoot.appendChild(document.createElement('shadow'));
+
+if (window.eventSender) {
+ eventSender.mouseMoveTo(list1.offsetLeft + 20, list1.offsetTop + list1.offsetHeight / 2);
+ eventSender.mouseDown();
+ eventSender.mouseMoveTo(list3.offsetLeft + 20, list3.offsetTop + list3.offsetHeight / 2);
+ eventSender.mouseUp();
+
+ eventSender.keyDown('delete');
+
+ var hostTextContent = host.textContent.replace(/^\s+|\s+$/g, '');
+ shouldBe("hostTextContent", "'AB345'");
+ container.innerHTML = "";
+}
+</script>
+
+<script src="../../fast/js/resources/js-test-post.js"></script>
+</body>
+</html>
+2012-06-25 Shinya Kawanaka <shinyak@chromium.org>
+
+ [Shadow] Deleting list distributed to Shadow DOM does not work correctly.
+ https://bugs.webkit.org/show_bug.cgi?id=89170
+
+ Reviewed by Ryosuke Niwa.
+
+ When deleting several elements distributed to Shadow DOM, some renderers might be gone in
+ processing deletion. To fix them, we should call isContentEditable() instead of rendererIsEditable().
+
+ Test: editing/shadow/delete-list-in-shadow.html
+
+ * editing/DeleteFromTextNodeCommand.cpp:
+ (WebCore::DeleteFromTextNodeCommand::doApply):
+
2012-06-25 Min Qin <qinmin@chromium.org>
[Chromium] Fix the css stylesheet for android media controls after recent changes