зеркало из https://github.com/mozilla/gecko-dev.git
Bug 609821 - Don't attempt to update the position of caret when we may have pending reflow operations; r=roc a=bsmedberg
This commit is contained in:
Родитель
e7bc30c680
Коммит
bc3d07f965
|
@ -0,0 +1,17 @@
|
|||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<script>
|
||||
<![CDATA[
|
||||
|
||||
function boom()
|
||||
{
|
||||
var td = document.getElementById("td");
|
||||
td.contentEditable = "true";
|
||||
td.focus();
|
||||
}
|
||||
|
||||
]]>
|
||||
</script></head>
|
||||
|
||||
<body onload="boom();"><td id="td"/></body>
|
||||
</html>
|
|
@ -313,3 +313,4 @@ load 572582-1.xhtml
|
|||
load 579655.html
|
||||
load 580494-1.html
|
||||
load 580834-1.xhtml
|
||||
load 609821-1.xhtml
|
||||
|
|
|
@ -7615,7 +7615,6 @@ PresShell::WillDoReflow()
|
|||
// XXXbz that comment makes no sense
|
||||
if (mCaret) {
|
||||
mCaret->InvalidateOutsideCaret();
|
||||
mCaret->UpdateCaretPosition();
|
||||
}
|
||||
|
||||
mPresContext->FlushUserFontSet();
|
||||
|
|
Загрузка…
Ссылка в новой задаче