gecko-dev/content
Ehsan Akhgari c8f5bacca6 Bug 997805 - Correctly restore the placeholder text after the editor object is re-attached to a text control as a result of a reframe; r=bzbarsky
Recomputing the placeholder visibility does not require the placeholder div
itself to be present, as the only information required for that is the current
value of the text control which is present either way.  This patch fixes
nsTextEditorState::ValueWasChanged and nsTextEditorState::UpdatePlaceholderVisibility
to that effect.

But the real fix is in nsTextEditorState::UpdatePlaceholderText, where after
setting the placeholder text on the anonymous div, we redo the placeholder
visibility computation.  Since this function can be called from
HTMLTextAreaElement::CreatePlaceholderNode during frame construction, the
GetValue function may return the wrong value since the editor has not properly
been set up yet, resulting in this bug.  And this function call is useless
anyway, because changing the placeholder text does not really affect the
result of the visibility computation, so there is no need to do this work
in the first place.
2014-04-25 16:40:44 -04:00
..
base Bug 1000974 - Don't do cycle collector optimization for nodes in the shadow tree. r=smaug 2014-04-25 09:12:26 -07:00
canvas Bug 998727 - Remove nsICanvasGLBuffer and nsICanvasGLTexture; r=smaug 2014-04-24 17:10:00 -04:00
html Bug 997805 - Correctly restore the placeholder text after the editor object is re-attached to a text control as a result of a reframe; r=bzbarsky 2014-04-25 16:40:44 -04:00
mathml/content Backed out changeset 6a0290190c1b (bug 946065) 2014-04-14 08:50:29 +02:00
media Merge b2g-inbound to m-c. 2014-04-25 16:12:25 -04:00
svg Bug 991545 - Update SVGTransformableElement::GetAttributeChangeHint to use nsChangeHint_UpdatePostTransformOverflow. r=longsonr 2014-04-07 12:52:12 -07:00
test Bug 966609 - nsWrapperCache for SandboxPrivate. r=bholley 2014-03-24 16:00:52 +01:00
xml Backed out changeset 8b8fa0cf1e2f (Bug 994740 ) for causing crashtest failures on a CLOSED TREE 2014-04-14 12:57:43 +02:00
xul Backing out bug 990685 as it changes some assumptions for XBL bindings. 2014-04-24 13:05:38 -07:00
moz.build Backed out changeset c2350812b7f1 (bug 946065) hoping this fix the B2G mochitest-7 perma-fail on a CLOSED TREE 2014-04-14 08:51:51 +02:00