From 43a97878ce14b72f0981164f87f2e35e14151312 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 11:22:09 +0200 Subject: Adding upstream version 110.0.1. Signed-off-by: Daniel Baumann --- .../tests/css/css-tables/tentative/caption.html | 137 +++++++++++++++++++++ 1 file changed, 137 insertions(+) create mode 100644 testing/web-platform/tests/css/css-tables/tentative/caption.html (limited to 'testing/web-platform/tests/css/css-tables/tentative/caption.html') diff --git a/testing/web-platform/tests/css/css-tables/tentative/caption.html b/testing/web-platform/tests/css/css-tables/tentative/caption.html new file mode 100644 index 0000000000..e733285901 --- /dev/null +++ b/testing/web-platform/tests/css/css-tables/tentative/caption.html @@ -0,0 +1,137 @@ + + + + +caption + + + + + + + +

Caption sizing and positioning

+

There is a fundamental disagreement between Chrome Legacy and Firefox on caption size influence on table width. Chrome uses caption min width as lower limit of table's grid box, FF does not. Firefox also does not support multiple captions.

+ +
+ +

Caption width limits

+ +

Caption minmax and grid width +caption.min is lower limit of grid min.

+ + + +
auto
+ +

Caption.min vs caption.css_width +Caption.css_width is upper limit of caption.min +Caption.css_width is lower limit of caption.min +

+ + + +
auto
+ + + +
auto
+ + +

Caption width:50% +Percent width is resolved wrt to table width.

+ + + +
auto
+ + + + +
auto
+ +

Caption and size of empty table + Larger of table borders, and caption min size.

+ + +
c
c
+ +

Caption height:80% +github spec issue. +TablesNG will not resolve percentage heights per spec. FF agrees. +

+ + + +
auto
+ +

Multiple captions +Do we allow multiple captions? There are 4 in this test.

+ + + + + + +
over1over2under1under2
2 above me, 2 below me?
+

Caption margins +Margins between captions do not collapse

+ + + +
20px margins
1 caption
+ + + + +
20px margins20px margins
2 captions
+ + +

Caption margins auto +auto margins center captions that are less wide than the table. +

+ + + +
auto margins
1 caption
+ + + +
auto margins
1 caption
+ + +

Vertical writing mode caption +

+ + + + + +
vertical
caption bigger than table
vertical!
+ +
+ -- cgit v1.2.3