Skip to content

Commit

Permalink
Complete flexbox support for Chrome (#1945)
Browse files Browse the repository at this point in the history
* Complete flexbox support for Chrome

* Add version for full Chrome implementation of flexbox

* Follow Chrome version for flexbox in Webview

* Revert Flex type

* Remove partial implementation from `order`
  • Loading branch information
frenic authored and ddbeck committed Apr 27, 2018
1 parent b9da185 commit 01c2b6d
Show file tree
Hide file tree
Showing 12 changed files with 321 additions and 76 deletions.
26 changes: 19 additions & 7 deletions css/properties/align-content.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/align-content",
"support": {
"webview_android": {
"version_added": "4.4"
},
"chrome": [
{
"version_added": "29"
Expand All @@ -17,9 +14,15 @@
"version_added": "21"
}
],
"chrome_android": {
"version_added": true
},
"chrome_android": [
{
"version_added": "29"
},
{
"prefix": "-webkit-",
"version_added": "21"
}
],
"edge": [
{
"version_added": "12"
Expand Down Expand Up @@ -107,7 +110,16 @@
],
"samsunginternet_android": {
"version_added": true
}
},
"webview_android": [
{
"version_added": "29"
},
{
"prefix": "-webkit-",
"version_added": "21"
}
]
},
"status": {
"experimental": false,
Expand Down
54 changes: 43 additions & 11 deletions css/properties/align-items.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,34 @@
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/align-items",
"support": {
"webview_android": {
"version_added": "4.4"
},
"chrome": {
"version_added": "21",
"notes": "Older versions of the specification treat absolute positioned children as though they are a 0 by 0 flex item. Later specification versions take the children out of the flow and set their positions based on align and justify properties. Chrome implements the new behavior beginning with Chrome 52."
},
"chrome_android": {
"version_added": null
},
"chrome": [
{
"version_added": "52"
},
{
"version_added": "29",
"partial_implementation": true,
"notes": "Older versions of the specification treat absolute positioned children as though they are a 0 by 0 flex item. Later specification versions take the children out of the flow and set their positions based on align and justify properties. Chrome implements the new behavior beginning with Chrome 52."
},
{
"prefix": "-webkit-",
"version_added": "21"
}
],
"chrome_android": [
{
"version_added": "52"
},
{
"version_added": "29",
"partial_implementation": true,
"notes": "Older versions of the specification treat absolute positioned children as though they are a 0 by 0 flex item. Later specification versions take the children out of the flow and set their positions based on align and justify properties. Chrome implements the new behavior beginning with Chrome 52."
},
{
"prefix": "-webkit-",
"version_added": "21"
}
],
"edge": [
{
"version_added": "12"
Expand Down Expand Up @@ -117,7 +135,21 @@
},
"samsunginternet_android": {
"version_added": null
}
},
"webview_android": [
{
"version_added": "52"
},
{
"version_added": "29",
"partial_implementation": true,
"notes": "Older versions of the specification treat absolute positioned children as though they are a 0 by 0 flex item. Later specification versions take the children out of the flow and set their positions based on align and justify properties. Chrome implements the new behavior beginning with Chrome 52."
},
{
"prefix": "-webkit-",
"version_added": "21"
}
]
},
"status": {
"experimental": false,
Expand Down
41 changes: 34 additions & 7 deletions css/properties/align-self.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,34 @@
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/align-self",
"support": {
"webview_android": {
"version_added": null
},
"chrome": [
{
"version_added": "36"
},
{
"version_added": "29",
"partial_implementation": true,
"notes": "Older versions of the specification treat absolute positioned children as though they are a 0 by 0 flex item. Later specification versions take the children out of the flow and set their positions based on align and justify properties. Chrome implements the new behavior beginning with Chrome 52."
},
{
"prefix": "-webkit-",
"version_added": "21"
}
],
"chrome_android": [
{
"version_added": "36"
},
{
"version_added": "29",
"partial_implementation": true,
"notes": "Older versions of the specification treat absolute positioned children as though they are a 0 by 0 flex item. Later specification versions take the children out of the flow and set their positions based on align and justify properties. Chrome implements the new behavior beginning with Chrome 52."
},
{
"prefix": "-webkit-",
"version_added": "21"
}
],
"chrome_android": {
"version_added": null
},
"edge": {
"version_added": "12"
},
Expand Down Expand Up @@ -84,7 +97,21 @@
},
"samsunginternet_android": {
"version_added": null
}
},
"webview_android": [
{
"version_added": "36"
},
{
"version_added": "29",
"partial_implementation": true,
"notes": "Older versions of the specification treat absolute positioned children as though they are a 0 by 0 flex item. Later specification versions take the children out of the flow and set their positions based on align and justify properties. Chrome implements the new behavior beginning with Chrome 52."
},
{
"prefix": "-webkit-",
"version_added": "21"
}
]
},
"status": {
"experimental": false,
Expand Down
33 changes: 28 additions & 5 deletions css/properties/flex-basis.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,24 @@
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/flex-basis",
"support": {
"chrome": {
"prefix": "-webkit-",
"version_added": "21"
},
"chrome": [
{
"version_added": "29"
},
{
"prefix": "-webkit-",
"version_added": "21"
}
],
"chrome_android": [
{
"version_added": "29"
},
{
"prefix": "-webkit-",
"version_added": "21"
}
],
"edge": [
{
"version_added": "12"
Expand Down Expand Up @@ -124,7 +138,16 @@
],
"safari_ios": {
"version_added": "9.2"
}
},
"webview_android": [
{
"version_added": "29"
},
{
"prefix": "-webkit-",
"version_added": "21"
}
]
},
"status": {
"experimental": false,
Expand Down
33 changes: 28 additions & 5 deletions css/properties/flex-direction.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,24 @@
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/flex-direction",
"support": {
"chrome": {
"prefix": "-webkit-",
"version_added": "21"
},
"chrome": [
{
"version_added": "29"
},
{
"prefix": "-webkit-",
"version_added": "21"
}
],
"chrome_android": [
{
"version_added": "29"
},
{
"prefix": "-webkit-",
"version_added": "21"
}
],
"edge": [
{
"version_added": "12"
Expand Down Expand Up @@ -97,7 +111,16 @@
],
"safari_ios": {
"version_added": null
}
},
"webview_android": [
{
"version_added": "29"
},
{
"prefix": "-webkit-",
"version_added": "21"
}
]
},
"status": {
"experimental": false,
Expand Down
18 changes: 18 additions & 0 deletions css/properties/flex-flow.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@
"version_added": "21"
}
],
"chrome_android": [
{
"version_added": "29"
},
{
"prefix": "-webkit-",
"version_added": "21"
}
],
"edge": {
"version_added": "12"
},
Expand Down Expand Up @@ -98,6 +107,15 @@
"prefix": "-webkit-",
"version_added": "7.1"
}
],
"webview_android": [
{
"version_added": "29"
},
{
"prefix": "-webkit-",
"version_added": "21"
}
]
},
"status": {
Expand Down
33 changes: 28 additions & 5 deletions css/properties/flex-grow.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,24 @@
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/flex-grow",
"support": {
"chrome": {
"prefix": "-webkit-",
"version_added": "21"
},
"chrome": [
{
"version_added": "29"
},
{
"prefix": "-webkit-",
"version_added": "21"
}
],
"chrome_android": [
{
"version_added": "29"
},
{
"prefix": "-webkit-",
"version_added": "21"
}
],
"edge": [
{
"version_added": "12"
Expand Down Expand Up @@ -89,7 +103,16 @@
},
"safari_ios": {
"version_added": null
}
},
"webview_android": [
{
"version_added": "29"
},
{
"prefix": "-webkit-",
"version_added": "21"
}
]
},
"status": {
"experimental": false,
Expand Down
33 changes: 28 additions & 5 deletions css/properties/flex-shrink.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,24 @@
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/flex-shrink",
"support": {
"chrome": {
"prefix": "-webkit-",
"version_added": "21"
},
"chrome": [
{
"version_added": "29"
},
{
"prefix": "-webkit-",
"version_added": "21"
}
],
"chrome_android": [
{
"version_added": "29"
},
{
"prefix": "-webkit-",
"version_added": "21"
}
],
"edge": [
{
"version_added": "12"
Expand Down Expand Up @@ -125,7 +139,16 @@
},
"safari_ios": {
"version_added": null
}
},
"webview_android": [
{
"version_added": "29"
},
{
"prefix": "-webkit-",
"version_added": "21"
}
]
},
"status": {
"experimental": false,
Expand Down
Loading

0 comments on commit 01c2b6d

Please sign in to comment.