From d9022f63880ce039446fba8364f68e656b7bf4cb Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Thu, 3 May 2012 13:01:35 +0200 Subject: Update to MediaWiki 1.19.0 --- docs/uidesign/child-selector-emu.html | 101 +++++++++++++++++++++++ docs/uidesign/design.html | 34 ++++++++ docs/uidesign/mediawiki.action.history.diff.html | 57 +++++++++++++ docs/uidesign/monospace.html | 78 +++++++++++++++++ docs/uidesign/table-layout.html | 60 ++++++++++++++ 5 files changed, 330 insertions(+) create mode 100644 docs/uidesign/child-selector-emu.html create mode 100644 docs/uidesign/design.html create mode 100644 docs/uidesign/mediawiki.action.history.diff.html create mode 100644 docs/uidesign/monospace.html create mode 100644 docs/uidesign/table-layout.html (limited to 'docs/uidesign') diff --git a/docs/uidesign/child-selector-emu.html b/docs/uidesign/child-selector-emu.html new file mode 100644 index 00000000..8294b6d7 --- /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.

+ diff --git a/docs/uidesign/design.html b/docs/uidesign/design.html new file mode 100644 index 00000000..20dab86e --- /dev/null +++ b/docs/uidesign/design.html @@ -0,0 +1,34 @@ + + + + + + + +

Messages

+

Success message

+

Warning message

+

Error message

+ +

Messages box

+

Success message

+

Warning message

+

Error message

+ +
+

Various

+ span.comment + a.feedlink + + + + +
table.wikitable
cellcell
cellcell
+ + + + + +
table.mw-datatable
line with hoverline with hover
line with hoverline with hover
+ + diff --git a/docs/uidesign/mediawiki.action.history.diff.html b/docs/uidesign/mediawiki.action.history.diff.html new file mode 100644 index 00000000..fdc54aa3 --- /dev/null +++ b/docs/uidesign/mediawiki.action.history.diff.html @@ -0,0 +1,57 @@ + + + + + + +

+This show various styles for our diff action, the background being hardcoded to gray (#C0C0C0) The reference style sheet is:

+

+resources/mediawiki.action/mediawiki.action.history.diff.css. +

+

+This file might help us fix our diff colors which have been a recurring issues among the community for a loooong time.

+ +

+First, show the diff mostly like it would be chown on a wiki

+ + + + + + + +
-
+ Some content deleted / replaced +
+
+ Some content added / replacement +
+ + +

+Below are some basic lines being applied one or two classes. Mainly for debugging purposes

+ + + + + + + + + + + + + + + + +
Diff
diff-addedline: added line
diff-deletedline: deleted line
diff-context: context
Same as above with a <span> child element having the diffchange class
Diffchange
+ Added line + diffchange +
+ Deleted line + diffchange +
+ Context + diffchange +
+ + diff --git a/docs/uidesign/monospace.html b/docs/uidesign/monospace.html new file mode 100644 index 00000000..84ec13a4 --- /dev/null +++ b/docs/uidesign/monospace.html @@ -0,0 +1,78 @@ + + + + + + +

+This page let you test the rendering font-family declaration for monospaced fonts. TODO: add some references here :-) +

+

+Erwin Dokter had the following explanation on Bugzilla #33496: +

+
+By default, a (Windows) browser has it's default font-sizes set at 16px for +serif and sans-serif, and 13px for monospace. Except in IE, where you cannot +set any font-sizes... it uses 16px for all fonts. +
+Vector has a base font-size of 0.8em, and most browsers *correctly* scale down +all fonts, including the monospace font, accordingly. So monospace is shown at +0.8 x 13px = 10px (which is perceived as 'too small'). But when you assign any +font besides just "monospace", those browsers will no longer treat it as +monospace and use 0.8 x 16px = 13px instead. +
+

+Below are various rendering: +

+ +
+font-family: monospace;
+
+ +
+font-family: "Courier New";
+
+ +
+font-family: Courier;
+
+ +
+font-family: monospace, monospace;
+
+ +
+font-family: monospace, "Courier New";
+
+ +
+font-family: monospace, Courier;
+
+ +
+font-family: monospace, Verdana;
+
+ +
+font-family: monospace, DOESNOTEXISTREALLY;
+
+ diff --git a/docs/uidesign/table-layout.html b/docs/uidesign/table-layout.html new file mode 100644 index 00000000..6f538258 --- /dev/null +++ b/docs/uidesign/table-layout.html @@ -0,0 +1,60 @@ + + + + + + + +

+This play with table-layout:fixed; and applying the width to colgroup or col element. Firefox only recongize the width if it is applied on col element!

+

+On a perfect browser, both tables should look the same

+ +
+
colgroup
+
300 px width is applied to the first colgroup element
+
+
+ + + + + + + + + +
Very long?#$
+
+ +
+
col
+
Each colgroup has an additional col element. The first col element is applied the 300 px width
+
+ +
+ + + + + + + + + +
Very long?#$
+
+ -- cgit v1.2.3-54-g00ecf