mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 00:05:36 +00:00
Backed out changeset 9a7b90cf8a63 (bug 1361618) for frequently failing accessible/tests/browser/states/browser_test_link.js (bug 1385498). r=backout a=backout
MozReview-Commit-ID: DK2CuaYBPbj
This commit is contained in:
parent
40c3480d89
commit
22f1bfd79d
@ -1823,6 +1823,7 @@ ElementRestyler::Restyle(nsRestyleHint aRestyleHint)
|
|||||||
// descendants have been resolved), we don't want to consume it
|
// descendants have been resolved), we don't want to consume it
|
||||||
// for the inner frame.
|
// for the inner frame.
|
||||||
mContent->GetPrimaryFrame() == mFrame) {
|
mContent->GetPrimaryFrame() == mFrame) {
|
||||||
|
mContent->OwnerDoc()->FlushPendingLinkUpdates();
|
||||||
nsAutoPtr<RestyleTracker::RestyleData> restyleData;
|
nsAutoPtr<RestyleTracker::RestyleData> restyleData;
|
||||||
if (mRestyleTracker.GetRestyleData(mContent->AsElement(), restyleData)) {
|
if (mRestyleTracker.GetRestyleData(mContent->AsElement(), restyleData)) {
|
||||||
nsChangeHint changeToAppend =
|
nsChangeHint changeToAppend =
|
||||||
|
@ -5156,6 +5156,7 @@ nsCSSFrameConstructor::ResolveStyleContext(nsStyleContext* aParentStyleContext,
|
|||||||
Element* aOriginatingElementOrNull)
|
Element* aOriginatingElementOrNull)
|
||||||
{
|
{
|
||||||
StyleSetHandle styleSet = mPresShell->StyleSet();
|
StyleSetHandle styleSet = mPresShell->StyleSet();
|
||||||
|
aContent->OwnerDoc()->FlushPendingLinkUpdates();
|
||||||
|
|
||||||
RefPtr<nsStyleContext> result;
|
RefPtr<nsStyleContext> result;
|
||||||
if (aContent->IsElement()) {
|
if (aContent->IsElement()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user