Title: [287415] trunk/Source/WebCore
Revision
287415
Author
n...@apple.com
Date
2021-12-23 15:19:11 -0800 (Thu, 23 Dec 2021)

Log Message

Update display property values in CSSProperties.json
https://bugs.webkit.org/show_bug.cgi?id=234649

Reviewed by Simon Fraser.

Removed some spec links, since they're all in the css-display-3 spec which is already linked for the property.

flow, flow-root: r276293 implemented those 2 keywords in CSSPropertyParser.cpp (consumeDisplay function).

compact: removed in r163560

Also remove duplicate values array for border-collapse.

* css/CSSProperties.json:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (287414 => 287415)


--- trunk/Source/WebCore/ChangeLog	2021-12-23 23:09:43 UTC (rev 287414)
+++ trunk/Source/WebCore/ChangeLog	2021-12-23 23:19:11 UTC (rev 287415)
@@ -1,3 +1,20 @@
+2021-12-23  Tim Nguyen  <n...@apple.com>
+
+        Update display property values in CSSProperties.json
+        https://bugs.webkit.org/show_bug.cgi?id=234649
+
+        Reviewed by Simon Fraser.
+
+        Removed some spec links, since they're all in the css-display-3 spec which is already linked for the property.
+
+        flow, flow-root: r276293 implemented those 2 keywords in CSSPropertyParser.cpp (consumeDisplay function).
+
+        compact: removed in r163560
+
+        Also remove duplicate values array for border-collapse.
+
+        * css/CSSProperties.json:
+
 2021-12-23  Matt Woodrow  <mattwood...@apple.com>
 
         Check allowed network hosts list when we schedule the load in the network process

Modified: trunk/Source/WebCore/css/CSSProperties.json (287414 => 287415)


--- trunk/Source/WebCore/css/CSSProperties.json	2021-12-23 23:09:43 UTC (rev 287414)
+++ trunk/Source/WebCore/css/CSSProperties.json	2021-12-23 23:19:11 UTC (rev 287415)
@@ -277,28 +277,10 @@
             "values": [
                 "inline",
                 "block",
-                {
-                    "value": "flow",
-                    "status": "not implemented",
-                    "url": "https://www.w3.org/TR/css-display-3/#valdef-display-flow"
-                },
-                {
-                    "value": "flow-root",
-                    "status": "not implemented",
-                    "url": "https://www.w3.org/TR/css-display-3/#valdef-display-flow-root"
-                },
+                "flow",
+                "flow-root",
                 "list-item",
-                {
-                    "value": "compact",
-                    "url": "https://www.w3.org/TR/REC-CSS2/visuren.html#compact"
-                },
                 "inline-block",
-                {
-                    "value": "run-in",
-                    "status": "removed",
-                    "url": "https://www.w3.org/TR/css-display-3/#valdef-display-run-in",
-                    "comment": "Removed in https://trac.webkit.org/r163560"
-                },
                 "table",
                 "inline-table",
                 "table-row-group",
@@ -309,36 +291,45 @@
                 "table-column",
                 "table-cell",
                 "table-caption",
+                "flex",
+                "inline-flex",
+                "grid",
+                "inline-grid",
                 {
+                    "value": "ruby",
+                    "status": "not implemented"
+                },
+                "contents",
+                "none",
+                {
                     "value": "-webkit-box",
-                    "url": "https://www.w3.org/TR/2009/WD-css3-flexbox-20090723/"
+                    "status": "obsolete",
+                    "url": "https://compat.spec.whatwg.org/#css-keyword-mappings"
                 },
                 {
                     "value": "-webkit-inline-box",
-                    "url": "https://www.w3.org/TR/2009/WD-css3-flexbox-20090723/"
+                    "status": "obsolete",
+                    "url": "https://compat.spec.whatwg.org/#css-keyword-mappings"
                 },
                 {
-                    "value": "flex",
-                    "url": "https://www.w3.org/TR/css-flexbox-1/#valdef-display-flex"
+                    "value": "-webkit-flex",
+                    "status": "obsolete"
                 },
-                "-webkit-flex",
                 {
-                    "value": "inline-flex",
-                    "url": "https://www.w3.org/TR/css-flexbox-1/#valdef-display-inline-flex"
+                    "value": "-webkit-inline-flex",
+                    "status": "obsolete"
                 },
-                "-webkit-inline-flex",
                 {
-                    "value": "contents",
-                    "url": "https://www.w3.org/TR/css-display-3/#valdef-display-contents"
+                    "value": "compact",
+                    "status": "removed",
+                    "url": "https://www.w3.org/TR/REC-CSS2/visuren.html#compact",
+                    "comment": "Removed in https://commits.webkit.org/r253917"
                 },
-                "none",
                 {
-                    "value": "grid",
-                    "url": "https://www.w3.org/TR/css-grid/#valdef-display-grid"
-                },
-                {  
-                    "value": "inline-grid",
-                    "url": "https://www.w3.org/TR/css-grid/#valdef-display-inline-grid"
+                    "value": "run-in",
+                    "status": "removed",
+                    "url": "https://www.w3.org/TR/css-display-3/#valdef-display-run-in",
+                    "comment": "Removed in https://commits.webkit.org/r163560"
                 }
             ],
             "codegen-properties": {
@@ -1620,10 +1611,6 @@
             }
         },
         "border-collapse": {
-            "values": [
-                "collapse",
-                "separate"
-            ],
             "inherited": true,
             "values": [
                 "collapse",
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to