зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset a1ee6ca61426 (bug 602130) because of test failure
This commit is contained in:
Родитель
8704706327
Коммит
ffa4ad5358
|
@ -1145,9 +1145,9 @@ nsTextEditorState::PrepareEditor(const nsAString *aValue)
|
|||
rv = mBoundFrame->UpdateValueDisplay(PR_FALSE, PR_TRUE);
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
} else {
|
||||
if (aValue || !mEditorInitialized) {
|
||||
if (aValue) {
|
||||
// Set the correct value in the root node
|
||||
rv = mBoundFrame->UpdateValueDisplay(PR_TRUE, !mEditorInitialized, aValue);
|
||||
rv = mBoundFrame->UpdateValueDisplay(PR_TRUE, PR_FALSE, aValue);
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<body>
|
||||
<input autofocus style="display:block">
|
||||
</body>
|
||||
</html>
|
|
@ -1,14 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
<body>
|
||||
<input onfocus="focused()" autofocus>
|
||||
<script>
|
||||
function focused() {
|
||||
var i = document.querySelector("input");
|
||||
i.style.display = "block";
|
||||
document.offsetWidth;
|
||||
document.documentElement.removeAttribute("class");
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -21,4 +21,3 @@ include xul/reftest.list
|
|||
!= caret_on_textarea_lastline.html caret_on_textarea_lastline-ref.html
|
||||
== input-text-onfocus-reframe.html input-text-onfocus-reframe-ref.html
|
||||
== input-text-notheme-onfocus-reframe.html input-text-notheme-onfocus-reframe-ref.html
|
||||
== caret_after_reframe.html caret_after_reframe-ref.html
|
||||
|
|
Загрузка…
Ссылка в новой задаче