Bug 1555155 [wpt PR 17053] - [LayoutNG] RT elements must fall back to legacy layout., a=testonly

Automatic update from web-platform-tests
[LayoutNG] RT elements must fall back to legacy layout.

Normally, an RT element is somewhere inside a RUBY element. We already
force legacy layout for the entire subtree established by RUBY elements,
but we need to do the same for RT elements, in case they don't have a
RUBY ancestor. RT elements create a special legacy layout object,
without necessarily establishing a new formatting context.

Bug: 967255
Change-Id: I35857fdeced55ee10a385b58b117f28007bd7791
Cq-Include-Trybots: luci.chromium.try​:linux_layout_tests_layout_ng
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1632261
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Commit-Queue: Emil A Eklund <eae@chromium.org>
Reviewed-by: Emil A Eklund <eae@chromium.org>
Cr-Commit-Position: refs/heads/master@{#664014}

--

wp5At-commits: 9297e3a70844b16378370f9cd59e0f340cd99fcb
wpt-pr: 17053
This commit is contained in:
Morten Stenshorne 2019-06-13 14:19:44 +00:00 коммит произвёл James Graham
Родитель 703319ce40
Коммит c5d9d8dfd4
1 изменённых файлов: 11 добавлений и 0 удалений

Просмотреть файл

@ -0,0 +1,11 @@
<!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=967255">
<rt style="display:block;">
<div></div>
</rt>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
test(()=> { }, "No crash");
</script>