From 83c7949e68c612bfda91f0c5208eafcb2c3f393c Mon Sep 17 00:00:00 2001 From: "karnaze%netscape.com" Date: Thu, 5 Dec 2002 01:15:55 +0000 Subject: [PATCH] new regression tests, not affecting the build. git-svn-id: svn://10.0.0.236/trunk@134820 18797224-902f-48f8-a5cc-f745e15eee43 --- .../table/collapsing_borders/bug41262-1.html | 49 ++++++ .../table/collapsing_borders/bug41262-2.html | 161 ++++++++++++++++++ .../table/collapsing_borders/bug41262-3.html | 108 ++++++++++++ .../table/collapsing_borders/bug41262-4.html | 26 +++ .../table/collapsing_borders/bug41262-5.html | 40 +++++ .../table/collapsing_borders/bug41262-6.html | 40 +++++ .../table/images/tbl-border-conflict.gif | Bin 0 -> 2061 bytes 7 files changed, 424 insertions(+) create mode 100644 mozilla/layout/html/tests/table/collapsing_borders/bug41262-1.html create mode 100644 mozilla/layout/html/tests/table/collapsing_borders/bug41262-2.html create mode 100644 mozilla/layout/html/tests/table/collapsing_borders/bug41262-3.html create mode 100644 mozilla/layout/html/tests/table/collapsing_borders/bug41262-4.html create mode 100644 mozilla/layout/html/tests/table/collapsing_borders/bug41262-5.html create mode 100644 mozilla/layout/html/tests/table/collapsing_borders/bug41262-6.html create mode 100644 mozilla/layout/html/tests/table/images/tbl-border-conflict.gif diff --git a/mozilla/layout/html/tests/table/collapsing_borders/bug41262-1.html b/mozilla/layout/html/tests/table/collapsing_borders/bug41262-1.html new file mode 100644 index 00000000000..7b9d5a0cbae --- /dev/null +++ b/mozilla/layout/html/tests/table/collapsing_borders/bug41262-1.html @@ -0,0 +1,49 @@ + + +Untitled + + + + + + + + + + + + +
foobar
foobar
+

+ + + + + + + +
foobar
foobar
+

+ + + + + + + +
foobar
foobar

diff --git a/mozilla/layout/html/tests/table/collapsing_borders/bug41262-2.html b/mozilla/layout/html/tests/table/collapsing_borders/bug41262-2.html new file mode 100644 index 00000000000..4236eb84030 --- /dev/null +++ b/mozilla/layout/html/tests/table/collapsing_borders/bug41262-2.html @@ -0,0 +1,161 @@ + + +border-collapse testfiles + + + + +

border-collapse testfiles

+quirks mode +bugzilla testcases +worth reading + diff --git a/mozilla/layout/html/tests/table/collapsing_borders/bug41262-3.html b/mozilla/layout/html/tests/table/collapsing_borders/bug41262-3.html new file mode 100644 index 00000000000..c6ca52daa99 --- /dev/null +++ b/mozilla/layout/html/tests/table/collapsing_borders/bug41262-3.html @@ -0,0 +1,108 @@ + + +Collapsing Border Test Case + + + + + +

Following table should have 6px solid blue border around cell 3, red 5px +solid border around the rest of table and green 4px solid border between cell 1 +and cell 2. The red border should override the green border around the cells +because it's thicker and the blue border should override the red border for the +same reason.

+ + + + + +
Cell #1Cell #2Cell #3
+

See 17.6.2 The +collapsing border model for following tests:

+ + + + + + + + + + + + + + + + + + + + + + + + + +
123
456
789
101112
131415
+

This is an example rendering for the previous table from http://www.w3.org/TR/REC-CSS2/images/tbl-border-conflict.gif: +
[Example rendering from w3.org]

+

Following table should have 2px solid black line between rows. There should +be a total of two lines. There will be three lines if user agent doesn't support +tr:first-child.

+ + + + + + + + + + + + + +
abc
345
51213
diff --git a/mozilla/layout/html/tests/table/collapsing_borders/bug41262-4.html b/mozilla/layout/html/tests/table/collapsing_borders/bug41262-4.html new file mode 100644 index 00000000000..36a67f0f849 --- /dev/null +++ b/mozilla/layout/html/tests/table/collapsing_borders/bug41262-4.html @@ -0,0 +1,26 @@ + + +borderCollapse + + + + + +
+
+ + + + + + + + + + +
EST9:00 a.m.
CST8:00 a.m.
PST6:00 a.m.
+

+

diff --git a/mozilla/layout/html/tests/table/collapsing_borders/bug41262-5.html b/mozilla/layout/html/tests/table/collapsing_borders/bug41262-5.html new file mode 100644 index 00000000000..4500b9c6b18 --- /dev/null +++ b/mozilla/layout/html/tests/table/collapsing_borders/bug41262-5.html @@ -0,0 +1,40 @@ + + +rules Property + + + +
+ + + + + + + + + + + + + + + + + + + +
EST1am8pm
CST2am9pm
MST3am10pm
PST4am11pm
+


diff --git a/mozilla/layout/html/tests/table/collapsing_borders/bug41262-6.html b/mozilla/layout/html/tests/table/collapsing_borders/bug41262-6.html new file mode 100644 index 00000000000..8ed79a7dbb4 --- /dev/null +++ b/mozilla/layout/html/tests/table/collapsing_borders/bug41262-6.html @@ -0,0 +1,40 @@ + + +RULES with BORDER property + + + +
+ + + + + + + + + + + + + + + + + + + +
EST1am8pm
CST2am9pm
MST3am10pm
PST4am11pm
+


diff --git a/mozilla/layout/html/tests/table/images/tbl-border-conflict.gif b/mozilla/layout/html/tests/table/images/tbl-border-conflict.gif new file mode 100644 index 0000000000000000000000000000000000000000..fc5d001e753b5d0ed30f1bda3e3f1802c8f54ffd GIT binary patch literal 2061 zcmV+o2=ezwNk%v~VSNC-0E7Sl0001if&Be{od5r-$H)Hv|JZSHajL2S|Nn7o`(wcU zLsnL(*x1mh2{0000000000 z000000000000000EC2ui0DS5-c!Dc^hAn}KD};KCD2R|Li<2>Wg_b0enkAK;BaReHpdy^56Q8A`q@|~&s-Uc> zrg5|)v7NKDub{b_yQsaLzm~zSwztKT$1V>BFvBVg4-X75%aPSE%_|HB01wg0F5eU2 z*lq^U=q}xd;p2YJ0Mzq}>g@N8n2#>)e8{z6AO`?6Kyw%nyymXos5S=MNK>(np^I!L zsIBAXuoVk};^eh4ATH#^k z7Ci#O=+mf6qh4LXL50__W6PdRyY_1ZxFhWKs40N&-@iu?08Tu(h~dS7Cs@wBx%21H zqeHK-SHgws*t2Wj&YgR5-@?BG4=+A|^z-P`C!mg)mU!~z;eS_8zyA8&?tK%u#hg8= z{`jHt+kUhFSm1K(_5RhHe*7WW;C=0(G8zOA`d5m93Le&pf&V!ep@tno7-E8ofv5?G z7kZfCBm-9H;)kHLc%X@;f|TBb1BXc~2+3IsW^GB48(^wn3pFp8$(st+#KR2ynF3Kok*UI=896$EN-ne+i64csASXmJ zU5Y1~Mn%*qqjbsvhnHVkDQOBmS!&5Q&)5VgkTX34YpjvZX(A+^PBQASM$(upiL*{J z;fqM}mW@1L+T*s%cH6AB0T75}wBAk&?uM+Mh;4r5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