Support for attribute "selected" on mstyle (bug 569125). r=karlt

--HG--
extra : rebase_source : 7da767a2d114d17b4fb44dc632451307d07de216
This commit is contained in:
Frédéric Wang 2011-05-12 20:18:13 +12:00
parent 3d45b28f5a
commit 5404068fed

View File

@ -200,7 +200,8 @@ nsMathMLmactionFrame::GetSelectedFrame()
nsAutoString value;
PRInt32 selection;
mContent->GetAttr(kNameSpaceID_None, nsGkAtoms::selection_, value);
GetAttribute(mContent, mPresentationData.mstyle, nsGkAtoms::selection_,
value);
if (!value.IsEmpty()) {
PRInt32 errorCode;
selection = value.ToInteger(&errorCode);