Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allows start, end, justify-all and match-parent as text-align values. #335

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

martin-jackson
Copy link

After this change, all values currently listed on MDN for text-align are allowed: https://developer.mozilla.org/en-US/docs/Web/CSS/text-align#values

left and right are not in textAlignLiterals0, but they are already included through azimuthLiterals1:

Set<String> azimuthLiterals1 = j8().setOf("left", "right");

Property textAlign = new Property(
0, union(azimuthLiterals1, textAlignLiterals0), zeroFns);
builder.put("text-align", textAlign);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant