Support CSS properties currently implemented by browsers #18
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The following properties are now supported (not polyfilling, simply delegating to the browser).
Each properties (including those that have been already supported) can be specified with or without vendor prefixes.
font-kerning
object-fit
object-position
ruby-align
ruby-position
text-size-adjust
line-break
overflow-wrap
/word-wrap
word-wrap
must be treated as if it were a shorthand ofoverflow-wrap
, this implementation treat them as different properties and might result in an incorrect cascading behavior when inconsistent values are specified for both of the properties.tab-size
text-align-last
text-align
property is a shorthand in CSS Text Level 3, this implementation treatstext-align
as a independent property rather than a shorthand since no major browsers support bothtext-align-all
andtext-align-last
currently.text-justify
inter-ideograph
value is supported since we use it in UA stylesheet to emulatetext-justify: auto
behavior defined in the spec on IE.word-break
text-decoration-line
text-decoration-color
text-decoration-style
text-decoration
property is a shorthand in CSS Text Decoration Level 3, this implementation treatstext-decoration
as an independent property compatible with CSS Level 2 since many major browsers do not supporttext-decoration-*
properties yet.text-emphasis-style
text-emphasis-color
text-emphasis
(as a shorthand fortext-emphasis-style
andtext-emphasis-color
)text-emphasis-position
text-underline-position
backface-visibility
box-sizing
text-overflow
text-combine-upright
text-combine
andtext-combine-horizontal
is maintained.text-orientation
touch-action