Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Update CSSProperties.json for text-align and text-justify #14563

Merged
merged 3 commits into from
Oct 16, 2018
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/extensions/default/CSSCodeHints/CSSProperties.json
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@
"shape-outside": {"values": ["none", "inherit", "circle()", "ellipse()", "polygon()", "inset()", "margin-box", "border-box", "padding-box", "content-box", "url()", "image()", "linear-gradient()", "radial-gradient()", "repeating-linear-gradient()", "repeating-radial-gradient()"]},
"tab-size": {"values": []},
"table-layout": {"values": ["auto", "fixed", "inherit"]},
"text-align": {"values": ["center", "left", "justify", "right", "inherit"]},
"text-align": {"values": ["start", "end", "center", "left", "justify", "right", "match-parent", "justify-all", "inherit"]},
"text-align-last": {"values": ["center", "left", "justify", "right", "inherit"]},
"text-decoration": {"values": ["line-through", "none", "overline", "underline", "inherit"]},
"text-decoration-color": {"values": [], "type": "color"},
Expand All @@ -209,6 +209,7 @@
"text-emphasis-position": {"values": ["above", "below", "left", "right"]},
"text-emphasis-style": {"values": ["circle", "dot", "double-circle", "filled", "none", "open", "sesame", "triangle"]},
"text-indent": {"values": ["inherit"]},
"text-justify": {"values": ["auto", "none", "inter-word", "inter-character"]},
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we have "inherit" as an option for most of the properties. maybe we can add here as well since it is applicable.

"text-overflow": {"values": ["clip", "ellipsis", "inherit"]},
"text-shadow": {"values": []},
"text-rendering": {"values": ["auto", "geometricPrecision", "optimizeLegibility", "optimizeSpeed"]},
Expand Down