RESOLVED FIXED 180473
Make GraphicsLayer::dumpProperties dump m_offsetFromRenderer
https://bugs.webkit.org/show_bug.cgi?id=180473
Summary Make GraphicsLayer::dumpProperties dump m_offsetFromRenderer
Frédéric Wang (:fredw)
Reported 2017-12-06 07:47:05 PST
.
Attachments
WIP Patch (767 bytes, patch)
2017-12-06 07:48 PST, Frédéric Wang (:fredw)
ews-watchlist: commit-queue-
Archive of layout-test-results from ews116 for mac-elcapitan (1.08 MB, application/zip)
2017-12-06 08:19 PST, EWS Watchlist
no flags
Archive of layout-test-results from ews107 for mac-elcapitan-wk2 (168.05 KB, application/zip)
2017-12-06 08:28 PST, EWS Watchlist
no flags
Archive of layout-test-results from ews125 for ios-simulator-wk2 (168.14 KB, application/zip)
2017-12-06 08:43 PST, EWS Watchlist
no flags
Archive of layout-test-results from ews101 for mac-elcapitan (2.34 MB, application/zip)
2017-12-06 08:44 PST, EWS Watchlist
no flags
Patch (WIP) (173.36 KB, patch)
2017-12-07 09:38 PST, Frédéric Wang (:fredw)
no flags
Archive of layout-test-results from ews101 for mac-elcapitan (2.21 MB, application/zip)
2017-12-07 10:35 PST, EWS Watchlist
no flags
Archive of layout-test-results from ews107 for mac-elcapitan-wk2 (2.56 MB, application/zip)
2017-12-07 10:46 PST, EWS Watchlist
no flags
Archive of layout-test-results from ews123 for ios-simulator-wk2 (2.16 MB, application/zip)
2017-12-07 11:01 PST, EWS Watchlist
no flags
Archive of layout-test-results from ews117 for mac-elcapitan (2.96 MB, application/zip)
2017-12-07 11:17 PST, EWS Watchlist
no flags
Patch (206.47 KB, patch)
2017-12-07 11:32 PST, Frédéric Wang (:fredw)
no flags
Patch (203.56 KB, patch)
2017-12-07 12:50 PST, Frédéric Wang (:fredw)
no flags
Archive of layout-test-results from ews105 for mac-elcapitan-wk2 (2.57 MB, application/zip)
2017-12-07 14:08 PST, EWS Watchlist
no flags
Archive of layout-test-results from ews123 for ios-simulator-wk2 (2.22 MB, application/zip)
2017-12-07 14:13 PST, EWS Watchlist
no flags
Archive of layout-test-results from ews115 for mac-elcapitan (2.91 MB, application/zip)
2017-12-07 14:14 PST, EWS Watchlist
no flags
Archive of layout-test-results from ews103 for mac-elcapitan (2.21 MB, application/zip)
2017-12-07 15:08 PST, EWS Watchlist
no flags
Patch (206.73 KB, patch)
2017-12-08 05:56 PST, Frédéric Wang (:fredw)
no flags
Archive of layout-test-results from ews103 for mac-elcapitan (2.14 MB, application/zip)
2017-12-08 06:52 PST, EWS Watchlist
no flags
Archive of layout-test-results from ews122 for ios-simulator-wk2 (2.20 MB, application/zip)
2017-12-08 07:20 PST, EWS Watchlist
no flags
Archive of layout-test-results from ews117 for mac-elcapitan (2.89 MB, application/zip)
2017-12-08 07:29 PST, EWS Watchlist
no flags
Patch (208.84 KB, patch)
2017-12-11 08:13 PST, Frédéric Wang (:fredw)
no flags
Patch for landing (208.82 KB, patch)
2017-12-14 01:07 PST, Frédéric Wang (:fredw)
no flags
Frédéric Wang (:fredw)
Comment 1 2017-12-06 07:48:09 PST
Created attachment 328566 [details] WIP Patch
Ali Juma
Comment 2 2017-12-06 08:01:49 PST
Comment on attachment 328566 [details] WIP Patch View in context: https://bugs.webkit.org/attachment.cgi?id=328566&action=review > Source/WebCore/platform/graphics/GraphicsLayer.cpp:721 > + if (!m_offsetFromRenderer.isEmpty()) It might be a good idea to make this conditional on a LayerTreeAsTextBehavior flag to avoid having to rebaseline a large number of existing tests.
EWS Watchlist
Comment 3 2017-12-06 08:19:36 PST
Comment on attachment 328566 [details] WIP Patch Attachment 328566 [details] did not pass mac-debug-ews (mac): Output: http://webkit-queues.webkit.org/results/5515072 Number of test failures exceeded the failure limit.
EWS Watchlist
Comment 4 2017-12-06 08:19:38 PST
Created attachment 328567 [details] Archive of layout-test-results from ews116 for mac-elcapitan The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews116 Port: mac-elcapitan Platform: Mac OS X 10.11.6
Frédéric Wang (:fredw)
Comment 5 2017-12-06 08:23:34 PST
Comment on attachment 328566 [details] WIP Patch View in context: https://bugs.webkit.org/attachment.cgi?id=328566&action=review >> Source/WebCore/platform/graphics/GraphicsLayer.cpp:721 >> + if (!m_offsetFromRenderer.isEmpty()) > > It might be a good idea to make this conditional on a LayerTreeAsTextBehavior flag to avoid having to rebaseline a large number of existing tests. Maybe I was not sure. In any case, the condition is wrong, it should isZero() not isEmpty().
EWS Watchlist
Comment 6 2017-12-06 08:28:08 PST
Comment on attachment 328566 [details] WIP Patch Attachment 328566 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.webkit.org/results/5515169 Number of test failures exceeded the failure limit.
EWS Watchlist
Comment 7 2017-12-06 08:28:09 PST
Created attachment 328568 [details] Archive of layout-test-results from ews107 for mac-elcapitan-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews107 Port: mac-elcapitan-wk2 Platform: Mac OS X 10.11.6
EWS Watchlist
Comment 8 2017-12-06 08:42:59 PST
Comment on attachment 328566 [details] WIP Patch Attachment 328566 [details] did not pass ios-sim-ews (ios-simulator-wk2): Output: http://webkit-queues.webkit.org/results/5515191 Number of test failures exceeded the failure limit.
EWS Watchlist
Comment 9 2017-12-06 08:43:00 PST
Created attachment 328571 [details] Archive of layout-test-results from ews125 for ios-simulator-wk2 The attached test failures were seen while running run-webkit-tests on the ios-sim-ews. Bot: ews125 Port: ios-simulator-wk2 Platform: Mac OS X 10.12.6
EWS Watchlist
Comment 10 2017-12-06 08:44:44 PST
Comment on attachment 328566 [details] WIP Patch Attachment 328566 [details] did not pass mac-ews (mac): Output: http://webkit-queues.webkit.org/results/5515223 New failing tests: compositing/geometry/bounds-ignores-hidden.html compositing/layer-creation/overlap-animation-clipping.html compositing/visible-rect/3d-transform-style.html compositing/tiling/backface-preserve-3d-tiled.html compositing/geometry/foreground-layer.html compositing/geometry/bounds-ignores-hidden-composited-descendant.html compositing/geometry/clip-inside.html compositing/visible-rect/clipped-visible-rect.html compositing/visible-rect/2d-transformed.html compositing/images/clip-on-directly-composited-image.html compositing/geometry/clip.html compositing/backing/no-backing-for-clip-overlap.html compositing/visible-rect/3d-transformed.html compositing/visible-rect/animated-from-none.html compositing/overflow/composited-scrolling-creates-a-stacking-container.html compositing/visible-rect/nested-transform.html compositing/geometry/bounds-ignores-hidden-dynamic.html compositing/layer-creation/overlap-animation.html compositing/visible-rect/coverage-clipped.html compositing/layer-creation/fixed-position-under-transform.html compositing/tiling/transform-origin-tiled.html compositing/layer-creation/overlap-transforms.html compositing/tiling/tiled-reflection-inwindow.html compositing/tiling/rotated-tiled-clamped.html compositing/tiling/tiled-mask-inwindow.html compositing/tiling/rotated-tiled-preserve3d-clamped.html compositing/overflow/clip-descendents.html compositing/visible-rect/animated.html compositing/backing/no-backing-for-clip.html
EWS Watchlist
Comment 11 2017-12-06 08:44:45 PST
Created attachment 328572 [details] Archive of layout-test-results from ews101 for mac-elcapitan The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews101 Port: mac-elcapitan Platform: Mac OS X 10.11.6
Frédéric Wang (:fredw)
Comment 12 2017-12-07 09:38:12 PST
Created attachment 328698 [details] Patch (WIP)
EWS Watchlist
Comment 13 2017-12-07 10:35:31 PST
Comment on attachment 328698 [details] Patch (WIP) Attachment 328698 [details] did not pass mac-ews (mac): Output: http://webkit-queues.webkit.org/results/5530999 New failing tests: compositing/tiling/transform-origin-tiled.html compositing/visibility/visibility-image-layers-dynamic.html compositing/tiling/tiled-mask-inwindow.html compositing/tiling/rotated-tiled-preserve3d-clamped.html compositing/repaint/iframes/composited-iframe-with-fixed-background-doc-repaint.html compositing/repaint/iframes/compositing-iframe-scroll-repaint.html compositing/tiling/rotated-tiled-clamped.html compositing/tiling/tiled-reflection-inwindow.html compositing/contents-opaque/control-layer.html compositing/repaint/iframes/compositing-iframe-with-fixed-background-doc-repaint.html
EWS Watchlist
Comment 14 2017-12-07 10:35:33 PST
Created attachment 328703 [details] Archive of layout-test-results from ews101 for mac-elcapitan The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews101 Port: mac-elcapitan Platform: Mac OS X 10.11.6
EWS Watchlist
Comment 15 2017-12-07 10:46:09 PST
Comment on attachment 328698 [details] Patch (WIP) Attachment 328698 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.webkit.org/results/5531071 New failing tests: compositing/tiling/tiled-mask-inwindow.html compositing/contents-opaque/control-layer.html compositing/visibility/visibility-image-layers-dynamic.html compositing/repaint/iframes/composited-iframe-with-fixed-background-doc-repaint.html compositing/tiling/tiled-reflection-inwindow.html
EWS Watchlist
Comment 16 2017-12-07 10:46:10 PST
Created attachment 328705 [details] Archive of layout-test-results from ews107 for mac-elcapitan-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews107 Port: mac-elcapitan-wk2 Platform: Mac OS X 10.11.6
EWS Watchlist
Comment 17 2017-12-07 11:01:53 PST
Comment on attachment 328698 [details] Patch (WIP) Attachment 328698 [details] did not pass ios-sim-ews (ios-simulator-wk2): Output: http://webkit-queues.webkit.org/results/5531104 New failing tests: compositing/ios/overflow-scroll-touch-tiles.html compositing/tiling/tiled-mask-inwindow.html compositing/visibility/visibility-image-layers-dynamic.html compositing/tiling/tiled-reflection-inwindow.html
EWS Watchlist
Comment 18 2017-12-07 11:01:54 PST
Created attachment 328707 [details] Archive of layout-test-results from ews123 for ios-simulator-wk2 The attached test failures were seen while running run-webkit-tests on the ios-sim-ews. Bot: ews123 Port: ios-simulator-wk2 Platform: Mac OS X 10.12.6
EWS Watchlist
Comment 19 2017-12-07 11:17:03 PST
Comment on attachment 328698 [details] Patch (WIP) Attachment 328698 [details] did not pass mac-debug-ews (mac): Output: http://webkit-queues.webkit.org/results/5531151 New failing tests: compositing/tiling/transform-origin-tiled.html compositing/visibility/visibility-image-layers-dynamic.html compositing/tiling/tiled-mask-inwindow.html compositing/tiling/rotated-tiled-preserve3d-clamped.html compositing/repaint/iframes/composited-iframe-with-fixed-background-doc-repaint.html compositing/repaint/iframes/compositing-iframe-scroll-repaint.html compositing/tiling/rotated-tiled-clamped.html compositing/tiling/tiled-reflection-inwindow.html compositing/contents-opaque/control-layer.html compositing/repaint/iframes/compositing-iframe-with-fixed-background-doc-repaint.html
EWS Watchlist
Comment 20 2017-12-07 11:17:05 PST
Created attachment 328710 [details] Archive of layout-test-results from ews117 for mac-elcapitan The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews117 Port: mac-elcapitan Platform: Mac OS X 10.11.6
Frédéric Wang (:fredw)
Comment 21 2017-12-07 11:32:50 PST
zalan
Comment 22 2017-12-07 11:39:19 PST
Comment on attachment 328712 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=328712&action=review > LayoutTests/compositing/ios/overflow-scroll-touch-tiles-expected.txt:47 > - (bounds 800.00 897.00) > + (bounds 800.00 925.00) > (children 1 > (GraphicsLayer > - (bounds 800.00 897.00) > + (bounds 800.00 925.00) > (contentsOpaque 1) It looks like it's more than just debug info. > LayoutTests/compositing/tiling/tiled-reflection-inwindow-expected.txt:63 > - (bounds 913.00 1206.00) > + (bounds 913.00 1221.00) > (children 1 > (GraphicsLayer > - (bounds 913.00 1206.00) > + (bounds 913.00 1221.00) This too. > LayoutTests/platform/ios-wk2/compositing/tiling/tiled-reflection-inwindow-expected.txt:63 > - (bounds 913.00 1149.00) > + (bounds 913.00 1163.00) > (children 1 > (GraphicsLayer > - (bounds 913.00 1149.00) > + (bounds 913.00 1163.00) ? > LayoutTests/platform/mac-wk1/compositing/tiling/tiled-reflection-inwindow-expected.txt:59 > - (bounds 913.00 1146.00) > + (bounds 913.00 1161.00) > (children 1 > (GraphicsLayer > - (bounds 913.00 1146.00) > + (bounds 913.00 1161.00) ?
Frédéric Wang (:fredw)
Comment 23 2017-12-07 11:56:39 PST
Comment on attachment 328712 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=328712&action=review >> LayoutTests/compositing/ios/overflow-scroll-touch-tiles-expected.txt:47 >> (contentsOpaque 1) > > It looks like it's more than just debug info. Well, if you read the C++ change, it should definitely only be debug info. I guess these diffs came from another change unrelated to that patch.
Frédéric Wang (:fredw)
Comment 24 2017-12-07 12:50:25 PST
EWS Watchlist
Comment 25 2017-12-07 14:08:09 PST
Comment on attachment 328719 [details] Patch Attachment 328719 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.webkit.org/results/5533648 New failing tests: compositing/tiling/tiled-mask-inwindow.html compositing/visibility/visibility-image-layers-dynamic.html compositing/tiling/tiled-reflection-inwindow.html
EWS Watchlist
Comment 26 2017-12-07 14:08:10 PST
Created attachment 328737 [details] Archive of layout-test-results from ews105 for mac-elcapitan-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews105 Port: mac-elcapitan-wk2 Platform: Mac OS X 10.11.6
EWS Watchlist
Comment 27 2017-12-07 14:13:32 PST
Comment on attachment 328719 [details] Patch Attachment 328719 [details] did not pass ios-sim-ews (ios-simulator-wk2): Output: http://webkit-queues.webkit.org/results/5533546 New failing tests: compositing/ios/overflow-scroll-touch-tiles.html compositing/tiling/tiled-mask-inwindow.html compositing/visibility/visibility-image-layers-dynamic.html compositing/tiling/tiled-reflection-inwindow.html
EWS Watchlist
Comment 28 2017-12-07 14:13:33 PST
Created attachment 328738 [details] Archive of layout-test-results from ews123 for ios-simulator-wk2 The attached test failures were seen while running run-webkit-tests on the ios-sim-ews. Bot: ews123 Port: ios-simulator-wk2 Platform: Mac OS X 10.12.6
EWS Watchlist
Comment 29 2017-12-07 14:14:44 PST
Comment on attachment 328719 [details] Patch Attachment 328719 [details] did not pass mac-debug-ews (mac): Output: http://webkit-queues.webkit.org/results/5533540 New failing tests: compositing/tiling/tiled-mask-inwindow.html compositing/visibility/visibility-image-layers-dynamic.html compositing/tiling/rotated-tiled-clamped.html compositing/tiling/tiled-reflection-inwindow.html
EWS Watchlist
Comment 30 2017-12-07 14:14:45 PST
Created attachment 328741 [details] Archive of layout-test-results from ews115 for mac-elcapitan The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews115 Port: mac-elcapitan Platform: Mac OS X 10.11.6
EWS Watchlist
Comment 31 2017-12-07 15:08:45 PST
Comment on attachment 328719 [details] Patch Attachment 328719 [details] did not pass mac-ews (mac): Output: http://webkit-queues.webkit.org/results/5534503 New failing tests: compositing/tiling/tiled-mask-inwindow.html compositing/visibility/visibility-image-layers-dynamic.html compositing/tiling/rotated-tiled-clamped.html compositing/tiling/tiled-reflection-inwindow.html
EWS Watchlist
Comment 32 2017-12-07 15:08:47 PST
Created attachment 328746 [details] Archive of layout-test-results from ews103 for mac-elcapitan The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews103 Port: mac-elcapitan Platform: Mac OS X 10.11.6
Frédéric Wang (:fredw)
Comment 33 2017-12-08 05:56:02 PST
EWS Watchlist
Comment 34 2017-12-08 06:52:28 PST
Comment on attachment 328807 [details] Patch Attachment 328807 [details] did not pass mac-ews (mac): Output: http://webkit-queues.webkit.org/results/5544823 New failing tests: compositing/tiling/rotated-tiled-clamped.html
EWS Watchlist
Comment 35 2017-12-08 06:52:29 PST
Created attachment 328812 [details] Archive of layout-test-results from ews103 for mac-elcapitan The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews103 Port: mac-elcapitan Platform: Mac OS X 10.11.6
EWS Watchlist
Comment 36 2017-12-08 07:20:08 PST
Comment on attachment 328807 [details] Patch Attachment 328807 [details] did not pass ios-sim-ews (ios-simulator-wk2): Output: http://webkit-queues.webkit.org/results/5544861 New failing tests: compositing/tiling/tiled-mask-inwindow.html
EWS Watchlist
Comment 37 2017-12-08 07:20:10 PST
Created attachment 328813 [details] Archive of layout-test-results from ews122 for ios-simulator-wk2 The attached test failures were seen while running run-webkit-tests on the ios-sim-ews. Bot: ews122 Port: ios-simulator-wk2 Platform: Mac OS X 10.12.6
EWS Watchlist
Comment 38 2017-12-08 07:29:27 PST
Comment on attachment 328807 [details] Patch Attachment 328807 [details] did not pass mac-debug-ews (mac): Output: http://webkit-queues.webkit.org/results/5544851 New failing tests: compositing/tiling/rotated-tiled-clamped.html
EWS Watchlist
Comment 39 2017-12-08 07:29:29 PST
Created attachment 328814 [details] Archive of layout-test-results from ews117 for mac-elcapitan The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews117 Port: mac-elcapitan Platform: Mac OS X 10.11.6
Frédéric Wang (:fredw)
Comment 40 2017-12-11 08:13:47 PST
Antonio Gomes
Comment 41 2017-12-13 09:33:26 PST
(In reply to Frédéric Wang (:fredw) from comment #23) > Comment on attachment 328712 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=328712&action=review > > >> LayoutTests/compositing/ios/overflow-scroll-touch-tiles-expected.txt:47 > >> (contentsOpaque 1) > > > > It looks like it's more than just debug info. > > Well, if you read the C++ change, it should definitely only be debug info. I > guess these diffs came from another change unrelated to that patch. Frederic added a reason for it in the ChangeLog. In summary: "the text output is changed. This output is put in a <div>to appear in the dumped tree. However, that makes the corresponding graphics layer taller."
Frédéric Wang (:fredw)
Comment 42 2017-12-14 01:07:08 PST
Created attachment 329335 [details] Patch for landing
WebKit Commit Bot
Comment 43 2017-12-14 01:40:05 PST
Comment on attachment 329335 [details] Patch for landing Clearing flags on attachment: 329335 Committed r225897: <https://trac.webkit.org/changeset/225897>
WebKit Commit Bot
Comment 44 2017-12-14 01:40:07 PST
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 45 2017-12-14 01:41:40 PST
Note You need to log in before you can comment on or make changes to this bug.