Skip to content

Commit

Permalink
Complete flexbox support for Chrome
Browse files Browse the repository at this point in the history
  • Loading branch information
frenic committed Apr 25, 2018
1 parent 0db4bd3 commit 5f5619d
Show file tree
Hide file tree
Showing 12 changed files with 189 additions and 47 deletions.
12 changes: 9 additions & 3 deletions css/properties/align-content.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,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
29 changes: 22 additions & 7 deletions css/properties/align-items.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,28 @@
"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": "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": "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
18 changes: 14 additions & 4 deletions css/properties/align-self.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,26 @@
},
"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": "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
22 changes: 18 additions & 4 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
22 changes: 18 additions & 4 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
9 changes: 9 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
22 changes: 18 additions & 4 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
22 changes: 18 additions & 4 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
21 changes: 18 additions & 3 deletions css/properties/flex-wrap.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,24 @@
"webview_android": {
"version_added": "4.4"
},
"chrome": {
"version_added": "29"
},
"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
17 changes: 13 additions & 4 deletions css/properties/justify-content.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,25 @@
"chrome": [
{
"version_added": "29",
"notes": "Older versions of the specification treat absolutely positioned children as though they are 0 by 0 flex items. Later versions of the specification take them out of the flow and set their positions based on align and justify properties. Versions 52 and later implement the new behavior."
"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": "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": true
},
"edge": [
{
"version_added": "12"
Expand Down
18 changes: 14 additions & 4 deletions css/properties/order.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,26 @@
},
"chrome": [
{
"version_added": "29"
"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": "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
24 changes: 18 additions & 6 deletions css/types/flex.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,24 @@
"webview_android": {
"version_added": "57"
},
"chrome": {
"version_added": "29"
},
"chrome_android": {
"version_added": "29"
},
"chrome": [
{
"version_added": "29"
},
{
"prefix": "-webkit-",
"version_added": "21"
}
],
"chrome_android": [
{
"version_added": "29"
},
{
"prefix": "-webkit-",
"version_added": "21"
}
],
"edge": {
"version_added": "16"
},
Expand Down

0 comments on commit 5f5619d

Please sign in to comment.