diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-writing-modes/crashtests')
6 files changed, 82 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-writing-modes/crashtests/orthogonal-percent-height-multicol-crash.html b/testing/web-platform/tests/css/css-writing-modes/crashtests/orthogonal-percent-height-multicol-crash.html new file mode 100644 index 0000000000..aca93d23fc --- /dev/null +++ b/testing/web-platform/tests/css/css-writing-modes/crashtests/orthogonal-percent-height-multicol-crash.html @@ -0,0 +1,24 @@ +<!DOCTYPE html> +<link rel="author" title="Koji Ishii" href="mailto:kojii@chromium.org"> +<link rel="help" href="https://crbug.com/1213358"> +<style type="text/css"> +.CLASS2 { + writing-mode: vertical-lr; +} +.CLASS4 { + columns: +6.9vh 8589934576; +} +samp, button, div.CLASS1 { + overflow-x: auto; + float: left; + block-size: 2.0%; +} +</style> +<samp class="CLASS2"> + <button> + <div class="CLASS1"> + <h6 class="CLASS4">ABC</h6> + </div> + ABC + </button> +</samp> diff --git a/testing/web-platform/tests/css/css-writing-modes/crashtests/orthogonal-scroll-percent-height-crash.html b/testing/web-platform/tests/css/css-writing-modes/crashtests/orthogonal-scroll-percent-height-crash.html new file mode 100644 index 0000000000..d40ebfd6eb --- /dev/null +++ b/testing/web-platform/tests/css/css-writing-modes/crashtests/orthogonal-scroll-percent-height-crash.html @@ -0,0 +1,8 @@ +<!DOCTYPE html> +<link rel="author" title="Koji Ishii" href="mailto:kojii@chromium.org"> +<link rel="help" href="https://crbug.com/1213358"> +<div style="writing-mode:vertical-lr; inline-size:fit-content"> + <div style="overflow: auto; writing-mode:horizontal-tb; height:10%"> + abc + </div> +</div> diff --git a/testing/web-platform/tests/css/css-writing-modes/crashtests/orthogonal-table-in-flex-crash.html b/testing/web-platform/tests/css/css-writing-modes/crashtests/orthogonal-table-in-flex-crash.html new file mode 100644 index 0000000000..e29eb77355 --- /dev/null +++ b/testing/web-platform/tests/css/css-writing-modes/crashtests/orthogonal-table-in-flex-crash.html @@ -0,0 +1,6 @@ +<!DOCTYPE html> +<link rel="help" href="https://crbug.com/1225014"> +<link rel="author" title="Koji Ishii" href="mailto:kojii@chromium.org"> +<div style="display: -webkit-box"> +<table style="writing-mode: vertical-rl"> +<caption> diff --git a/testing/web-platform/tests/css/css-writing-modes/crashtests/table-root-direction-propagation-crash.html b/testing/web-platform/tests/css/css-writing-modes/crashtests/table-root-direction-propagation-crash.html new file mode 100644 index 0000000000..d723c1276b --- /dev/null +++ b/testing/web-platform/tests/css/css-writing-modes/crashtests/table-root-direction-propagation-crash.html @@ -0,0 +1,14 @@ +<!doctype html> +<link rel="help" href="https://crbug.com/1303287"> +<style> + html { + display: table; + border-right: solid; + } + head { display: inline; } + body { direction: rtl; } +</style> +<body></body> +<script> + requestAnimationFrame(() => requestAnimationFrame(() => document.body.remove())); +</script> diff --git a/testing/web-platform/tests/css/css-writing-modes/crashtests/unicode-bidi-select-crash.html b/testing/web-platform/tests/css/css-writing-modes/crashtests/unicode-bidi-select-crash.html new file mode 100644 index 0000000000..b36a37616b --- /dev/null +++ b/testing/web-platform/tests/css/css-writing-modes/crashtests/unicode-bidi-select-crash.html @@ -0,0 +1,19 @@ +<!DOCTYPE html> +<link rel="help" href="https://crbug.com/1329417"> +<style> + select { + unicode-bidi: bidi-override; + } +</style> +<body> + <select> + <option>Test1</option> + <option id="opt" hidden="hidden">Test2</option> + </select> +</body> +<script> + document.body.offsetTop; + opt.defaultSelected = true; + window.getSelection().selectAllChildren(document.body); + document.vlinkColor = "red"; +</script> diff --git a/testing/web-platform/tests/css/css-writing-modes/crashtests/wm-body-propagation-crash.html b/testing/web-platform/tests/css/css-writing-modes/crashtests/wm-body-propagation-crash.html new file mode 100644 index 0000000000..a4a24712f4 --- /dev/null +++ b/testing/web-platform/tests/css/css-writing-modes/crashtests/wm-body-propagation-crash.html @@ -0,0 +1,11 @@ +<!DOCTYPE html> +<title>Chrome DCHECK failure for non-root <html></title> +<link rel="help" href="https://crbug.com/1217946"> +<body></body> +<script> + let non_root = document.createElement("html"); + document.documentElement.appendChild(non_root); + document.body.offsetTop; + document.body.style.display = "inline"; + non_root.style.color = "red"; +</script> |