Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(461)

Unified Diff: third_party/WebKit/Source/devtools/front_end/sdk/CSSMetadata.js

Issue 2880593002: DevTools: Add CSS Box Alignment properties to CSSMetadata.js (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/devtools/front_end/sdk/CSSMetadata.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/CSSMetadata.js b/third_party/WebKit/Source/devtools/front_end/sdk/CSSMetadata.js
index 2b2ce62ea8f629d74f2a099ff6cd0cb15911cbcf..fbea1da7e39e973ecf67206ff7f8081e489b00cf 100644
--- a/third_party/WebKit/Source/devtools/front_end/sdk/CSSMetadata.js
+++ b/third_party/WebKit/Source/devtools/front_end/sdk/CSSMetadata.js
@@ -645,11 +645,61 @@ SDK.CSSMetadata._propertyDataMap = {
'box-sizing': {values: ['content-box', 'border-box']},
'clip': {values: ['auto']},
'resize': {values: ['none', 'both', 'horizontal', 'vertical']},
- 'align-content': {values: ['flex-start', 'flex-end', 'center', 'space-between', 'space-around', 'stretch']},
- 'align-items': {values: ['flex-start', 'flex-end', 'center', 'baseline', 'stretch']},
- 'align-self': {values: ['auto', 'flex-start', 'flex-end', 'center', 'baseline', 'stretch']},
+ 'align-content': {
+ values: [
+ 'normal', 'baseline', 'space-between', 'space-around', 'space-evenly', 'stretch', 'unsafe', 'safe', 'center',
+ 'start', 'end', 'flex-start', 'flex-end', 'left', 'right'
+ ]
+ },
+ 'justify-content': {
+ values: [
+ 'normal', 'space-between', 'space-around', 'space-evenly', 'stretch', 'unsafe', 'safe', 'center', 'start', 'end',
+ 'flex-start', 'flex-end', 'left', 'right'
+ ]
+ },
+ 'place-content': {
+ values: [
+ 'normal', 'space-between', 'space-around', 'space-evenly', 'stretch', 'unsafe', 'safe', 'center', 'start', 'end',
+ 'flex-start', 'flex-end', 'left', 'right'
+ ]
+ },
+ 'align-items': {
+ values: [
+ 'normal', 'stretch', 'basline', 'unsafe', 'safe', 'center', 'start', 'end', 'self-start', 'self-end',
+ 'flex-start', 'flex-end', 'left', 'right'
+ ]
+ },
+ 'justify-items': {
+ values: [
+ 'normal', 'stretch', 'basline', 'unsafe', 'safe', 'center', 'start', 'end', 'self-start', 'self-end',
+ 'flex-start', 'flex-end', 'left', 'right', 'legacy'
+ ]
+ },
+ 'place-items': {
+ values: [
+ 'auto', 'normal', 'stretch', 'basline', 'unsafe', 'safe', 'center', 'start', 'end', 'self-start', 'self-end',
+ 'flex-start', 'flex-end', 'left', 'right'
+ ]
+ },
+ 'align-self': {
+ values: [
+ 'auto', 'normal', 'stretch', 'basline', 'unsafe', 'safe', 'center', 'start', 'end', 'self-start', 'self-end',
+ 'flex-start', 'flex-end', 'left', 'right'
+ ]
+ },
+ 'justify-self': {
+ values: [
+ 'auto', 'normal', 'stretch', 'basline', 'unsafe', 'safe', 'center', 'start', 'end', 'self-start', 'self-end',
+ 'flex-start', 'flex-end', 'left', 'right'
+ ]
+ },
+ 'place-self': {
+ values: [
+ 'auto', 'normal', 'stretch', 'basline', 'unsafe', 'safe', 'center', 'start', 'end', 'self-start', 'self-end',
+ 'flex-start', 'flex-end', 'left', 'right'
+ ]
+ },
'flex-direction': {values: ['row', 'row-reverse', 'column', 'column-reverse']},
- 'justify-content': {values: ['flex-start', 'flex-end', 'center', 'space-between', 'space-around']},
'flex-wrap': {values: ['nowrap', 'wrap', 'wrap-reverse']},
'perspective': {values: ['none']},
'perspective-origin': {values: ['left', 'center', 'right', 'top', 'bottom']},
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698