From 918d64e75a312612b9218de4831f7fa141aad029 Mon Sep 17 00:00:00 2001 From: "mats.palmgren%bredband.net" Date: Tue, 8 May 2007 06:25:04 +0000 Subject: [PATCH] Backing out bug 379906 to fix orange. --- layout/style/nsRuleNode.cpp | 3 --- layout/style/test/test_initial_computation.html | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/layout/style/nsRuleNode.cpp b/layout/style/nsRuleNode.cpp index 1bf9321f9a2..f29506ad638 100644 --- a/layout/style/nsRuleNode.cpp +++ b/layout/style/nsRuleNode.cpp @@ -2493,9 +2493,6 @@ 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 dc58d838142..6b426074874 100644 --- a/layout/style/test/test_initial_computation.html +++ b/layout/style/test/test_initial_computation.html @@ -125,6 +125,7 @@ var gBrokenInitial = { "bottom": true, "caption-side": true, "clear": true, + "cursor": true, "direction": true, "display": true, "empty-cells": true,