r103427 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r103426‎ | r103427 | r103428 >
Date:01:07, 17 November 2011
Author:brion
Status:deferred
Tags:
Comment:
wrapping & updates from yesterday i guess
Modified paths:
  • /trunk/mockups/athena/README (modified) (history)

Diff [purge]

Index: trunk/mockups/athena/README
@@ -5,20 +5,42 @@
66
77 == Data source ==
88
9 -Pages are loaded in an <iframe> from http://en.wikipedia.org using ?useformat=mobile.
10 -They are currently loaded through a local .php proxy which hides the mobile-view header/footer and injects a script to modify behavior to cooperate with the parent frame.
 9+Pages are loaded in an <iframe> from http://en.wikipedia.org using
 10+?useformat=mobile. They are currently loaded through a local .php proxy
 11+which hides the mobile-view header/footer and injects a script to modify
 12+behavior to cooperate with the parent frame.
1113
12 -This frame embedding (using HTML5 postMessage) style, if integrated into the regular raw views, could make it easier for mockups and alternate UI tools to hook in without modification in future, without exposing direct XSS vectors between the two sides...
 14+This frame embedding (using HTML5 postMessage) style, if integrated into
 15+the regular raw views, could make it easier for mockups and alternate UI
 16+tools to hook in without modification in future, without exposing direct
 17+XSS vectors between the two sides...
1318
1419
1520
1621 == Screen size ==
1722
18 -CSS media queries are used to check the screen. If 640px or wider, we enable the 'tablet' mode with wider buttons, more visible entries on the top bar.
 23+CSS media queries are used to check the screen. If 640px or wider, we
 24+enable the 'tablet' mode with wider buttons, more visible entries on the
 25+top bar.
1926
20 -If smaller, we use the 'mobile' mode with more compact buttons, things folded etc.
 27+If smaller, we use the 'mobile' mode with more compact buttons, things
 28+folded etc.
2129
2230
 31+Using CSS media queries lets a lot of the layout logic happen on its own
 32+without having to ship separate code for small and medium screens. For
 33+mobile web and PhoneGap-style apps this makes it easier to ship a single
 34+codebase that runs on both sizes.
 35+
 36+Some systems may also allow dynamically resizing the screen, such as the
 37+side-by-side "snapped" application view in Windows 8's Metro environment.
 38+This allows the app to automatically retool itself to fit a smaller or
 39+larger subset of the screen.
 40+
 41+When testing in a regular browser, you can see this in action by sizing
 42+the browser window to wider or narrower than 640px.
 43+
 44+
2345 == Scrolling ==
2446
2547 The embedding iframe is sized to match its content, so the outer document as a whole scrolls.

Status & tagging log