Repository navigation
v3.0.16
3.0.16
-
UILayoutEvaluator:- Fixed a null-check crash when a layout expression referenced an unresolvable element or
thistarget (e.g.#missing.center.x)._evalMemberExpressionImpland_evalThisImpl
now returnnullinstead of force-unwrapping a null resolved expression, soprocessLayout
correctly falls back to itsdefaultValue.
- Fixed a null-check crash when a layout expression referenced an unresolvable element or
-
lib/src/component/capture.dart:UICapture.getInputFile: hardened against a nullHTMLInputElement.files, returningnull
instead of throwing (matching the null-safe handling already used in_readFile).
-
Tests:
- Added
test/capture_test.dartcovering theUICapturedata-format conversion matrix
(arrayBuffer/base64/string/dataUrlBase64), field value round-trips,nullclearing
andlatin1encoding. - Expanded
test/layout_expression_test.dartwith unit arithmetic, fallback-unit application,
mixed-unit rejection and the unresolvable-element fallback (regression test for the fix above).
- Added