зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1541477 [wpt PR 15950] - In table layout, treat calc(% + 0px) as calc(%)., a=testonly
Automatic update from web-platform-tests In table layout, treat calc(% + 0px) as calc(%). Per https://github.com/w3c/csswg-drafts/issues/3482, in table layout, treat calc(% + 0px) as the same with calc(%). Bug: 382725, 920784 Change-Id: Ibd4face2ff6b61895e3eb6591ab1add2975e2602 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1531936 Commit-Queue: David Grogan <dgrogan@chromium.org> Reviewed-by: David Grogan <dgrogan@chromium.org> Reviewed-by: Morten Stenshorne <mstensho@chromium.org> Cr-Commit-Position: refs/heads/master@{#643484} -- wpt-commits: 44bb330dbfab7101aa5429e7aab661a745cb839d wpt-pr: 15950
This commit is contained in:
Родитель
8b54322010
Коммит
8a71437c91
|
@ -0,0 +1,9 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>Simple calc expression in table layout</title>
|
||||
<table border>
|
||||
<tr>
|
||||
<td style="width: 50%">x</td>
|
||||
<td style="width: 100px">y</td>
|
||||
</tr>
|
||||
</table>
|
|
@ -0,0 +1,12 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>Simple calc expression in table layout</title>
|
||||
<link rel="help" href="https://github.com/w3c/csswg-drafts/issues/3482">
|
||||
<link rel="match" href="calc-percent-plus-0px-ref.html">
|
||||
<meta name="assert" content="calc(% + 0px) should be handled as calc(%) in table layout.">
|
||||
<table border>
|
||||
<tr>
|
||||
<td style="width: calc(50% + 0px)">x</td>
|
||||
<td style="width: 100px">y</td>
|
||||
</tr>
|
||||
</table>
|
Загрузка…
Ссылка в новой задаче