Commit 8bf07559 authored by Julie Jeongeun Kim's avatar Julie Jeongeun Kim Committed by Commit Bot

[css-flexbox] Move inline-flex-crash.html to WPT

This CL migrates this test out of
third_party/blink/web_tests/css3/filters and into the WPT-specific
directory, adding links to the relevant specs and a test assertion
describing its purpose and renames
inline-flex-editing-with-updating-text-crash.html

Bug: 1063749
Change-Id: I62ca5c5f28b14b6258eec90ce029289a70e7c14f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2152135Reviewed-by: default avatarDavid Grogan <dgrogan@chromium.org>
Reviewed-by: default avatarChristian Biesinger <cbiesinger@chromium.org>
Reviewed-by: default avatarRobert Ma <robertma@chromium.org>
Commit-Queue: David Grogan <dgrogan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#759735}
parent 077979ad
<!DOCTYPE html> <!DOCTYPE html>
<title>CSS Flexbox: inline-flex layout with updating text and editing operations</title>
<link rel="help" href="https://drafts.csswg.org/css-flexbox/#flex-containers">
<link rel="help" href="https://bugs.webkit.org/show_bug.cgi?id=77772">
<link rel="help" href="https://crbug.com/118662">
<meta name="assert" content="This test ensures that inline-flex layout does not crash with updating text and editing operations.">
<style>#el0::first-letter, #el0:first-child { height: 10px; }</style> <style>#el0::first-letter, #el0:first-child { height: 10px; }</style>
This test passes if it doesn't crash. <div id='container' contentEditable>
<a>
<div id='container' contentEditable><a><img><div id="el0" style="display: inline-flex"><pre></pre></div></a></div> <img>
<div id="el0" style="display: inline-flex">
<pre></pre>
</div>
</a>
</div>
<script> <script>
if (window.testRunner)
testRunner.dumpAsText();
document.querySelector('pre').textContent = 'AA\u0605'; document.querySelector('pre').textContent = 'AA\u0605';
window.getSelection().selectAllChildren(document.getElementById('container')); window.getSelection().selectAllChildren(document.getElementById('container'));
document.execCommand('FormatBlock', false, '<h1>'); document.execCommand('FormatBlock', false, '<h1>');
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment