Skip to content

Recognize overflow-wrap in CSS3 text profile - #82

Draft
cananoo wants to merge 2 commits into
jaraco:mainfrom
cananoo:fix/78-overflow-wrap
Draft

Recognize overflow-wrap in CSS3 text profile#82
cananoo wants to merge 2 commits into
jaraco:mainfrom
cananoo:fix/78-overflow-wrap

Conversation

@cananoo

@cananoo cananoo commented Aug 27, 2026

Copy link
Copy Markdown

Fixes #78.

overflow-wrap is standardized in CSS Text Module Level 3, but cssutils did
not recognize it in the CSS3 Text profile and reported it as an unknown
property. This adds the property with its supported CSS-wide and text-wrapping
values, and adds regression coverage for valid and invalid values.

Validation:

  • python -m pytest -q -p no:ruff tests/test_profiles.py (21 passed, 11 xfailed)
  • ruff check cssutils/profiles.py tests/test_profiles.py
  • git diff --check

I used OpenAI Codex to assist with investigating and preparing this change, and
reviewed the resulting profile definition and tests before submission.

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.

Missing CSS property: overflow-wrap

1 participant