Add rebeccapurple to CSS named color list
authorsimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 19 Jun 2014 00:21:41 +0000 (00:21 +0000)
committersimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 19 Jun 2014 00:21:41 +0000 (00:21 +0000)
https://bugs.webkit.org/show_bug.cgi?id=133804

Reviewed by Jer Noble.

Source/WebCore:

Add the named color "rebeccapurple" (#639).

* css/SVGCSSValueKeywords.in:
* platform/ColorData.gperf:

Source/WebInspectorUI:

Add the named color "rebeccapurple" (#639).

* UserInterface/External/CodeMirror/css.js:
* UserInterface/Models/CSSKeywordCompletions.js:
* UserInterface/Models/Color.js:

LayoutTests:

Add the named color "rebeccapurple" (#639).

* fast/css/named-colors-expected.txt:
* fast/css/named-colors.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@170136 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/ChangeLog
LayoutTests/fast/css/named-colors-expected.txt
LayoutTests/fast/css/named-colors.html
Source/WebCore/ChangeLog
Source/WebCore/css/SVGCSSValueKeywords.in
Source/WebCore/platform/ColorData.gperf
Source/WebInspectorUI/ChangeLog
Source/WebInspectorUI/UserInterface/External/CodeMirror/css.js
Source/WebInspectorUI/UserInterface/Models/CSSKeywordCompletions.js
Source/WebInspectorUI/UserInterface/Models/Color.js

index 4491ed3..727d718 100644 (file)
@@ -1,3 +1,15 @@
+2014-06-18  Simon Fraser  <simon.fraser@apple.com>
+
+        Add rebeccapurple to CSS named color list
+        https://bugs.webkit.org/show_bug.cgi?id=133804
+
+        Reviewed by Jer Noble.
+
+        Add the named color "rebeccapurple" (#639).
+
+        * fast/css/named-colors-expected.txt:
+        * fast/css/named-colors.html:
+
 2014-06-11  Jeffrey Pfau  <jpfau@apple.com>
 
         Fix flaky beforeload tests
index 61a1bf8..876ec61 100644 (file)
@@ -117,6 +117,7 @@ PASS pink is 255,192,203
 PASS plum is 221,160,221
 PASS powderblue is 176,224,230
 PASS purple is 128,0,128
+PASS rebeccapurple is 102,51,153
 PASS red is 255,0,0
 PASS rosybrown is 188,143,143
 PASS royalblue is 65,105,225
index 55018cf..e789d5e 100644 (file)
         ['plum', '221,160,221'],
         ['powderblue', '176,224,230'],
         ['purple', '128,0,128'],
+        ['rebeccapurple', '102,51,153'],
         ['red', '255,0,0'],
         ['rosybrown', '188,143,143'],
         ['royalblue', '65,105,225'],
index 494279e..01d413d 100644 (file)
@@ -1,3 +1,15 @@
+2014-06-18  Simon Fraser  <simon.fraser@apple.com>
+
+        Add rebeccapurple to CSS named color list
+        https://bugs.webkit.org/show_bug.cgi?id=133804
+
+        Reviewed by Jer Noble.
+
+        Add the named color "rebeccapurple" (#639).
+
+        * css/SVGCSSValueKeywords.in:
+        * platform/ColorData.gperf:
+
 2014-06-11  Jeffrey Pfau  <jpfau@apple.com>
 
         Fix flaky beforeload tests
index 773052c..e1b03d0 100644 (file)
@@ -124,6 +124,7 @@ pink
 plum
 powderblue
 // purple
+rebeccapurple
 // red
 rosybrown
 royalblue
index 141b28b..3912341 100644 (file)
@@ -143,6 +143,7 @@ pink, 0xffffc0cb
 plum, 0xffdda0dd
 powderblue, 0xffb0e0e6
 purple, 0xff800080
+rebeccapurple, 0xff663399
 red, 0xffff0000
 rosybrown, 0xffbc8f8f
 royalblue, 0xff4169e1
index 4857837..15112de 100644 (file)
@@ -1,3 +1,16 @@
+2014-06-18  Simon Fraser  <simon.fraser@apple.com>
+
+        Add rebeccapurple to CSS named color list
+        https://bugs.webkit.org/show_bug.cgi?id=133804
+
+        Reviewed by Jer Noble.
+        
+        Add the named color "rebeccapurple" (#639).
+
+        * UserInterface/External/CodeMirror/css.js:
+        * UserInterface/Models/CSSKeywordCompletions.js:
+        * UserInterface/Models/Color.js:
+
 2014-06-18  Jono Wells  <jonowells@apple.com>
 
         Web Inspector: REGRESSION: Style declaration editor: placeholder misaligned
index 1fd46df..aafddb6 100644 (file)
@@ -491,7 +491,7 @@ CodeMirror.defineMode("css", function(config, parserConfig) {
     "navajowhite", "navy", "oldlace", "olive", "olivedrab", "orange", "orangered",
     "orchid", "palegoldenrod", "palegreen", "paleturquoise", "palevioletred",
     "papayawhip", "peachpuff", "peru", "pink", "plum", "powderblue",
-    "purple", "red", "rosybrown", "royalblue", "saddlebrown", "salmon",
+    "purple", "rebeccapurple", "red", "rosybrown", "royalblue", "saddlebrown", "salmon",
     "sandybrown", "seagreen", "seashell", "sienna", "silver", "skyblue",
     "slateblue", "slategray", "snow", "springgreen", "steelblue", "tan",
     "teal", "thistle", "tomato", "turquoise", "violet", "wheat", "white",
index b5f28a0..25f10d1 100644 (file)
@@ -110,7 +110,7 @@ WebInspector.CSSKeywordCompletions._colors = [
     "limegreen", "linen", "magenta", "mediumaquamarine", "mediumblue", "mediumorchid", "mediumpurple", "mediumseagreen",
     "mediumslateblue", "mediumspringgreen", "mediumturquoise", "mediumvioletred", "midnightblue", "mintcream",
     "mistyrose", "moccasin", "navajowhite", "oldlace", "olivedrab", "orangered", "orchid", "palegoldenrod", "palegreen",
-    "paleturquoise", "palevioletred", "papayawhip", "peachpuff", "peru", "pink", "plum", "powderblue", "rosybrown",
+    "paleturquoise", "palevioletred", "papayawhip", "peachpuff", "peru", "pink", "plum", "powderblue", "rebeccapurple", "rosybrown",
     "royalblue", "saddlebrown", "salmon", "sandybrown", "seagreen", "seashell", "sienna", "skyblue", "slateblue",
     "slategray", "slategrey", "snow", "springgreen", "steelblue", "tan", "thistle", "tomato", "turquoise", "violet",
     "wheat", "whitesmoke", "yellowgreen", "rgb()", "rgba()", "hsl()", "hsla()"
index 84bd5a5..718bd22 100644 (file)
@@ -563,6 +563,7 @@ WebInspector.Color.Nicknames = {
     "plum": [221, 160, 221],
     "powderblue": [176, 224, 230],
     "purple": [128, 0, 128],
+    "rebeccapurple": [102, 51, 153],
     "red": [255, 0, 0],
     "rosybrown": [188, 143, 143],
     "royalblue": [65, 105, 225],