Options:
- # Session Start: Mon Dec 21 00:00:00 2009
- # Session Ident: #html-wg
- # [00:00] * Joins: tlr (tlr@128.30.52.169)
- # [00:02] * Parts: anne (annevk@83.32.103.242)
- # [00:30] * Joins: Lachy (Lachlan@124.170.199.223)
- # [00:37] * Quits: tlr (tlr@128.30.52.169) (Quit: tlr)
- # [00:45] * Joins: dydz (dydz@75.36.187.147)
- # [00:54] <dydz> Not sure if this is the right channel to ask this... Suppose JavaScript is enabled and consider the following XHTML page: <html xmlns="...."><head><noscript><meta http-equiv="refresh" content="0;url=http://example.com"/></noscript></head><body>Site1</body></html>.
- # [00:54] <dydz> What should the outcome be for processing this page? a redirect? or no-redirect?
- # [00:55] <Philip> What do you mean by "XHTML"?
- # [00:55] <Philip> Served as application/xhtml+xml?
- # [00:55] <dydz> Philip: yes
- # [00:56] <Philip> Then <noscript> isn't allowed and will have no effect, and the meta refresh will be processed as normal
- # [00:58] <dydz> Philip, where in the spec or DTD, do you see this?
- # [00:58] <dydz> Is it the in the definition for %head.content in <http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/dtd_module_defs.html#a_module_Structure>?
- # [00:58] <Philip> http://whatwg.org/html5#the-noscript-element - "Note: The noscript element is only effective in the HTML syntax, it has no effect in the XHTML syntax."
- # [00:59] <Philip> (because it's implemented by changing the way the element is parsed, which is impossible in XHTML)
- # [01:00] * Philip is talking about HTML5 since that's most likely to reflect reality, and doesn't know what older specs might say
- # [01:00] <Dashiva> XHTML doesn't say anything at all about noscript that I can see
- # [01:00] <Dashiva> Just brushed under the carpet
- # [01:01] <Philip> If you brush enough things under your carpet to create a giant pile then it looks quite like your carpet is magically flying
- # [01:02] <dydz> yes, it is unclear from the xhtml spec
- # [01:02] <Philip> It is quite a recommended strategy
- # [01:02] <Dashiva> Or it looks like you have an elephant under the carpet
- # [01:03] <dydz> Does anybody know how this <noscript> in <head> example works under the XHTML-MP spec
- # [01:03] <dydz> ?
- # [01:03] <dydz> <http://www.openmobilealliance.org/Technical/release_program/docs/copyrightclick.aspx?pck=Browsing&file=V2_2-20061020-A/OMA-WAP-XHTMLMP-V1_1-20061020-A.pdf>
- # [01:03] <Philip> Dashiva: Declare the elephant to be Somebody Else's Problem and then you won't have to worry about it
- # [01:04] <Dashiva> Somebody Else's Elephant
- # [01:05] <dydz> or I would appreciate if someone could help me parse what the XHTML-MP spec saids.
- # [01:05] <Dashiva> I suspect it doesn't actually say anything
- # [01:06] * Quits: paul_iri_ (paul_irish@71.192.163.128) (Ping timeout)
- # [01:06] <Philip> Its examples don't even use xmlns on <html>
- # [01:06] <dydz> Dashiva: In section 9.2.1.2 (page 16), it saids at the end of the first bullet "The user agent MUST NOT process noscript elements until it has encountered an unsupported script."
- # [01:07] <dydz> Philip: could the examples be wrong?
- # [01:07] <Philip> If you care what browsers should do and what desktop browsers probably do do, then you should refer to HTML5; if you care what weird mobile browsers do, you should test them directly
- # [01:07] <Dashiva> "An ECMAScript program, as defined in [ECMAScript], is included with an XHTML Mobile Profile document using the script element. The script element defines a script, which is a series of ECMAScript statements."
- # [01:08] <Dashiva> "While loading the document, the user agent MUST process all script elements encountered in the document. For each script element, the user agent MUST determine if the script language specified by the element (using the type attribute) is a supported language"
- # [01:08] <Philip> XHTML-MP seems to be vague enough that it's either useless or wrong or both
- # [01:09] <Dashiva> So all scripts are ECMAScript, but they might not be after all
- # [01:09] <dydz> For your reference, I'm am trying to look into WebKit bug 32706 <https://bugs.webkit.org/show_bug.cgi?id=32706>
- # [01:09] <Philip> ("All sections and appendixes, except "Scope" and "Error! Not a valid bookmark self-reference.", are normative" - interesting section name)
- # [01:10] <dydz> Philip: So, I take it that I should fallback to the HTML 5 definition then in this case?
- # [01:10] <Dashiva> 9.2.1.2 goes in further detail, but it seems like a bad idea
- # [01:10] <Dashiva> It only processes noscript elements found _after_ the first unknown script
- # [01:10] <Dashiva> Either that or it requires the processor to backtrack
- # [01:11] <dydz> Dashiva: I agree, I think XHTML-MP is a mess
- # [01:11] <Dashiva> dydz: I really think the best idea would be to ask the WG behind XHTML-MP
- # [01:11] <Dashiva> Since the spec is quite vague on this point
- # [01:11] <dydz> Dashiva: not sure how this managed to get into WebKit
- # [01:11] <Dashiva> They will probably punt to HTML4
- # [01:12] <dydz> Dashiva: That seems to agree with what I have read somewhere in the XHTML spec.
- # [01:13] <Philip> Seems sensible to me to consistently stick with what HTML5 defines, except in cases where compatibility with existing content requires different behaviour
- # [01:13] <Dashiva> But most likely you'll end up with what Philip said in the first place
- # [01:13] <dydz> That is, refer to HTML 4 spec
- # [01:13] <Dashiva> That noscript isn't compatible with XML
- # [01:13] <dydz> Dashiva: so, ignore <noscript> then?
- # [01:14] <dydz> (for XHTML/XML)
- # [01:14] <Dashiva> Ignore as in always process the contents
- # [01:14] <dydz> Dashiva: What does "process the contents" mean?
- # [01:14] <dydz> Consider the above example with the meta redirect
- # [01:14] <Dashiva> Redirect
- # [01:14] <Dashiva> Basically act as if scripting was disabled
- # [01:15] <dydz> Dashiva: One thing though, consider this page: <html xmlns="...."><head>...</head><body><noscript>Site1</noscript></body></html>.
- # [01:16] <dydz> Dashiva: How should we handle that if scripting is enabled?
- # [01:16] <Philip> As far as I can see, the only noscript behaviour that HTML5 defines is in the HTML parser (which switches to RAWTEXT parsing mode if scripting is enabled, so the content will be treated as text and not as markup)
- # [01:16] <dydz> Process it?
- # [01:16] <dydz> Process it and not render the contents? ignore?
- # [01:16] <Philip> (and the HTML parser is not used for XHTML pages)
- # [01:16] <Dashiva> dydz: Just act as if noscript is a semantic-less element
- # [01:16] <Philip> and otherwise it's treated exactly the same as a <foobar> element
- # [01:16] <Dashiva> Kind of like a <div> with no layout effects
- # [01:17] <Dashiva> I have no idea if it's valid XHTML or not
- # [01:17] <Philip> Dashiva: You could just say "like a <span>" :-)
- # [01:17] * Joins: paul_irish (paul_irish@71.192.163.128)
- # [01:17] <dydz> Dashiva: Can you elaborate what you mean by semantic-less element?
- # [01:18] <Dashiva> dydz: Like Philip says
- # [01:18] <dydz> oops, so, render it then?
- # [01:18] <dydz> (I mean render its contents like a <div>)
- # [01:18] <Dashiva> Yes
- # [01:18] <dydz> Dashiva, this seems to contradict <http://www.w3.org/TR/html4/interact/scripts.html#h-18.3.1>
- # [01:19] <dydz> (when scripting is enabled)
- # [01:19] <dydz> "The content of a NOSCRIPT element should only be rendered by a script-aware user agent in the following cases
- # [01:19] <dydz> ...The user agent is configured not to evaluate scripts.
- # [01:20] <Dashiva> dydz: Well, you're now entering an entirely separate madness
- # [01:20] <dydz> awesome :-(
- # [01:20] <Dashiva> Notice how it only affects rendering, so the meta redirect would work fine
- # [01:20] * Quits: mjs (mjs@69.181.42.237) (Quit: mjs)
- # [01:20] <dydz> :-)
- # [01:21] <Dashiva> [01:12:14] <Philip> Seems sensible to me to consistently stick with what HTML5 defines, except in cases where compatibility with existing content requires different behaviour
- # [01:21] <dydz> Dashiva, oh right
- # [01:21] <dydz> awesome
- # [01:21] <Dashiva> The HTML4 definition is really too out of wack
- # [01:21] <dydz> So, then I don't think this is a bug then
- # [01:22] <Philip> (If compatibility with existing content requires different behaviour, then HTML5 should be updated, unless it's an obscure mode-specific thing for mobile browsers or whatever and has to be incompatible with normal web page behaviour)
- # [01:22] <dydz> (I mean WebKit handles it correctly; That is, when scripts are disabled, WebKit doesn't render contents in second example, but redirect in my first example)
- # [01:23] <Dashiva> maybe noscript is treated display:none, that's still XML-compatible
- # [01:25] * Philip had forgotten about rendering
- # [01:25] <Philip> HTML5 says "The user agent is expected to hide noscript elements for whom scripting is enabled, irrespective of CSS rules."
- # [01:25] <Philip> so probably it should be non-rendered in both HTML and XHTML
- # [01:26] <dydz> hmm, it seems that the in XHTML-MP (from the PDF) they mean we can't process <noscripts>
- # [01:26] <dydz> "until it has encountered an unsupported script"
- # [01:28] <dydz> Does anybody know someone I could contact about XHTML-MP?
- # [01:28] <dydz> Dashiva, Philip: thanks for clarifying XHTML/HTML4/HTML 5 <noscript> functionality.
- # [01:28] <Dashiva> I don't think I managed to be very clarifying, though :)
- # [01:30] * Quits: tH (Rob@87.102.19.178) (Quit: ChatZilla 0.9.86-rdmsoft [XULRunner 1.9.0.1/2008072406])
- # [01:30] <dydz> I would like to argue that by HTML 5 "The noscript element is only effective in http://www.whatwg.org/specs/web-apps/current-work/multipage/syntax.html#syntax, it has no effect in http://www.whatwg.org/specs/web-apps/current-work/multipage/the-xhtml-syntax.html#the-xhtml-syntax.", but I don't think I can do that with XHTML-MP/
- # [01:32] <Philip> Does WebKit attempt or claim to support XHTML-MP?
- # [01:32] <Philip> rather than just supporting a single "XHTML" (which is likely to be closest to the XML serialization of HTML5)
- # [01:33] <dydz> Philip: sadly, there is a compile-time xhtmlmp switch
- # [01:33] <dydz> so, yes, there is "an attempt" to support it
- # [01:33] <dydz> However, I have not been able confirm that it even works!
- # [01:34] <dydz> never mind, I recall why I can't confirm whether it works
- # [01:34] <dydz> because I think its specific to the Qt windows build
- # [01:35] <dydz> Philip: sorry for the rant. We seem to support xhtml to my knowledge.
- # [01:40] * Joins: Zeros (_icond@96.255.47.51)
- # [01:45] * Quits: gavin_ (gavin@99.226.207.11) (Ping timeout)
- # [01:50] * Joins: gavin_ (gavin@99.226.207.11)
- # [02:28] * Joins: MikeSmith (MikeSmithX@mcclure.w3.org)
- # [02:44] * Joins: miketaylr (miketaylr@24.42.95.234)
- # [02:46] * Quits: Zeros (_icond@96.255.47.51) (Quit: This computer has gone to sleep)
- # [03:44] * Quits: miketaylr (miketaylr@24.42.95.234) (Ping timeout)
- # [03:59] * Quits: Lachy (Lachlan@124.170.199.223) (Quit: Leaving)
- # [03:59] * Joins: Lachy (Lachlan@124.170.199.223)
- # [04:12] * Joins: miketaylr (miketaylr@24.42.95.234)
- # [04:50] * Joins: weinig (weinig@71.198.185.234)
- # [05:02] * Quits: gavin_ (gavin@99.226.207.11) (Ping timeout)
- # [05:07] * Joins: gavin_ (gavin@99.226.207.11)
- # [05:37] * Joins: paul_iri_ (paul_irish@71.192.163.128)
- # [05:37] * Quits: paul_irish (paul_irish@71.192.163.128) (Ping timeout)
- # [05:38] * Joins: paul_irish (paul_irish@71.192.163.128)
- # [05:40] * Quits: paul_iri_ (paul_irish@71.192.163.128) (Ping timeout)
- # [05:42] * Joins: J_Voracek (irchon@166.205.10.195)
- # [05:42] * Quits: J_Voracek (irchon@166.205.10.195) (Client exited)
- # [05:55] * Quits: MikeSmith (MikeSmithX@mcclure.w3.org) (Quit: Tomorrow to fresh woods, and pastures new.)
- # [07:16] * Quits: miketaylr (miketaylr@24.42.95.234) (Client exited)
- # [07:52] * Joins: mjs (mjs@69.181.42.237)
- # [08:09] * Quits: weinig (weinig@71.198.185.234) (Ping timeout)
- # [08:13] * Joins: shepazu_ (schepers@128.30.52.169)
- # [08:15] * Quits: shepazu (schepers@128.30.52.169) (Ping timeout)
- # [08:18] * Quits: jmb (jmb@152.78.68.189) (Ping timeout)
- # [08:18] * Joins: jmb (jmb@152.78.68.189)
- # [08:20] * Joins: weinig (weinig@71.198.185.234)
- # [08:26] * Quits: jmb (jmb@152.78.68.189) (Ping timeout)
- # [08:29] * Joins: jmb (jmb@152.78.68.189)
- # [08:32] * Quits: jmb (jmb@152.78.68.189) (Ping timeout)
- # [08:44] * Joins: jmb (jmb@152.78.68.189)
- # [09:02] * Joins: MikeSmith (MikeSmithX@mcclure.w3.org)
- # [09:10] * Quits: gavin_ (gavin@99.226.207.11) (Ping timeout)
- # [09:14] * Joins: gavin_ (gavin@99.226.207.11)
- # [09:18] * Quits: jmb (jmb@152.78.68.189) (Ping timeout)
- # [09:21] * Joins: jmb (jmb@152.78.68.189)
- # [09:25] * Quits: dydz (dydz@75.36.187.147) (Quit: dydz)
- # [09:42] * Quits: jmb (jmb@152.78.68.189) (Ping timeout)
- # [09:42] * Joins: jmb (jmb@152.78.68.189)
- # [09:43] * Joins: tlr (tlr@128.30.52.169)
- # [09:44] * Quits: mjs (mjs@69.181.42.237) (Quit: mjs)
- # [09:56] * Quits: MikeSmith (MikeSmithX@mcclure.w3.org) (Quit: Tomorrow to fresh woods, and pastures new.)
- # [10:20] * Quits: jmb (jmb@152.78.68.189) (Ping timeout)
- # [10:21] * Joins: jmb (jmb@152.78.68.189)
- # [10:47] * Joins: ROBOd (robod@89.122.216.38)
- # [10:58] <gsnedders> No email since Friday? :\
- # [10:58] * Quits: jmb (jmb@152.78.68.189) (Ping timeout)
- # [10:59] * Joins: jmb (jmb@152.78.68.189)
- # [11:05] * Quits: jmb (jmb@152.78.68.189) (Ping timeout)
- # [11:05] * Joins: jmb (jmb@152.78.68.189)
- # [11:08] * Joins: jgraham (jgraham@74.53.238.210)
- # [11:10] <Dashiva> Maybe December 18th is the start of a new month
- # [11:34] * Joins: tH (Rob@87.102.19.178)
- # [11:52] <hsivonen> dydz: WebKit should probably follow HTML5 for <noscript> and ignore all XHTML 1.x specs, including XHTML-MP
- # [11:55] * Quits: gavin_ (gavin@99.226.207.11) (Ping timeout)
- # [12:00] * Joins: gavin_ (gavin@99.226.207.11)
- # [15:08] * Disconnected
- # [15:09] * Attempting to rejoin channel #html-wg
- # [15:09] * Rejoined channel #html-wg
- # [15:09] * Topic is 'Pursuing conformance solutions for the N-body gravitational system known as "the Web", and in general, collectively performing various acts of unparalleled hubris (This channel is logged: http://krijnhoetmer.nl/irc-logs/)'
- # [15:09] * Set by MikeSmith on Thu Jun 18 06:02:08
- # [15:11] * Joins: Julian (chatzilla@217.91.35.233)
- # [15:15] <CIA-1> v.nu-validator: sideshowbarker * r336 /trunk/src/nu/validator/servlet/ (2 files):
- # [15:15] <CIA-1> v.nu-validator: suppress output of a couple parts of page for downstream instances (b=691, r=hsivonen)
- # [15:15] <CIA-1> v.nu-validator: http://bugzilla.validator.nu/show_bug.cgi?id=691
- # [17:15] * Disconnected
- # [17:16] * Attempting to rejoin channel #html-wg
- # [17:16] * Rejoined channel #html-wg
- # [17:16] * Topic is 'Pursuing conformance solutions for the N-body gravitational system known as "the Web", and in general, collectively performing various acts of unparalleled hubris (This channel is logged: http://krijnhoetmer.nl/irc-logs/)'
- # [17:16] * Set by MikeSmith on Thu Jun 18 06:02:08
- # [17:19] * Quits: ROBOd (robod@89.122.216.38) (Ping timeout)
- # [17:41] * Joins: drunknbass_work (aaron@71.107.253.243)
- # [17:42] * Joins: Michelangelo (Michelange@93.42.8.45)
- # [17:46] * Joins: ROBOd (robod@89.122.216.38)
- # [17:46] * Joins: mjs (mjs@69.181.42.237)
- # [17:54] * Quits: myakura (myakura@114.165.33.197) (Quit: Leaving...)
- # [17:56] * plh-away is now known as plh-home
- # [17:56] * Quits: gavin_ (gavin@99.226.207.11) (Ping timeout)
- # [18:01] * Joins: gavin_ (gavin@99.226.207.11)
- # [18:09] * Quits: mjs (mjs@69.181.42.237) (Quit: mjs)
- # [18:09] * Joins: paul_irish (paul_irish@71.192.163.128)
- # [18:14] * Quits: MikeSmith (MikeSmithX@mcclure.w3.org) (Ping timeout)
- # [18:22] * Quits: weinig (weinig@71.198.185.234) (Quit: weinig)
- # [18:25] * Quits: Michelangelo (Michelange@93.42.8.45) (Client exited)
- # [18:26] * Quits: dydz (dydz@75.36.187.147) (Quit: dydz)
- # [18:45] * Joins: Julian (chatzilla@217.91.35.233)
- # [18:45] * Joins: Laura (lauracarls@131.212.98.217)
- # [18:45] * Quits: Laura (lauracarls@131.212.98.217) (Quit: Laura)
- # [18:46] * Joins: weinig (weinig@17.246.18.15)
- # [18:48] * Quits: weinig (weinig@17.246.18.15) (Quit: weinig)
- # [19:02] * Joins: weinig (weinig@17.246.18.15)
- # [19:05] * Quits: weinig (weinig@17.246.18.15) (Quit: weinig)
- # [19:14] * Joins: weinig (weinig@17.246.18.15)
- # [21:18] * Disconnected
- # [21:19] * Attempting to rejoin channel #html-wg
- # [21:19] * Rejoined channel #html-wg
- # [21:19] * Topic is 'Pursuing conformance solutions for the N-body gravitational system known as "the Web", and in general, collectively performing various acts of unparalleled hubris (This channel is logged: http://krijnhoetmer.nl/irc-logs/)'
- # [21:19] * Set by MikeSmith on Thu Jun 18 06:02:08
- # [21:28] * Joins: weinig (weinig@17.246.18.15)
- # [21:38] * Joins: paul_irish (paul_irish@63.118.139.254)
- # [21:40] * Quits: paul_irish (paul_irish@63.118.139.254) (Client exited)
- # [22:19] * Quits: ROBOd (robod@89.122.216.38) (Quit: http://www.robodesign.ro )
- # [22:38] * Quits: gavin_ (gavin@99.226.207.11) (Ping timeout)
- # [22:43] * Joins: gavin_ (gavin@99.226.207.11)
- # [23:14] * Quits: miketaylr (miketaylr@38.117.156.163) (Client exited)
- # [23:38] * Quits: aroben (aroben@71.58.77.15) (Connection reset by peer)
- # Session Close: Tue Dec 22 00:00:00 2009
The end :)