Remove partial implementation of -moz-key-equivalent that was useful for nothing other than crashing. b=265721 r+sr=bzbarsky a=asa

This commit is contained in:
dbaron%dbaron.org 2004-10-24 04:43:49 +00:00
parent 52771912ef
commit 23bc4069c3
6 changed files with 0 additions and 8 deletions

View File

@ -1063,7 +1063,6 @@ nsRuleNode::GetUIResetData(nsStyleContext* aContext)
ruleData.mUserInterfaceData = &uiData;
const nsStyleStruct* res = WalkRuleTree(eStyleStruct_UIReset, aContext, &ruleData, &uiData);
uiData.mKeyEquivalent = nsnull;
return res;
}

View File

@ -485,7 +485,6 @@ struct nsCSSUserInterface : public nsCSSStruct { // NEW
nsCSSValue mUserInput;
nsCSSValue mUserModify;
nsCSSValue mUserSelect;
nsCSSValueList* mKeyEquivalent;
nsCSSValue mUserFocus;
nsCSSValueList* mCursor;

View File

@ -245,8 +245,6 @@ CSSDisablePropsRule::CommonMapRuleInfoInto(nsRuleData* aData)
if (aData->mSID == eStyleStruct_UIReset) {
nsCSSValue autovalue(eCSSUnit_Auto);
nsCSSValue none(eCSSUnit_None);
// XXX |mKeyEquivalent| is a pain, because we have to have our own cursor
// structure allocated.
// Don't bother with '-moz-force-broken-image-icon' since it's only
// half a property.
// Don't bother with '-moz-user-select' because there's no way to

View File

@ -485,7 +485,6 @@ struct nsCSSUserInterface : public nsCSSStruct { // NEW
nsCSSValue mUserInput;
nsCSSValue mUserModify;
nsCSSValue mUserSelect;
nsCSSValueList* mKeyEquivalent;
nsCSSValue mUserFocus;
nsCSSValueList* mCursor;

View File

@ -245,8 +245,6 @@ CSSDisablePropsRule::CommonMapRuleInfoInto(nsRuleData* aData)
if (aData->mSID == eStyleStruct_UIReset) {
nsCSSValue autovalue(eCSSUnit_Auto);
nsCSSValue none(eCSSUnit_None);
// XXX |mKeyEquivalent| is a pain, because we have to have our own cursor
// structure allocated.
// Don't bother with '-moz-force-broken-image-icon' since it's only
// half a property.
// Don't bother with '-moz-user-select' because there's no way to

View File

@ -1063,7 +1063,6 @@ nsRuleNode::GetUIResetData(nsStyleContext* aContext)
ruleData.mUserInterfaceData = &uiData;
const nsStyleStruct* res = WalkRuleTree(eStyleStruct_UIReset, aContext, &ruleData, &uiData);
uiData.mKeyEquivalent = nsnull;
return res;
}