Options:
- # Session Start: Thu Apr 29 00:00:00 2010
- # Session Ident: #css
- # [00:25] * Joins: sylvaing (sylvaing@76.104.131.10)
- # [00:35] * Joins: shepazu (schepers@128.30.52.169)
- # [01:04] * Quits: sylvaing (sylvaing@76.104.131.10) (Quit: sylvaing)
- # [01:17] * Quits: TabAtkins_ (tabatkins@216.239.45.4) (Ping timeout)
- # [01:20] * Joins: TabAtkins_ (tabatkins@216.239.45.4)
- # [01:21] * Quits: shepazu (schepers@128.30.52.169) (Quit: shepazu)
- # [02:10] * Joins: Curt` (DorkeyDear@75.10.138.206)
- # [02:40] <fantasai> divya: If you're using the HTML5 parser and you're serving as text/html, then it will parse as HTML5 and not as XML
- # [02:41] <fantasai> divya: IIRC the HTML (non-XML) serialization of HTML5 automatically handles the namespacing of the <svg> element and its descendants.
- # [02:42] <divya> fantasai: when you say "automatically handles", do you mean it applies svg|* rules to svg elements?
- # [02:42] <fantasai> divya: It parses the elements as SVG-namespaced elements when constructing the DOM
- # [02:42] <divya> ok, so lets say I guess it won't do so for random namespaces, only for SVG and possibly mathml?
- # [02:43] <fantasai> divya: CSS keys off the document tree: if that is namespaced, then CSS matches against those namespaces
- # [02:43] <fantasai> divya: That's up to the HTML5 parsing algorithms
- # [02:43] <fantasai> divya: and how they construct the document tree
- # [02:43] <fantasai> divya: Anything HTML5 says gets a special namespace, will get a special namespace
- # [02:43] <fantasai> divya: It has nothing to do with CSS
- # [02:43] <divya> ah right.
- # [02:44] <divya> so as long as I define in CSS @namespace svg "<correct namespace as per HTML5>" it should apply to the right elements.
- # [02:44] <fantasai> divya: The CSS behavior you're seeing there is just a symptom of the HTML5 parsing behavior
- # [02:44] <fantasai> divya: It will apply to the elements you want it to apply to only as long as you're parsing the document under an HTML5 parser *as HTML*
- # [02:45] <divya> fantasai: thanks! that makes sense.
- # [02:45] <fantasai> divya: If you parse it as XML
- # [02:45] <fantasai> divya: Then XML parsing rules take effect, and unless you declare a namespace it won't exist
- # [02:45] <divya> fantasai: okay, that all makes sense now! Is this documented anywhere?
- # [02:45] <fantasai> divya: The HTML5 spec? :)
- # [02:46] <divya> fantasai: :P found it here now! http://wiki.whatwg.org/wiki/HTML_vs._XHTML
- # [02:46] <divya> thanks a ton!
- # [02:46] <fantasai> np
- # [03:01] * Quits: dbaron (dbaron@63.245.220.240) (Quit: 8403864 bytes have been tenured, next gc will be global.)
- # [03:05] * Parts: divya (divya@24.22.131.46)
- # [03:40] * Joins: shepazu (schepers@128.30.52.169)
- # [04:01] * Quits: Curt` (DorkeyDear@75.10.138.206) (Quit: Leaving)
- # [04:37] * Joins: anne (annevk@114.48.186.82)
- # [04:51] * Joins: miketaylr (miketaylr@24.42.95.234)
- # [06:59] * Quits: miketaylr (miketaylr@24.42.95.234) (Client exited)
- # [07:34] * RRSAgent excuses himself; his presence no longer seems to be needed
- # [07:34] * Parts: RRSAgent (rrs-loggee@128.30.52.169)
- # [08:21] * Joins: myakura (myakura@220.104.128.62)
- # [10:35] * Quits: anne (annevk@114.48.186.82) (Ping timeout)
- # [12:08] * Quits: Lachy (Lachlan@85.196.122.246) (Quit: This computer has gone to sleep)
- # [12:20] * Joins: Lachy (Lachlan@213.236.208.22)
- # [12:29] * Joins: anne (annevk@114.48.176.239)
- # [13:56] * Quits: shepazu (schepers@128.30.52.169) (Quit: shepazu)
- # [14:56] * Quits: Lachy (Lachlan@213.236.208.22) (Quit: This computer has gone to sleep)
- # [14:57] * Joins: Lachy (Lachlan@213.236.208.22)
- # [15:04] * Quits: myakura (myakura@220.104.128.62) (Quit: Leaving...)
- # [15:10] * Joins: Bert_ (bbos@mcclure.w3.org)
- # [15:10] * Quits: Bert_ (bbos@mcclure.w3.org) (Quit: leaving)
- # [15:26] * Joins: miketaylr (miketaylr@38.117.156.163)
- # [16:02] * Joins: myakura (myakura@220.104.128.62)
- # [16:32] * Joins: divya (divya@24.22.131.46)
- # [16:35] * Quits: anne (annevk@114.48.176.239) (Ping timeout)
- # [16:37] * Joins: shepazu (schepers@128.30.52.169)
- # [17:06] * Joins: miketayl (miketaylr@38.117.156.163)
- # [17:06] * Quits: miketaylr (miketaylr@38.117.156.163) (Connection reset by peer)
- # [17:41] * Quits: Lachy (Lachlan@213.236.208.22) (Quit: This computer has gone to sleep)
- # [18:01] * Quits: arronei (arronei@131.107.0.83) (Ping timeout)
- # [18:03] * Quits: shepazu (schepers@128.30.52.169) (Quit: shepazu)
- # [18:06] * Joins: arronei (arronei@131.107.0.106)
- # [18:44] * Quits: divya (divya@24.22.131.46) (Quit: divya)
- # [19:03] * Joins: divya (divya@24.22.131.46)
- # [19:12] * Quits: divya (divya@24.22.131.46) (Quit: divya)
- # [19:39] * Joins: shepazu (schepers@128.30.52.169)
- # [19:53] * Joins: divya (divya@24.22.131.46)
- # [20:50] * Joins: dbaron (dbaron@63.245.220.240)
- # [21:01] * Quits: shepazu (schepers@128.30.52.169) (Quit: shepazu)
- # [21:39] * Joins: shepazu (schepers@128.30.52.169)
- # [22:11] * Quits: shepazu (schepers@128.30.52.169) (Quit: shepazu)
- # [22:20] * Joins: shepazu (schepers@128.30.52.169)
- # [22:26] * Quits: myakura (myakura@220.104.128.62) (Quit: Leaving...)
- # [22:29] * Joins: myakura (myakura@220.104.128.62)
- # [23:06] * Quits: shepazu (schepers@128.30.52.169) (Quit: shepazu)
- # [23:13] * Quits: miketayl (miketaylr@38.117.156.163) (Client exited)
- # Session Close: Fri Apr 30 00:00:00 2010
The end :)