gecko-dev/testing/web-platform/tests/css/CSS2/linebox/anonymous-inline-inherit-001.html
Koji Ishii 764c11d08e Bug 1486484 [wpt PR 12694] - Fix fast/table/column-in-inline.html not to rely on wrong behavior, a=testonly
Automatic update from web-platform-testsFix fast/table/column-in-inline.html not to rely on wrong behavior

fast/table/column-in-inline.html says it tests "a table-column
with a table-cell sibling are wrapped inside an inline-table
when the parent is inline" but it also tests:
1. Anonymous inline box inherits non-inherited properties,
   which contradicts with the spec (crbug.com/877946).
2. If the above was fixed, it tests baseline alignment of
   inline tables.

LayoutNG fails because it does not have crbug.com/877946.
This patch changes the test to focus on what it says, and
creates a separate test for crbug.com/869877.

Bug: 869877, 877946
Cq-Include-Trybots: luci.chromium.try​:linux_layout_tests_layout_ng
Change-Id: I0b53ec68d5ea59a93010d49891d6bfe3a6688158
Reviewed-on: https://chromium-review.googlesource.com/1179736
Reviewed-by: Emil A Eklund <eae@chromium.org>
Commit-Queue: Emil A Eklund <eae@chromium.org>
Cr-Commit-Position: refs/heads/master@{#586261}

--

wpt-commits: 5b93258a68e80156f410570483b4b0cd19ce6761
wpt-pr: 12694
2018-08-31 10:29:17 +00:00

15 lines
517 B
HTML

<!DOCTYPE html>
<link rel="match" href="anonymous-inline-inherit-001-ref.html">
<link rel="help" href="https://drafts.csswg.org/css2/visuren.html#anonymous">
<link rel="author" href="kojii@chromium.org">
<!--
The text node for "x" should be wrapped in an anonymous inline box,
which should have the initial value for non-inherited properties.
https://drafts.csswg.org/css2/visuren.html#anonymous
-->
<body>
<span style="vertical-align: top">
<span style="font-size: 500%">A</span>
x
</span>
</body>