Skip to content

Align Measure and MeasureOverride behavior given NaN - #2098

Merged
jeromelaban merged 3 commits into
masterfrom
dev/jela/nan-measure
Nov 18, 2019
Merged

jeromelaban merged 3 commits into
masterfrom
dev/jela/nan-measure

Conversation

@jeromelaban

Copy link
Copy Markdown
Member

GitHub Issue (If applicable): fixes unoplatform/private#93

PR Type

What kind of change does this PR introduce?

  • Bugfix

What is the new behavior?

  • Restores original behavior of MeasureOverride clamping of values passed to MeasureOverride (introduced in Clipping refactoring #1726)
  • Validate the passing of NaN values to UIElement.Measure

No release notes update as this is a behavior restoration.

PR Checklist

Please check if your PR fulfills the following requirements:

  • Tested code with current supported SDKs
  • Docs have been added/updated which fit documentation template (for bug fixes / features)
  • Unit Tests and/or UI Tests for the changes have been added (for bug fixes / features) (if applicable)
  • Wasm UI Tests are not showing unexpected any differences. Validate PR Screenshots Compare Test Run results.
  • Contains NO breaking changes
  • Updated the Release Notes
  • Associated with an issue (GitHub or internal)

Other information

Internal Issue (If applicable):

@gitpod-io

gitpod-io Bot commented Nov 15, 2019 •

Copy link
Copy Markdown

@github-actions github-actions Bot added area/automation Categorizes an issue or PR as relevant to project automation platform/wasm 🌐 Categorizes an issue or PR as relevant to the WebAssembly platform labels Nov 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/automation Categorizes an issue or PR as relevant to project automation platform/wasm 🌐 Categorizes an issue or PR as relevant to the WebAssembly platform

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants