1. 24 3月, 2021 1 次提交
  2. 19 3月, 2021 1 次提交
  3. 11 3月, 2021 1 次提交
  4. 04 3月, 2021 1 次提交
    • C
      Revert "[web] Fix painting of last placeholder in paragraph (#24716)" (#24773) · 3cf4f1d5
      Chris Bracken 提交于
      This broke the Linux Web Tests target in the framework tests.
      
      Example failure:
      https://ci.chromium.org/ui/p/flutter/builders/try/Linux%20web_tests/11335/overview
      
      Failure log:
      ```
      01:09 +107 ~2 -1: test/widgets/rich_text_test.dart: WidgetSpan calculate correct intrinsic heights [E]
        Test failed. See exception logs above.
        The test description was: WidgetSpan calculate correct intrinsic heights
      
      01:09 +107 ~2 -1: test/widgets/rich_text_test.dart: RichText implements debugFillProperties
      01:09 +107 ~2 -1: test/widgets/rich_text_test.dart: RichText implements debugFillProperties
      ══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════
      The following assertion was thrown during performLayout():
      Assertion failed: file:///b/s/w/ir/k/flutter/packages/flutter/lib/src/rendering/box.dart:2237:16
      !RenderObject.debugCheckingIntrinsics
      is not true
      
      The relevant error-causing widget was:
        Text file:///b/s/w/ir/k/flutter/packages/flutter_test/lib/src/binding.dart:567:12
      
      When the exception was thrown, this was the stack:
      ../dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 236:49  throw_
      ../dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 29:3    assertFailed
      ../packages/flutter/src/rendering/layer.dart.js 4485:79                          <fn>
      ../packages/flutter/src/rendering/layer.dart.js 4551:26                          debugAssertDoesMeetConstraints
      ../packages/flutter/src/rendering/layer.dart.js 4380:14                          <fn>
      ../packages/flutter/src/rendering/layer.dart.js 4382:26                          set size
      ../packages/flutter/src/rendering/paragraph.dart.js 786:17                       performLayout
      ../packages/flutter/src/rendering/layer.dart.js 3392:14                          layout
      ../packages/flutter/src/rendering/shifted_box.dart.js 451:36                     performLayout
      ../packages/flutter/src/rendering/layer.dart.js 3392:14                          layout
      ../packages/flutter/src/rendering/layer.dart.js 4875:58                          performLayout
      ../packages/flutter/src/rendering/layer.dart.js 3279:14                          [_layoutWithoutResize]
      ../packages/flutter/src/rendering/layer.dart.js 6876:107                         flushLayout
      ../packages/flutter_test/src/_matchers_web.dart.js 3990:30                       drawFrame
      ../packages/flutter/src/rendering/layer.dart.js 6128:12                          [_handlePersistentFrameCallback]
      ../packages/flutter/src/scheduler/binding.dart.js 764:9                          [_invokeFrameCallback]
      ../packages/flutter/src/scheduler/binding.dart.js 732:37                         handleDrawFrame
      ../packages/flutter_test/src/_matchers_web.dart.js 3954:12                       scheduleWarmUpFrame
      ../packages/flutter/src/widgets/widget_span.dart.js 52123:11                     <fn>
      ../packages/flutter/src/widgets/widget_span.dart.js 52125:7                      runApp
      ../packages/flutter_test/src/_matchers_web.dart.js 3647:18                       _runTestBody
      ../dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 84:54            runBody
      ../dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 123:5            _async
      ../packages/flutter_test/src/_matchers_web.dart.js 3644:20                       [_runTestBody]
      ../dart-sdk/lib/async/zone.dart 1386:13                                          _rootRunBinary
      ../dart-sdk/lib/async/zone.dart 1272:19                                          runBinary
      ../packages/flutter_test/src/_matchers_web.dart.js 3636:16                       [_runTest]
      ../packages/flutter_test/src/_matchers_web.dart.js 4072:44                       <fn>
      ../packages/fake_async/fake_async.dart.js 141:96                                 <fn>
      ../dart-sdk/lib/async/zone.dart 1354:13                                          _rootRun
      ../dart-sdk/lib/async/zone.dart 1258:19                                          run
      ../dart-sdk/lib/async/zone.dart 1788:67                                          _runZoned
      ../dart-sdk/lib/async/zone.dart 1711:10                                          runZoned
      ../packages/clock/src/stopwatch.dart.js 364:18                                   withClock
      ../packages/fake_async/fake_async.dart.js 141:55                                 <fn>
      ../dart-sdk/lib/async/zone.dart 1354:13                                          _rootRun
      ../dart-sdk/lib/async/zone.dart 1258:19                                          run
      ../dart-sdk/lib/async/zone.dart 1788:67                                          _runZoned
      ../dart-sdk/lib/async/zone.dart 1711:10                                          runZoned
      ../packages/fake_async/fake_async.dart.js 141:20                                 run
      ../packages/flutter_test/src/_matchers_web.dart.js 4067:17                       runTest
      ../packages/flutter_test/src/_matchers_web.dart.js 5312:24                       <fn>
      ../packages/test_api/src/frontend/async_matcher.dart.js 862:17                   <fn>
      ../dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 45:50            <fn>
      ../packages/stack_trace/src/stack_zone_specification.dart.js 179:98              <fn>
      ../packages/stack_trace/src/stack_zone_specification.dart.js 247:16              [_run]
      ../packages/stack_trace/src/stack_zone_specification.dart.js 179:80              <fn>
      ../dart-sdk/lib/async/zone.dart 1362:47                                          _rootRunUnary
      ../dart-sdk/lib/async/zone.dart 1265:19                                          runUnary
      ../dart-sdk/lib/async/future_impl.dart 155:18                                    handleValue
      ../dart-sdk/lib/async/future_impl.dart 707:44                                    handleValueCallback
      ../dart-sdk/lib/async/future_impl.dart 736:13                                    _propagateToListeners
      ../dart-sdk/lib/async/future_impl.dart 406:9                                     <fn>
      ../packages/stack_trace/src/stack_zone_specification.dart.js 247:16              [_run]
      ../packages/stack_trace/src/stack_zone_specification.dart.js 170:71              <fn>
      ../dart-sdk/lib/async/zone.dart 1354:13                                          _rootRun
      ../dart-sdk/lib/async/zone.dart 1258:19                                          run
      ../dart-sdk/lib/async/zone.dart 1162:7                                           runGuarded
      ../dart-sdk/lib/async/zone.dart 1202:23                                          callback
      ../dart-sdk/lib/async/schedule_microtask.dart 40:11                              _microtaskLoop
      ../dart-sdk/lib/async/schedule_microtask.dart 49:5                               _startMicrotaskLoop
      ../dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 166:15           <fn>
      
      The following RenderObject was being processed when the exception was fired: RenderParagraph#e6e8f relayoutBoundary=up1 NEEDS-PAINT:
        creator: RichText ← Text ← Center ← Container-[#9a020] ← [root]
        parentData: offset=Offset(0.0, 0.0) (can use size)
        constraints: BoxConstraints(0.0<=w<=800.0, 0.0<=h<=600.0)
        size: Size(640.0, 40.0)
        textAlign: start
        textDirection: ltr
        softWrap: wrapping at box width
        overflow: clip
        maxLines: unlimited
      This RenderObject had the following child:
          text: TextSpan
      ```
      
      This reverts commit aa3bb5e3.
      3cf4f1d5
  5. 03 3月, 2021 1 次提交
  6. 25 2月, 2021 1 次提交
  7. 24 2月, 2021 1 次提交
  8. 20 2月, 2021 2 次提交
  9. 19 2月, 2021 1 次提交
  10. 18 2月, 2021 3 次提交
  11. 17 2月, 2021 1 次提交
  12. 11 2月, 2021 2 次提交
  13. 03 2月, 2021 1 次提交
  14. 30 1月, 2021 1 次提交
  15. 29 1月, 2021 2 次提交
  16. 28 1月, 2021 1 次提交
  17. 27 1月, 2021 2 次提交
  18. 23 1月, 2021 1 次提交
  19. 22 1月, 2021 1 次提交
    • H
      Automatically download Noto fonts as backup fonts in CanvasKit mode (#23728) · 5b9cd44b
      Harry Terkelsen 提交于
      * Revert "Revert "[CanvasKit] Automatically fall back to Noto fonts (#23096)" (#23357)"
      
      This reverts commit f9f4d016.
      
      * WIP
      
      * Use an Interval Tree to store the unicode ranges for the Noto Fonts
      
      * Update licenses
      
      * Remove debug print statements
      
      * Respond to comments
      
      * Fix analysis error
      
      * Add tests
      
      * Respond to comments
      
      * Fix test
      
      * Update goldens lock
      
      * Skip screenshot test on Safari
      
      * Skip CanvasKit tests on iOS Safari
      
      * Move CanvasKit initialization so it doesn't run on iOS Safari
      5b9cd44b
  20. 21 1月, 2021 2 次提交
  21. 16 1月, 2021 1 次提交
  22. 15 1月, 2021 1 次提交
  23. 14 1月, 2021 1 次提交
  24. 08 1月, 2021 1 次提交
  25. 07 1月, 2021 1 次提交
  26. 18 12月, 2020 1 次提交
  27. 12 12月, 2020 1 次提交
  28. 04 12月, 2020 1 次提交
  29. 21 11月, 2020 1 次提交
  30. 20 10月, 2020 1 次提交
    • F
      [web] Fix 3d transforms for html backend (#21499) · 0747f2f4
      Ferhat 提交于
      * Workaround for canvas element lacking support for 3d setTransform
      
      * update golden test
      
      * Add webkit workaround
      
      * Implement DOM rendering for perspective
      
      * cleanup
      
      * update goldens lock
      
      * Add check for shader and filtermask for dom use
      
      * Fix svg viewBox. Move zIndex check to bitmap canvas
      
      * Fix null check warning
      
      * Fix scene_builder zIndex=-1 test to force canvas usage
      
      * Add blendmode handling for DOM mode
      
      * Update maxdiff and golden locks
      
      * Remove unused import
      
      * Add drawcolor/drawpaint test. Fix bounds for drawColor/drawPaint
      
      * update golden locks
      
      * adjust drawColor for dpr
      
      * Update test to use canvas
      
      * Fix toDataUrl NNBD
      
      * Update Picture.toImage to use canvas to obstain image data
      
      * Remove write:true from golden calls
      
      * Add fill-rule for _pathToSvgElement
      
      * Update golden locks
      
      * Fix sceneBuilder pushClip / add missing clipBehaviour
      
      * Fix test now that clipping works correctly
      
      * move overflow handling for tests into DOMClip.addOverflow
      
      * Add clipRect to test to keep render inside bitmap canvas area
      
      * Update compositing test, fix drawColor coordinates
      
      * update golden locks
      
      * Skip test for matchGolden infra fail
      
      * update golden lock
      
      * merge
      
      * update maxdiff for text over canvas
      
      * update golden diff
      
      * update paint spread bounds maxdiff
      
      * update paint spread maxDiff
      0747f2f4
  31. 17 10月, 2020 1 次提交
  32. 14 10月, 2020 1 次提交
  33. 13 10月, 2020 1 次提交
    • N
      E2e screenshot tests2 (#21383) · 38d8ebaa
      nturgut 提交于
      * carrying code
      
      * more changes for carrying the code
      
      * rebase changes onto ios-screenshot tests
      
      * adding screenshot capability to text_editing e2e test
      
      * address some comments
      
      * change enable flag for isUnitTestsScreenshotsAvailable
      
      * addressing the reviewer comments
      
      * change the dependency for path
      
      * add to licencense file
      
      * changing goldens commit no. the new commit has the screenshot goldens
      
      * update readme file
      
      * firefox tests needs LUCI changes
      
      * change to release mode since screenshots were taken in release mode
      
      * change window size
      
      * some argument changes
      
      * small comment change
      
      * test the chrome linux tests again
      
      * use roboto font instead of default font
      
      * addressing reviewer comments
      
      * change commit for goldens
      38d8ebaa