Skip to content

Commit 65be366

Browse files
committed
[css-position] More table tweaks.
1 parent c241bfc commit 65be366

2 files changed

Lines changed: 71 additions & 16 deletions

File tree

css-position/Overview.bs

Lines changed: 26 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1424,7 +1424,7 @@ The width of absolute, page or fixed positioned, non-replaced elements</h3>
14241424

14251425
<table class=data id='abspos-auto'>
14261426
<style scoped>
1427-
#abspos-auto ul { list-style-type: none; }
1427+
#abspos-auto ul { list-style-type: none; margin: 0; }
14281428
#abspos-auto caption { caption-side: bottom; }
14291429
</style>
14301430
<caption>
@@ -1447,7 +1447,7 @@ The width of absolute, page or fixed positioned, non-replaced elements</h3>
14471447
<td>
14481448
<td>
14491449
<td>
1450-
<td colspan=2>n/a
1450+
<td colspan=2>any
14511451
<td>
14521452
<ul>
14531453
<li>auto margins → zero
@@ -1483,19 +1483,22 @@ The width of absolute, page or fixed positioned, non-replaced elements</h3>
14831483
<td>
14841484
<td>
14851485
<td>
1486-
<td colspan=2>n/a
1486+
<td colspan=2>any
14871487
<td>
14881488
<ul>
1489+
<li>auto margins → zero
14891490
<li>left → static pos
1491+
<li>width → as specified
14901492
<li>right → solve
14911493
</ul>
14921494
<tr>
14931495
<td>
14941496
<td>
14951497
<td>
1496-
<td colspan=2>n/a
1498+
<td colspan=2>any
14971499
<td>
14981500
<ul>
1501+
<li>auto margins → zero
14991502
<li>left → solve
15001503
<li>width → shrink-to-fit
15011504
<li>right → as specified
@@ -1504,17 +1507,32 @@ The width of absolute, page or fixed positioned, non-replaced elements</h3>
15041507
<td>
15051508
<td>
15061509
<td>
1507-
<td colspan=2>n/a
1510+
<td colspan=2>any
15081511
<td>
15091512
<ul>
1513+
<li>auto margins → zero
15101514
<li>left → as specified
15111515
<li>width → shrink-to-fit
15121516
<li>right → solve
15131517
</ul>
15141518
<tr>
1515-
<td colspan=3>any one auto
1516-
<td colspan=2>n/a
1517-
<td>solve for auto
1519+
<td>
1520+
<td>
1521+
<td>
1522+
<td colspan=2 rowspan=3>any
1523+
<td rowspan=3>
1524+
<ul>
1525+
<li>auto margins → zero
1526+
<li>solve for auto
1527+
</ul>
1528+
<tr>
1529+
<td>
1530+
<td>
1531+
<td>
1532+
<tr>
1533+
<td>
1534+
<td>
1535+
<td>
15181536
</table>
15191537

15201538
<!-- End section: The width of absolute, page or fixed positioned, non-replaced element -->

css-position/Overview.html

Lines changed: 45 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2293,7 +2293,7 @@ <h3 class="heading settled" data-level="8.1" id="abs-non-replaced-width"><span c
22932293
<table class="data" id="abspos-auto">
22942294

22952295
<style scoped="">
2296-
#abspos-auto ul { list-style-type: none; }
2296+
#abspos-auto ul { list-style-type: none; margin: 0; }
22972297
#abspos-auto caption { caption-side: bottom; }
22982298
</style>
22992299

@@ -2335,7 +2335,7 @@ <h3 class="heading settled" data-level="8.1" id="abs-non-replaced-width"><span c
23352335

23362336
<td>
23372337

2338-
<td colspan="2">n/a
2338+
<td colspan="2">any
23392339

23402340
<td>
23412341

@@ -2407,14 +2407,18 @@ <h3 class="heading settled" data-level="8.1" id="abs-non-replaced-width"><span c
24072407

24082408
<td>
24092409

2410-
<td colspan="2">n/a
2410+
<td colspan="2">any
24112411

24122412
<td>
24132413

24142414
<ul>
24152415

2416+
<li>auto margins → zero
2417+
24162418
<li>left → static pos
24172419

2420+
<li>width → as specified
2421+
24182422
<li>right → solve
24192423

24202424
</ul>
@@ -2428,12 +2432,14 @@ <h3 class="heading settled" data-level="8.1" id="abs-non-replaced-width"><span c
24282432

24292433
<td>
24302434

2431-
<td colspan="2">n/a
2435+
<td colspan="2">any
24322436

24332437
<td>
24342438

24352439
<ul>
24362440

2441+
<li>auto margins → zero
2442+
24372443
<li>left → solve
24382444

24392445
<li>width → shrink-to-fit
@@ -2451,12 +2457,14 @@ <h3 class="heading settled" data-level="8.1" id="abs-non-replaced-width"><span c
24512457

24522458
<td>
24532459

2454-
<td colspan="2">n/a
2460+
<td colspan="2">any
24552461

24562462
<td>
24572463

24582464
<ul>
24592465

2466+
<li>auto margins → zero
2467+
24602468
<li>left → as specified
24612469

24622470
<li>width → shrink-to-fit
@@ -2468,11 +2476,40 @@ <h3 class="heading settled" data-level="8.1" id="abs-non-replaced-width"><span c
24682476

24692477
<tr>
24702478

2471-
<td colspan="3">any one auto
2479+
<td>
2480+
2481+
<td>
2482+
2483+
<td>
2484+
2485+
<td colspan="2" rowspan="3">any
2486+
2487+
<td rowspan="3">
2488+
2489+
<ul>
2490+
2491+
<li>auto margins → zero
2492+
2493+
<li>solve for auto
2494+
2495+
</ul>
2496+
2497+
2498+
<tr>
2499+
2500+
<td>
2501+
2502+
<td>
2503+
2504+
<td>
2505+
2506+
<tr>
2507+
2508+
<td>
24722509

2473-
<td colspan="2">n/a
2510+
<td>
24742511

2475-
<td>solve for auto
2512+
<td>
24762513
</table>
24772514

24782515

0 commit comments

Comments
 (0)