We found browsers are inconsistent on the topic on pre-wrap. pre always include trailing spaces.
| Feature |
Blink |
Edge |
Gecko |
WebKit |
text-align: start |
Don't include |
Don't include |
Don't include |
Don't include |
text-align: end / center |
Include |
Include |
Include |
Don't include |
text-align: justify |
If !wrap |
Do not justify |
Do not justify |
Do not justify |
min-content |
Don't include |
Don't include |
Include |
Don't include |
max-content |
Include |
Include |
Include |
Include |
Can we define these? Are there more cases we should cover?
Note: table updated on June 2, 2019. text-align: left added, and some values updated. Changes maybe from inaccurate old tests, or browsers updated, not sure.
We found browsers are inconsistent on the topic on
pre-wrap.prealways include trailing spaces.text-align: starttext-align: end / centertext-align: justifymin-contentmax-contentCan we define these? Are there more cases we should cover?
Note: table updated on June 2, 2019.
text-align: leftadded, and some values updated. Changes maybe from inaccurate old tests, or browsers updated, not sure.