Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Better fix for issue 4929 (Update list of inherited properties)

  • Loading branch information...
commit ebc63e624e744633f07c401dc84386c041ad28d4 1 parent cb22587
Sebastian Zartner authored
2  extension/content/firebug/css/cssPanel.js
@@ -532,7 +532,7 @@ Firebug.CSSStyleSheetPanel.prototype = Obj.extend(Firebug.Panel,
532 532
 
533 533
     addProperty: function(name, value, important, disabled, inheritMode, props)
534 534
     {
535  
-        if (inheritMode && !Css.inheritedStyleNames[name])
  535
+        if (inheritMode && !Dom.domUtils.isInheritedProperty(name))
536 536
             return;
537 537
 
538 538
         name = this.translateName(name, value);
36  extension/content/firebug/lib/css.js
@@ -1044,42 +1044,6 @@ Css.cssInfo.svg =
1044 1044
     "writing-mode": ["writingMode"]
1045 1045
 };
1046 1046
 
1047  
-Css.inheritedStyleNames =
1048  
-{
1049  
-    "border-collapse": 1,
1050  
-    "border-spacing": 1,
1051  
-    "caption-side": 1,
1052  
-    "color": 1,
1053  
-    "cursor": 1,
1054  
-    "direction": 1,
1055  
-    "empty-cells": 1,
1056  
-    "font": 1,
1057  
-    "font-family": 1,
1058  
-    "font-size-adjust": 1,
1059  
-    "font-size": 1,
1060  
-    "font-style": 1,
1061  
-    "font-variant": 1,
1062  
-    "font-weight": 1,
1063  
-    "letter-spacing": 1,
1064  
-    "line-height": 1,
1065  
-    "list-style": 1,
1066  
-    "list-style-image": 1,
1067  
-    "list-style-position": 1,
1068  
-    "list-style-type": 1,
1069  
-    "orphans": 1,
1070  
-    "quotes": 1,
1071  
-    "text-align": 1,
1072  
-    "text-decoration": 1,
1073  
-    "text-indent": 1,
1074  
-    "text-shadow": 1,
1075  
-    "text-transform": 1,
1076  
-    "visibility": 1,
1077  
-    "white-space": 1,
1078  
-    "widows": 1,
1079  
-    "word-spacing": 1,
1080  
-    "word-wrap": 1
1081  
-};
1082  
-
1083 1047
 Css.multiValuedProperties =
1084 1048
 {
1085 1049
     "background": 1,

0 notes on commit ebc63e6

Please sign in to comment.
Something went wrong with that request. Please try again.