From jimjjewett at gmail.com Fri Jan 1 19:22:30 2010 From: jimjjewett at gmail.com (Jim Jewett) Date: Fri, 1 Jan 2010 22:22:30 -0500 Subject: [whatwg] the cite element Message-ID: Back around Oct 15, Ian summarized his objections to letting refer to the primary source of the information, rather than being an oddly named synoymy for . > On Thu, 8 Oct 2009, Jim Jewett wrote: >> > I hate to be so repetitive, but why is that beneficial? What is the >> > semantic value of this? >> You are welcome to say that argument by authority is so weak as to be >> invalid, but it still happens. >> Similarly, you are welcome to say that the academic habit of crediting >> other authors (sometimes but not always for specific publications) is >> silly, but it still happens. > What I'm saying is that doesn't help with either of the above. It's > quite possible to cite people in text/plain, without any markup. What does > _add_ that solves a real problem? ... >> -- particularly when restyled to not be visually apparent -- may >> be one of the few aspects of HTML which is more important to other >> classes of products. > Like what? Are there examples I could look at? That would be very helpful > in terms of finding purposes for other than just italics. I was thinking of business-rule-validators that ensure claims are "justified", or academic-influence measures that track citation graphs. That said, I suspect any tool that can assume cooperative authors will be custom, and could therefore be written to look for . So this use case may be about cruft rather than needs. >> > Is there as much semantic value in pointing to the primary source of a >> > statement as there is in knowing that the word "earth" refers to the >> > planet and not the dirt, for example? If so, what is that extra value? When quotes are attributed to Winston Churchill (or Oscar Wilde), that attribution is important -- generally more important than which specific speech it came from. >> >> dialogues and transcripts and credits and theatrical scripts are all >> >> arguably too fine-grained for a "citation", as opposed to a "label" >> >> or "attribution", but they are certainly real use cases where the >> >> attribution is important. >> > Why? This is not a rhetorical question, I'm trying to get to the use >> > case that means that there is an actual benefit to what you are asking >> > for. >> They are all cases where "who said it" or "who did it" is important -- >> sometimes far more important than what they actually said or did. > Sure, but doesn't help determine that. English helps determine > that. (Or whatever natural language is used.) What is doing? Evil Lawyer: So, when did you stop beating your wife? Defendant: Never! "Evil Lawyer" and "Defendant" aren't pronounced. Their meanings (and silence) are deduced from English conventions about punctuation. I would prefer a semantic tag. (I'll freely agree that isn't the perfect name, but it seems bizarre to forbid this related meaning, while allowing generic Title Of Work.) >
  • and are both useful because of their default styling, as is > , when used for something that works with its default styling. But > that doesn't apply to people's names -- they are almost never made > italics. I actually have read scripts that used italics to indicate the speaker's name. I didn't find them the most readable of scripts, but I have seen them. >> >> I'll agree that it seems odd to have that many elements in >> >> such close proximity, but it is the closest match I can find in the >> >> spec, and it doesn't seem to be actually wrong. ?Searching for lines >> >> by a particular character is a fairly common use case. >> > Doesn't "find in page" handle that fine? >> Not in my opinion. > What are you expecting Web browsers to do that would make a better > solution? Has a browser vendor expressed an interest in some UI feature > for searching by citation name or some such? Initially, nothing except Javascript or CSS hacks. I'm expecting those to do something like increase the font size or change the background for lines *I* have to memorize for *my* character, or for cue lines that I have to recognize. >> Because we don't have an or even a element, and so >> is the closest match. > You're still not saying why you want this element. What would be > good for? What UI would it trigger? How would users or authors benefit? I wouldn't expect the main use to be in normal browsing. I would expect it to be used in License checkers that some organizations would deploy to ensure they aren't violating copyright. I would expect it to be used by some scrapers looking for stock photos. I would expect it to be used with custom CSS for some users, who are really looking for a model or photographer rather than an existing photograph. >> Defining it as a synonym for seems wrong in both >> directions -- both promoting something that shouldn't be an element, >> *and* preventing sensible use of an appropriately named element. > Why would it be wrong to have an element to style titles? Turning around your favorite question, what is the semantic value? I can recommend Orson Scott Card's novel Enchantment. I can recommend Orson Scott Card's novel "Enchantment". I can recommend Orson Scott Card's novel Enchantment. I can recommend Orson Scott Card's novel Enchantment. Is the extra value of the 4th spelling really that great? And if the semantics are being changed anyhow, why not just move the entire element from the "valid markup" section to the "user agents must process" section? -jJ From timeless at gmail.com Sat Jan 2 22:58:58 2010 From: timeless at gmail.com (timeless) Date: Sun, 3 Jan 2010 06:58:58 +0000 Subject: [whatwg] window.print() when printing is not supported In-Reply-To: <4B389C58.7020804@helsinki.fi> References: <4B389C58.7020804@helsinki.fi> Message-ID: <26b395e61001022258o50dfb67ay9bcee1eb88a14f45@mail.gmail.com> On Mon, Dec 28, 2009 at 11:54 AM, Olli Pettay wrote: > Hi all, > > currently > http://www.whatwg.org/specs/web-apps/current-work/multipage/timers.html#printing > says that window.print() should prompt user to print the page, but that "For > instance, a kiosk browser could silently ignore any invocations of the > print() method." I don't think silently ignoring is the right behavior. the right behavior is offering the user a script frozen interface to that window with a way to 'resume'. Printing is basically "pause the great scary web". That it happens to kill a tree in the process is not interesting. As a user of a kiosk with a digital camera, being able to press a print button, use my digital camera to take a picture, scroll the page some more, take another picture, and keep doing this until i'm done "printing" is the correct behavior. When I'm done, i should click "done" (= close print preview). Kiosk implementations should be encouraged to implement this. If they don't want to implement this, they can do whatever they like, but anything else is a disservice to the unfortunate kiosk user of a page which does: y=window.open(x) y.print(); y.close(); From darin at chromium.org Mon Jan 4 10:54:48 2010 From: darin at chromium.org (Darin Fisher) Date: Mon, 4 Jan 2010 10:54:48 -0800 Subject: [whatwg] Question about pushState In-Reply-To: References: Message-ID: As follow-up, I've filed these bugs: http://www.w3.org/Bugs/Public/show_bug.cgi?id=8629 https://bugs.webkit.org/show_bug.cgi?id=33160 (Privately, Maciej Stachowiak told me that he supports changing WebKit's pushState implementation to match Firefox, and so I have filed a bug against the spec to get it updated to reflect what implementors are doing.) -Darin On Wed, Dec 16, 2009 at 11:51 AM, Darin Fisher wrote: > [Apologies if this has been discussed before, but I couldn't find it in the > archives.] > > Why does pushState only prune forward session history entries corresponding > to the same document? I would have expected it to behave like a reference > fragment navigation, which prunes *all* forward session history entries. > Reason: it seems strange when a "navigation" doesn't result in a disabled > forward button in the browser UI, so an app developer may be unsatisfied > using pushState in place of reference fragment navigations. > > Thoughts? > -Darin > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dbaron at dbaron.org Tue Jan 5 06:40:09 2010 From: dbaron at dbaron.org (L. David Baron) Date: Tue, 5 Jan 2010 09:40:09 -0500 Subject: [whatwg] [html5] r4483 - [giow] (0) Clarify that
    doesn't stop bidi processing. Fixing http://www.w3. [...] In-Reply-To: <20100105111610.C649A1389D7@hixie.dreamhostps.com> References: <20100105111610.C649A1389D7@hixie.dreamhostps.com> Message-ID: <20100105144009.GA5105@pickering.dbaron.org> On Tuesday 2010-01-05 03:16 -0800, whatwg at whatwg.org wrote: (describing http://html5.org/tools/web-apps-tracker?from=4482&to=4483) > [giow] (0) Clarify that
    doesn't stop bidi processing. > Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=8363 It might be worth saying that it is equivalent to LINE SEPARATOR in terms of bidi processing, as HTML4 did: # With respect to bidirectional formatting, the BR element should # behave the same way the [ISO10646] LINE SEPARATOR character # behaves in the bidirectional algorithm. -- http://www.w3.org/TR/html4/struct/text.html#h-9.3.2.1 As I understand it, the bidi algorithm [1] has two parts: * resolution, in which characters are assigned embedding levels * reordering, in which the characters are reorderded into their left-to-right display order by, for each N decreasing from 63 to 1, reversing all contiguous runs of embedding level N or higher The importance of being a line separator is that *resolution* is run on paragraphs (so is run on units containing line separators in the middle), but reordering is run on lines (so it is not run on units containing line separators). This means that characters on one side of a line separator can influence the directionality of characters on the other side, but reordering can't move them to the opposite side of the BR (i.e., across lines). For example the markup (where uppercase characters are right-to-left) within a left-to-right direction block: HEB-
    REW looks like: -BEH WER whereas the markup: HEB-

    REW looks like: BEH- WER (the hyphen appears at the opposite end). -David [1] http://unicode.org/reports/tr9/ -- L. David Baron http://dbaron.org/ Mozilla Corporation http://www.mozilla.com/ From nzakas at yahoo-inc.com Tue Jan 5 12:20:39 2010 From: nzakas at yahoo-inc.com (Nicholas Zakas) Date: Tue, 5 Jan 2010 12:20:39 -0800 Subject: [whatwg] Inconsistent behavior for empty-string URLs In-Reply-To: References: <4E45EC6AD219FD47AD1BC06E4EE3845D0420CDBC@SNV-EXVS09.ds.corp.yahoo.com><4E45EC6AD219FD47AD1BC06E4EE3845D0420D17C@SNV-EXVS09.ds.corp.yahoo.com><4E45EC6AD219FD47AD1BC06E4EE3845D0420D281@SNV-EXVS09.ds.corp.yahoo.com><72E66735-4FF0-4E17-A510-C420A8C84B51@apple.com><63df84f0912150936j4faa7f04oe4ca547b71dd1e95@mail.gmail.com><4E45EC6AD219FD47AD1BC06E4EE3845D0420D3C0@SNV-EXVS09.ds.corp.yahoo.com><63df84f0912151147r5dca8f35tc5217129cef01f77@mail.gmail.com><4E45EC6AD219FD47AD1BC06E4EE3845D0420D446@SNV-EXVS09.ds.corp.yahoo.com><63df84f0912151721s94ef201k64ea81027904e5bf@mail.gmail.com><63df84f0912160821t16080bd5q5c81ba5a49ee517d@mail.gmail.com><4E45EC6AD219FD47AD1BC06E4EE3845D0420D768@SNV-EXVS09.ds.corp.yahoo.com> Message-ID: <4E45EC6AD219FD47AD1BC06E4EE3845D0443AD57@SNV-EXVS09.ds.corp.yahoo.com> Given all of this info, does anyone believe there's further investigation necessary before making a recommendation for this change? -Nicholas ______________________________________________ Commander Lock: "Damnit Morpheus, not everyone believes what you believe!" Morpheus: "My beliefs do not require them to." -----Original Message----- From: whatwg-bounces at lists.whatwg.org [mailto:whatwg-bounces at lists.whatwg.org] On Behalf Of Simon Pieters Sent: Tuesday, December 22, 2009 2:30 AM To: Nicholas Zakas; Jonas Sicking Cc: Maciej Stachowiak; whatwg at lists.whatwg.org; Aryeh Gregor Subject: Re: [whatwg] Inconsistent behavior for empty-string URLs On Mon, 21 Dec 2009 20:03:01 +0100, Nicholas Zakas wrote: > Here are the results of testing various tags with empty URLs across > different browsers. The table below indicates how many requests are sent > when the given tag is encountered on the page (curiously, Firefox 3 > sometimes sends two extra requests). Even though the tags don't > show it in the table, they all had href="". > > IE7 IE8 FF3 FF3.5 > SF4 Ch3 Op10 > 1 1 1 0 1 > 1 0 > 0 0 1 1 1 > 1 0 > 0 0 2 1 > 1 1 0 > 0 0 2 1 1 > 1 0 > 0 0 2 0 0 > 0 0 > This alerts empty string in Gecko (and doesn't show the string "foopy" in the iframe). -Boris From ian at hixie.ch Wed Jan 13 13:56:28 2010 From: ian at hixie.ch (Ian Hickson) Date: Wed, 13 Jan 2010 21:56:28 +0000 (UTC) Subject: [whatwg] about:blank synchronicity In-Reply-To: <19E2A843-0377-464E-8970-7F6BBBD3735B@iki.fi> References: <19E2A843-0377-464E-8970-7F6BBBD3735B@iki.fi> Message-ID: On Wed, 13 Jan 2010, Henri Sivonen wrote: > > Gecko (with the old parser) has these two characteristics: > 1) If a browsing context that has no document object is asked to return > its document object, an about:blank-like DOM is generated into the > browsing context synchronously. > 2) When a browsing context is navigated to about:blank, a task is > posted to the task queue. When that task is run, about:blank is parsed > to completion during the single task queue task. The spec currently distinguishes between the initial about:blank load (creation of a new browsing context), which actually doesn't involve navigation, and navigating to about:blank. It seems like simply making the first one synchronous, but making the latter asynchronous, would satisfy your use case. Would other vendors be ok with this? Would it have other problems? Are there cases other than navigation where about:blank being synchronous is detectable? (I couldn't find any.) -- Ian Hickson U+1047E )\._.,--....,'``. fL http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.' From hsivonen at iki.fi Thu Jan 14 00:20:10 2010 From: hsivonen at iki.fi (Henri Sivonen) Date: Thu, 14 Jan 2010 10:20:10 +0200 Subject: [whatwg] about:blank synchronicity In-Reply-To: <4B4DFE2B.8070707@mit.edu> References: <19E2A843-0377-464E-8970-7F6BBBD3735B@iki.fi> <4B4DFE2B.8070707@mit.edu> Message-ID: <0ED70CC8-705B-41F6-A994-35B4D07D2E47@iki.fi> On Jan 13, 2010, at 19:08, Boris Zbarsky wrote: > On 1/13/10 11:52 AM, Maciej Stachowiak wrote: >> It seems like if Gecko truly wanted to make about:blank synchronous, it >> should be possible simply by special-casing its load and performing a >> series of DOM calls right then and there, without ever involving the >> parser. > > Turns out this actually breaks at least some things that expect (asynchronous) onload events and the like for the about:blank load, at least when Henri tried doing exactly that. I _think_ this was for cases where an explicit about:blank was listed as the src. I did it after absent or empty src had been defaulted to about:blank: so empty, absent and explicit about:blank were all covered. Also, I did it for all browsing contexts--not just iframes. The most obvious test case that broke was testing history navigation in a top-level browsing context (i.e. created in XUL--not as an iframe). It is plausible that my attempt to fix was too na?ve and additional tweaking of the events could work. (It is indeed very likely that my attempted fix was too na?ve.) Also, making the change only for frames but not for top-level browsing contexts might be worth considering if changing this for top-level browsing contexts is too disruptive. Which leads to the question: Are there known Web compat constraints on navigating a non-framed browsing context to about:blank via window.open() or window.location.href in a previously open()ed window? -- Henri Sivonen hsivonen at iki.fi http://hsivonen.iki.fi/ From philipj at opera.com Thu Jan 14 06:36:21 2010 From: philipj at opera.com (=?iso-8859-15?Q?Philip_J=E4genstedt?=) Date: Thu, 14 Jan 2010 15:36:21 +0100 Subject: [whatwg]

    . If we don't convert newlines, we gain spurious 
    linebreaks (and spaces). The latter is less destructive, which is why I 
    picked it, but it's not ideal, I agree.
    
    I'd like at some point to introduce some sort of "semantic" textContent 
    that handles 
    ,
    , , dir="", , , space- 
    collapsing, and newline elimination, but there hasn't been much enthusiasm 
    around the idea, and it's not clear what else it would be good for.
    
    I've changed the example, at least, to have it work ok, and added a 
    comment in the example about it.
    
    
    > Finally on vCard, the final part of the extraction algorithm goes to 
    > great trouble to guess what is the family name and what is the given 
    > name. This guess will be broken for transliterated east Asian names 
    > (CJKV that I know of, maybe others too). Just saying. Also, why is it 
    > important to explicitly add N:;;;; for organizations?
    
    This is intended to be compatible with Microformats vCard, which has 
    these weird rules. If you think we should remove them, please at least 
    first speak to Tantek and see why he thinks.
    
    
    
    > http://www.whatwg.org/specs/vocabs/current-work/#vevent
    > 
    > "Add an iCalendar line with the type name and the value value to output."
    > 
    > At this point value is undefined.
    
    Fixed.
    
    
    > Given the algorithm for extracting iCal, it seems that dtstart and dtend must
    > be specified using