Examine the WeasyPrint codebase, specifically the CSS property handling in the `weasyprint/css/` directory. Look at how similar text decoration properties are implemented to understand the pattern. Check the issue comments for any maintainer guidance or previous attempts. Consider implementing writing mode first as it is a broader property that may impact layout.