W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2009

[Window/View Modes] Naming + Feature vs. Query: suggested changes

From: Marcin Hanclik <Marcin.Hanclik@access-company.com>
Date: Tue, 18 Aug 2009 11:06:47 +0200
To: "public-webapps@w3.org" <public-webapps@w3.org>
Message-ID: <FAA1D89C5BAF1142A74AF116630A9F2C2890C658DC@OBEEX01.obe.access-company.com>
Hi All,

I am now editing the Window Modes document.
It seems there is inconsistency in the naming of core subject of the Window/View Modes specification.

P&C uses "viewmodes" XML attribute [1].
P&C refers to: "[Widgets-Views] Widgets 1.0: Media Query Extensions."

WM has the title "Window Modes and ..." [2].
WM uses in CSS "widget-mode" features [2] and "widgetMode" attribute [3].
A&E uses "viewMode" Web IDL attribute [4].
My suggestion is to unify the related naming convention.

IMHO, the spec defines new media feature (widget-mode/widget-viewmode) [5], but does not define new media queries or their new syntax [6].
So we should add the proper title to reflect this fact.
E.g.

@media handheld and (widget-mode: widget) and (orientation: landscape) {

}

is proper MQ syntax [6].

The suggested changes are:
1. Rename the specification to:
"Widgets 1.0: View Modes and Media Features"
a. The link " http://dev.w3.org/2006/waf/widgets-wm/" could be changed to "http://dev.w3.org/2006/waf/widgets-vm/"
2. Rename the media feature from "widget-mode" to "widget-view-mode".
3. Modify the Web IDL IF from

interface WidgetModeChangeEvent : Event {
  readonly attribute DOMString widgetMode;
...
};

to

interface WidgetViewModeChangeEvent : Event {
  readonly attribute DOMString widgetViewMode;
...
};

I would like to proceed with these editorial changes asap (e.g. have it done before our next telco), and I just would like first to consult with the group whether there are any objections or comments wrt the above modifications.

Thanks.

Kind regards,
Marcin

[1] http://dev.w3.org/2006/waf/widgets/#view-mode
[2] http://dev.w3.org/2006/waf/widgets-wm/Overview.src.html
[3] http://dev.w3.org/2006/waf/widgets-wm/Overview.src.html#widgetmodechangeevent
[4] http://www.w3.org/TR/widgets-apis/#the-viewmode-attribute
[5] http://www.w3.org/TR/css3-mediaqueries/#media1
[6] http://www.w3.org/TR/css3-mediaqueries/#syntax

Marcin Hanclik
ACCESS Systems Germany GmbH
Tel: +49-208-8290-6452  |  Fax: +49-208-8290-6465
Mobile: +49-163-8290-646
E-Mail: marcin.hanclik@access-company.com


________________________________________

Access Systems Germany GmbH
Essener Strasse 5  |  D-46047 Oberhausen
HRB 13548 Amtsgericht Duisburg
Geschaeftsfuehrer: Michel Piquemal, Tomonori Watanabe, Yusuke Kanda

www.access-company.com

CONFIDENTIALITY NOTICE
This e-mail and any attachments hereto may contain information that is privileged or confidential, and is intended for use only by the
individual or entity to which it is addressed. Any disclosure, copying or distribution of the information by anyone else is strictly prohibited.
If you have received this document in error, please notify us promptly by responding to this e-mail. Thank you.
Received on Tuesday, 18 August 2009 09:07:32 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:33 GMT