Fix a cursor:-moz-initial assertion and include it in the mochitests. b=379951 r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@226106 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -2493,6 +2493,9 @@ nsRuleNode::ComputeUserInterfaceData(nsStyleStruct* aStartStruct,
|
||||
ui->mCursor = parentUI->mCursor;
|
||||
ui->CopyCursorArrayFrom(*parentUI);
|
||||
}
|
||||
else if (eCSSUnit_Initial == list->mValue.GetUnit()) {
|
||||
ui->mCursor = NS_STYLE_CURSOR_AUTO;
|
||||
}
|
||||
else {
|
||||
// The parser will never create a list that is *all* URL values --
|
||||
// that's invalid.
|
||||
|
||||
@@ -125,7 +125,6 @@ var gBrokenInitial = {
|
||||
"bottom": true,
|
||||
"caption-side": true,
|
||||
"clear": true,
|
||||
"cursor": true,
|
||||
"direction": true,
|
||||
"display": true,
|
||||
"empty-cells": true,
|
||||
|
||||
Reference in New Issue
Block a user