Bug
1847750 [wpt PR 41385] - Gracefully handle inability to compute subject size., a=testonly
Automatic update from web-platform-tests
Gracefully handle inability to compute subject size.
Different elements require different strategies for computing the
bounding box. Presently we handle box elements as well as various
inline and SVG elements. The <br> element slipped through the cracks.
To prevent a crash for an unhandled element type, we instead handle a
nullopt size and allow CalculateOffsets to fail to compute offsets. If
no offsets are produced, then the timeline simply becomes inactive.
Bug:
1470522
Change-Id: Iaaef5241fb6ceb450ad6992c1c75619a0a672183
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/
4759905
Reviewed-by: Mustaq Ahmed <mustaq@chromium.org>
Commit-Queue: Kevin Ellis <kevers@chromium.org>
Cr-Commit-Position: refs/heads/main@{#
1182154}
--
wpt-commits:
911b77b5763c5eae6135f6f9d3699f619f23dd33
wpt-pr: 41385