Bug 1760603 [wpt PR 33284] - Check writing direction when painting column rules., a=testonly
authorMorten Stenshorne <mstensho@chromium.org>
Thu, 24 Mar 2022 12:10:27 +0000
changeset 687303 45669fabd9fff67357a47dc0d764354df8ebb182
parent 687302 61ddeb2f8aa5308db794229cf33b5088d6db0c49
child 687304 275bb94ede2fbe8a268237efa70286c964c3614c
push id2831
push userffxbld-merge
push dateMon, 25 Apr 2022 15:51:01 +0000
treeherdermozilla-release@bad8853d0c21 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1760603, 33284, 1308191, 3540360, 983741
milestone100.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1760603 [wpt PR 33284] - Check writing direction when painting column rules., a=testonly Automatic update from web-platform-tests Check writing direction when painting column rules. Rather than deducing it from the column offsets relatively to each other, use computed style to check writing-mode and direction. We'd fail a DCHECK if we ended up with saturated LayoutUnit values for vertical-rl multicol containers (because we'd incorrectly think that writing mode was horizontal). Bug: 1308191 Change-Id: I3029d66949188bc149bf15ca9c709ec6ad105c68 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3540360 Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org> Commit-Queue: Morten Stenshorne <mstensho@chromium.org> Cr-Commit-Position: refs/heads/main@{#983741} -- wpt-commits: fdae5a3dc97ed6f6570772bd5eebd8b3ff853213 wpt-pr: 33284
testing/web-platform/tests/css/css-multicol/crashtests/vertical-rl-column-rules-wide-columns.html
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/css/css-multicol/crashtests/vertical-rl-column-rules-wide-columns.html
@@ -0,0 +1,6 @@
+<!DOCTYPE html>
+<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
+<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1308191">
+<div style="columns:1; writing-mode:vertical-rl; column-rule:solid; column-fill:auto; block-size:100px;">
+  <div style="inline-size:1234567890px; block-size:500px;"></div>
+</div>