From ccc769bac2bdd8c0542a1fc51e648014c140ee65 Mon Sep 17 00:00:00 2001 From: Antoine Musso Date: Thu, 19 Jan 2012 17:22:36 +0000 Subject: [PATCH] design file for nested tables CSS See: Bug 33752 - Wikitable uses CSS not supported in IE6 r107669 --- docs/uidesign/child-selector-emu.html | 101 ++++++++++++++++++++++++++ 1 file changed, 101 insertions(+) create mode 100644 docs/uidesign/child-selector-emu.html diff --git a/docs/uidesign/child-selector-emu.html b/docs/uidesign/child-selector-emu.html new file mode 100644 index 0000000000..8294b6d784 --- /dev/null +++ b/docs/uidesign/child-selector-emu.html @@ -0,0 +1,101 @@ + + + + CSS Child selector emulation for IE 6 + + + +

+The following table show how nested tables inherit colors from the wikitable class (here it was renamed "global"). +

+ + + + + + + + + + + +
Global table
TH: should have pink bg
TD: white bg
+ + + + + + +
Nested table
Nested TH: transparentNested TD: transparent
+
+ +

+With child selector we could limit the wikitable styling to the direct childs of the table. Unfortunately, Internet Explorer 6.0 does not support child selector. See our bug #33752. +

+ + + + + + + + + + + +
Global table
TH: should have pink bg
TD: white bg
+ + + + + + +
Nested table
Nested TH: transparentNested TD: transparent
+
+

NOTE:The nested caption keep the green background. The nested table keep the black border. This is because those declarations are global so we did not reset them.

+ -- 2.20.1