Skip to content

Release 1.1.4 - #252

Merged
FlorianRappl merged 4 commits into
mainfrom
devel
Oct 20, 2026
Merged

FlorianRappl merged 4 commits into
mainfrom
devel

Conversation

@FlorianRappl

Copy link
Copy Markdown
Contributor

Types of Changes

Prerequisites

Please make sure you can check the following two boxes:

  • I have read the CONTRIBUTING document
  • My code follows the code style of this project

Contribution Type

What types of changes does your code introduce? Put an x in all the boxes that apply:

  • Bug fix (non-breaking change which fixes an issue, please reference the issue id)
  • New feature (non-breaking change which adds functionality, make sure to open an associated issue first)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • My change requires a change to the documentation
  • I have updated the documentation accordingly
  • I have added tests to cover my changes
  • All new and existing tests passed

Description

This pull request prepares the 1.1.4 release, adding new features, fixing several bugs, and updating the test suite to reflect recent CSS specification changes. The most significant updates include improvements to the default stylesheet, more accurate computed value serialization (especially for zero lengths and percentages), and enhanced support for CSS features like font-variant-caps and backdrop-filter. Several tests have been updated or added to ensure correct behavior for these changes.

These changes ensure better alignment with CSS specifications and improve the reliability and correctness of computed styles and serialization.

- Add HTML5 block elements, non-rendered elements, and form control
  styles to the default stylesheet
- Order author rules after default stylesheet rules in the cascade
- Only apply rules targeting a pseudo-element to pseudo-elements
- Resolve bolder/lighter font weights against the parent's weight
- Keep percentage border radii as percentages when computed
- Serialize computed zero lengths with their unit

Claude-Session: https://claude.ai/code/session_01DUiWwndVDkFspUBUZjaPLZ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant