diff --git a/layout/style/nsRuleNode.cpp b/layout/style/nsRuleNode.cpp index f29506ad638..1bf9321f9a2 100644 --- a/layout/style/nsRuleNode.cpp +++ b/layout/style/nsRuleNode.cpp @@ -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. diff --git a/layout/style/test/test_initial_computation.html b/layout/style/test/test_initial_computation.html index 6b426074874..dc58d838142 100644 --- a/layout/style/test/test_initial_computation.html +++ b/layout/style/test/test_initial_computation.html @@ -125,7 +125,6 @@ var gBrokenInitial = { "bottom": true, "caption-side": true, "clear": true, - "cursor": true, "direction": true, "display": true, "empty-cells": true,