Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / table / bad-replaced-sizing-preferred-logical-widths.html
blobc6bb2e1e679c529be1d8b7ed684b445a64d4b848
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../../resources/check-layout.js"></script>
5 <style>
6 html {
7 width: 800px;
10 table {
11 width: 100%;
12 border-spacing: 0px;
15 td {
16 height: 25px;
17 padding: 0px;
19 </style>
20 </head>
21 <body onload="checkLayout('iframe')">
22 <p>Bug <a href='https://bugs.webkit.org/show_bug.cgi?id=95892'>95892</a>: REGRESSION(r122501): replaced elements with percent width are wrongly size when inserted inside an auto-table layout.</p>
23 <p>This test checks that a replaced element inside an auto-table layout properly computes its preferred logical width.</p>
24 <table align="middle">
25 <tbody>
26 <tr>
27 <td>
28 <div style="width:100%">
29 <iframe srcdoc="<!DOCTYPE html><p>Lorem Ipsum</p>" width="100%" data-expected-width="763"></iframe>
30 </div>
31 </td>
32 <td align="right" valign="middle">
33 <div style="width:10px;"></div>
34 </td>
35 </tr>
36 </tbody>
37 </table>
38 </script>
39 </body>
40 </html>