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:
mats.palmgren%bredband.net
2007-05-08 05:46:37 +00:00
parent 84ea96f586
commit 35c84837f8
2 changed files with 3 additions and 1 deletions

View File

@@ -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.

View File

@@ -125,7 +125,6 @@ var gBrokenInitial = {
"bottom": true,
"caption-side": true,
"clear": true,
"cursor": true,
"direction": true,
"display": true,
"empty-cells": true,