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

feat: update viewport meta element requirements #1460

Merged
merged 3 commits into from
Dec 15, 2022
Merged

Conversation

rdeltour
Copy link
Member

Update viewport checks

This PR implements the post-CR changes on the requirements for the
viewport meta element used to define the ICB in fixed-layout documents.

Viewport syntax:

  • properties can now have several values
  • the ViewportMeta object now return a list of string values when looking up values for a name.

ICB definition checks:

  • only the first viewport meta element of fixed-layout documents is checked
  • new HTM-059 error is reported when height or width dimensions are specified more than once
  • new HTM-060a usage is reported for any subsequent viewport meta element found in fixed-layout documents
  • new HTM-060b usage is reported fo any viewport meta element found in reflowable documents

Fix #1401, Fix #1449

Other changes

  • add a a Cucumber parameter type for multimap key/values
  • update Google Guava to version 31.1-jre

This commit implements the post-CR changes on the requirements for the
viewport meta element used to define the ICB in fixed-layout documents.

Viewport syntax:
- properties can now have several values
- the `ViewportMeta` object now return a list of string values when
  looking up values for a name.

ICB definition checks:
- only the first `viewport` `meta` element of fixed-layout documents
  is checked
- new `HTM-059` error is reported when `height` or `width` dimensions
  are specified more than once
- new `HTM-060a` usage is reported for any subsequent `viewport` `meta`
  element found in fixed-layout documents
- new `HTM-060b` usage is reported fo any `viewport` `meta` element
  found in reflowable documents

Fix #1401, Fix #1449
@rdeltour rdeltour added this to the v5.0.0-rc milestone Dec 13, 2022
@rdeltour rdeltour requested a review from mattgarrish December 13, 2022 12:55
@rdeltour rdeltour self-assigned this Dec 13, 2022
@rdeltour rdeltour merged commit 9f75a1d into main Dec 15, 2022
@rdeltour rdeltour deleted the feat/viewport-syntax branch December 15, 2022 08:45
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.

Viewport Test throws argument exception implement updated viewport meta requirements
2 participants