mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 05:45:37 +00:00
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:
parent
52771912ef
commit
23bc4069c3
@ -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;
|
||||
}
|
||||
|
||||
|
@ -485,7 +485,6 @@ struct nsCSSUserInterface : public nsCSSStruct { // NEW
|
||||
nsCSSValue mUserInput;
|
||||
nsCSSValue mUserModify;
|
||||
nsCSSValue mUserSelect;
|
||||
nsCSSValueList* mKeyEquivalent;
|
||||
nsCSSValue mUserFocus;
|
||||
|
||||
nsCSSValueList* mCursor;
|
||||
|
@ -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
|
||||
|
@ -485,7 +485,6 @@ struct nsCSSUserInterface : public nsCSSStruct { // NEW
|
||||
nsCSSValue mUserInput;
|
||||
nsCSSValue mUserModify;
|
||||
nsCSSValue mUserSelect;
|
||||
nsCSSValueList* mKeyEquivalent;
|
||||
nsCSSValue mUserFocus;
|
||||
|
||||
nsCSSValueList* mCursor;
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user