-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add documentation and validation for CSSPseudoSelectors.json
https://bugs.webkit.org/show_bug.cgi?id=267031 rdar://120407844 Reviewed by Simon Fraser. Add validation for: - field types - unknown fields - "argument" field values - ensuring no-one uses "argument" along with "user-agent-part" Also add some documentation inline in CSSPseudoSelectors.json. Documentation for each field is also enforced through the script. * Source/WebCore/css/CSSPseudoSelectors.json: * Source/WebCore/css/process-css-pseudo-selectors.py: (InputValidator): (InputValidator.__init__): (InputValidator.validate_fields): Canonical link: https://commits.webkit.org/272651@main
- Loading branch information
Showing
2 changed files
with
88 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters