Options:
- # Session Start: Sun Feb 24 00:00:00 2013
- # Session Ident: #whatwg
- # [00:01] * Quits: smaug____ (~chatzilla@cs181151161.pp.htv.fi) (Ping timeout: 252 seconds)
- # [00:02] * carbonix is now known as vcarbune
- # [00:06] * Joins: jryans (~jryans@cpe-70-113-92-118.austin.res.rr.com)
- # [00:09] * Joins: Badreddin (~Nur@189.193.27.199)
- # [00:22] <zewt> more generally, things tend towards complexity in the client and having servers be as stupid and generic as possible; i imagine if file format negotiation was being designed today, it would be more like srcset
- # [00:26] * Quits: webguynow (~webguynow@c-24-1-222-204.hsd1.il.comcast.net)
- # [00:30] * Joins: sedovsek (~robert@89.143.181.155)
- # [00:35] * Quits: fr0zenice (~frozenice@unaffiliated/fr0zenice) (Remote host closed the connection)
- # [00:43] * Quits: Maurice (copyman@5ED573FA.cm-7-6b.dynamic.ziggo.nl)
- # [00:45] * Quits: JesperHansen (~JesperHan@0x5b90c2f0.dhcp.fiberflex.dk) (Ping timeout: 244 seconds)
- # [00:52] * Quits: vcarbune (~vcarbune@vpn-global-dhcp1-12.ethz.ch) (Quit: Leaving)
- # [00:53] * Quits: marcosc (~marcosc@bl7-115-221.dsl.telepac.pt) (Remote host closed the connection)
- # [00:54] * Joins: marcosc (~marcosc@bl7-115-221.dsl.telepac.pt)
- # [00:55] * Quits: Benvie (~brandon@cpe-174-097-159-175.nc.res.rr.com)
- # [00:55] * Joins: Benvie (~brandon@cpe-174-097-159-175.nc.res.rr.com)
- # [00:57] * Joins: marcosc_ (~marcosc@bl7-115-221.dsl.telepac.pt)
- # [01:00] * Quits: marcosc (~marcosc@bl7-115-221.dsl.telepac.pt) (Ping timeout: 260 seconds)
- # [01:15] * Quits: WeirdAl (~chatzilla@g2spf.ask.info) (Quit: ChatZilla 0.9.90 [Firefox 19.0/20130215130331])
- # [01:24] <SimonSapin> TabAtkins: can I assume a single "root box" generated by the root element?
- # [01:27] * Joins: rniwa (~rniwa@70-89-66-218-ca.sfba.hfc.comcastbusiness.net)
- # [01:31] <wilhelm> zewt: I agree.
- # [01:33] * Quits: miketaylr (~miketaylr@cpe-70-112-101-224.austin.res.rr.com) (Quit: Leaving...)
- # [01:40] * Joins: pablof (~pablof@c-98-207-157-89.hsd1.ca.comcast.net)
- # [01:48] * Joins: seades (93c5fb9b@gateway/web/freenode/ip.147.197.251.155)
- # [01:50] * Joins: divya1 (~Adium@70-36-142-24.dsl.dynamic.sonic.net)
- # [01:50] * Quits: divya1 (~Adium@70-36-142-24.dsl.dynamic.sonic.net) (Read error: Connection reset by peer)
- # [01:50] * Joins: divya1 (~Adium@70-36-142-24.dsl.dynamic.sonic.net)
- # [01:53] * Quits: divya (~Adium@70-36-142-24.dsl.dynamic.sonic.net) (Read error: Operation timed out)
- # [01:57] * Joins: gotwig (~gotwig@p5497F0D4.dip.t-dialin.net)
- # [01:57] <gotwig> hello folks
- # [01:57] <gotwig> What about a more hierachic selector model support for CSS 4?
- # [01:57] <gotwig> for relative paths..?
- # [01:58] <gotwig> and I also have a problem. Well, I do not know how to realize it properly but here is my idea:
- # [01:58] <gotwig> I want to make a dropdown slider window thing, that only happens when I press on a specific button
- # [01:59] <gotwig> now you can do that in CSS with different methods, but IMHO there is no method that fulfills the goal to 100%
- # [01:59] <gotwig> http://tympanus.net/Tutorials/CSSClickEvents/index.html
- # [02:00] <gotwig> I realized in my case the thing with a transform loop that is nearly endless
- # [02:01] <gotwig> the problem here is, you can't cancel that loop without a web scripting language. You can't cancel it with css, or apply other styles
- # [02:01] <gotwig> focus doesn't work for me as well, because when I focus a textbox in the div, the focus gets lost and I am back.
- # [02:01] <gotwig> target is ofcourse not a good idea as well.
- # [02:02] * Parts: seades (93c5fb9b@gateway/web/freenode/ip.147.197.251.155)
- # [02:02] <gotwig> oh, there is the first one :X
- # [02:03] * Quits: SimonSapin (~simon@ip-22.net-89-2-144.rev.numericable.fr) (Ping timeout: 248 seconds)
- # [02:03] <gotwig> but with the first one, its hard to apply something like a blur out
- # [02:04] <gotwig> maybe I want to lose the focus when I leave that div
- # [02:04] <gotwig> oh, I can use the NOT right?
- # [02:08] * Quits: sedovsek (~robert@89.143.181.155) (Quit: sedovsek)
- # [02:14] * Joins: [[zzz]] (~q@node-19qh.pool-101-109.dynamic.totbb.net)
- # [02:15] * Quits: gotwig (~gotwig@p5497F0D4.dip.t-dialin.net) (Quit: Verlassend)
- # [02:15] * Quits: cabanier (~cabanier@c-98-237-137-173.hsd1.wa.comcast.net) (Quit: Leaving.)
- # [02:15] * Quits: marcosc_ (~marcosc@bl7-115-221.dsl.telepac.pt) (Remote host closed the connection)
- # [02:18] * Quits: [[zz]] (~q@node-liq.pool-101-108.dynamic.totbb.net) (Ping timeout: 248 seconds)
- # [02:19] * Joins: richt (~richt@1.223.218.28)
- # [02:20] * Quits: richt (~richt@1.223.218.28) (Remote host closed the connection)
- # [02:21] * Joins: smaug____ (~chatzilla@212-226-66-56-nat.elisa-mobile.fi)
- # [02:34] * Joins: xjiujiu (~quassel@218.77.14.202)
- # [02:42] * Quits: boogyman (~boogy@pdpc/supporter/professional/boogyman) (Ping timeout: 256 seconds)
- # [02:46] * Joins: jwalden (~waldo@c-71-202-165-226.hsd1.ca.comcast.net)
- # [02:47] * Quits: ronaldmansveld (~ronaldman@5ED0EFE5.cm-7-1d.dynamic.ziggo.nl) (Read error: Connection reset by peer)
- # [02:48] * Joins: ronaldmansveld (~ronaldman@5ED0EFE5.cm-7-1d.dynamic.ziggo.nl)
- # [02:54] * Joins: ronald_mansveld (~ronaldman@5ED0EFE5.cm-7-1d.dynamic.ziggo.nl)
- # [02:54] * Quits: smaug____ (~chatzilla@212-226-66-56-nat.elisa-mobile.fi) (Ping timeout: 252 seconds)
- # [02:55] * Quits: jwalden (~waldo@c-71-202-165-226.hsd1.ca.comcast.net) (Quit: ChatZilla 0.9.87-5.1450hg.fc17 [XULRunner 18.0.2/20130206130229])
- # [02:55] * Joins: miketaylr (~miketaylr@cpe-70-112-101-224.austin.res.rr.com)
- # [02:57] * Quits: ronaldmansveld (~ronaldman@5ED0EFE5.cm-7-1d.dynamic.ziggo.nl) (Ping timeout: 252 seconds)
- # [02:58] * Joins: jsoncorwin (~textual@c-98-210-130-242.hsd1.ca.comcast.net)
- # [03:08] * Quits: Badreddin (~Nur@189.193.27.199) (Ping timeout: 276 seconds)
- # [03:11] * Joins: Areks|2 (~Areks@rs.gridnine.com)
- # [03:12] * Quits: Areks (~Areks@rs.gridnine.com) (Ping timeout: 264 seconds)
- # [03:19] * Quits: shepazu (~shepazu@173.226.97.253) (Quit: is sleepy)
- # [03:22] * Quits: OnlyMax (~OnlyMax@187-126-224-208.user.veloxzone.com.br) (Ping timeout: 276 seconds)
- # [03:23] * Joins: OnlyMax (~OnlyMax@187-126-224-208.user.veloxzone.com.br)
- # [03:27] * ronald_mansveld is now known as ronaldmansveld
- # [03:29] * divya1 is now known as divya
- # [03:31] * Joins: Badreddin (~Nur@189.193.98.57)
- # [03:43] * Joins: Samuel_Roldan (~Samuel_Ro@12.207.22.82)
- # [04:00] * Joins: cabanier (~cabanier@c-98-237-137-173.hsd1.wa.comcast.net)
- # [04:00] * Quits: linclark (~clark@c-67-186-35-246.hsd1.pa.comcast.net) (Quit: linclark)
- # [04:02] * Joins: linclark (~clark@c-67-186-35-246.hsd1.pa.comcast.net)
- # [04:02] * Quits: linclark (~clark@c-67-186-35-246.hsd1.pa.comcast.net) (Client Quit)
- # [04:04] * Quits: adamovy (~adamovy@adm65.neoplus.adsl.tpnet.pl) (Ping timeout: 255 seconds)
- # [04:04] * Joins: adamovy (~adamovy@adbf49.neoplus.adsl.tpnet.pl)
- # [04:15] * Quits: cabanier (~cabanier@c-98-237-137-173.hsd1.wa.comcast.net) (Quit: Leaving.)
- # [04:20] * Joins: mattgifford (~mattgiffo@108.161.20.199)
- # [04:28] * Quits: mattgifford (~mattgiffo@108.161.20.199) (Remote host closed the connection)
- # [04:34] * Quits: rniwa (~rniwa@70-89-66-218-ca.sfba.hfc.comcastbusiness.net) (Quit: rniwa)
- # [04:44] * Joins: cabanier (~cabanier@c-98-237-137-173.hsd1.wa.comcast.net)
- # [04:50] * Quits: Badreddin (~Nur@189.193.98.57) (Ping timeout: 276 seconds)
- # [05:07] * Joins: rniwa (~rniwa@70-89-66-218-ca.sfba.hfc.comcastbusiness.net)
- # [05:14] * Joins: Badreddin (~Nur@189.193.98.57)
- # [05:15] * Quits: cabanier (~cabanier@c-98-237-137-173.hsd1.wa.comcast.net) (Quit: Leaving.)
- # [05:24] * Quits: Samuel_Roldan (~Samuel_Ro@12.207.22.82) (Read error: Connection reset by peer)
- # [05:25] * Joins: Samuel_Roldan (~Samuel_Ro@12.207.22.82)
- # [05:28] * Joins: cabanier (~cabanier@c-98-237-137-173.hsd1.wa.comcast.net)
- # [05:44] * Joins: Samuel_Roldan_ (~Samuel_Ro@12.207.22.82)
- # [05:44] * Quits: Samuel_Roldan (~Samuel_Ro@12.207.22.82) (Read error: Connection reset by peer)
- # [05:44] * Samuel_Roldan_ is now known as Samuel_Roldan
- # [05:51] * Quits: Samuel_Roldan (~Samuel_Ro@12.207.22.82) (Read error: Connection reset by peer)
- # [05:51] * Joins: Samuel_Roldan (~Samuel_Ro@12.207.22.82)
- # [05:53] * Quits: cabanier (~cabanier@c-98-237-137-173.hsd1.wa.comcast.net) (Quit: Leaving.)
- # [05:57] * Quits: pablof (~pablof@c-98-207-157-89.hsd1.ca.comcast.net) (Quit: ^z)
- # [06:00] * Joins: cabanier (~cabanier@c-98-237-137-173.hsd1.wa.comcast.net)
- # [06:36] * Quits: jryans (~jryans@cpe-70-113-92-118.austin.res.rr.com) (Quit: Be back later)
- # [06:50] * Quits: miketaylr (~miketaylr@cpe-70-112-101-224.austin.res.rr.com) (Quit: Leaving...)
- # [06:51] * Joins: isherman-book (~Adium@173-167-102-230-sfba.hfc.comcastbusiness.net)
- # [06:52] * Quits: isherman-book (~Adium@173-167-102-230-sfba.hfc.comcastbusiness.net) (Client Quit)
- # [07:14] * Joins: mattgifford (~mattgiffo@108.161.20.199)
- # [07:15] * Joins: isherman-book (~Adium@173-167-102-230-sfba.hfc.comcastbusiness.net)
- # [07:20] * Joins: miketaylr (~miketaylr@cpe-70-112-101-224.austin.res.rr.com)
- # [07:21] * Joins: lilmonkey` (~colin@pdpc/supporter/professional/riven)
- # [07:24] * Quits: lilmonkey (~colin@pdpc/supporter/professional/riven) (Ping timeout: 245 seconds)
- # [07:26] * Quits: mattgifford (~mattgiffo@108.161.20.199) (Remote host closed the connection)
- # [07:28] * Quits: miketaylr (~miketaylr@cpe-70-112-101-224.austin.res.rr.com) (Ping timeout: 260 seconds)
- # [07:48] * Joins: Cromulent (~Cromulent@cpc4-reig5-2-0-cust637.6-3.cable.virginmedia.com)
- # [08:21] * Joins: mattgifford (~mattgiffo@108.161.20.199)
- # [08:21] * Joins: stevefaulkner (~stevefaul@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com)
- # [08:22] * Joins: SimonSapin (~simon@ip-22.net-89-2-144.rev.numericable.fr)
- # [08:26] * Quits: stevefaulkner (~stevefaul@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com) (Quit: stevefaulkner)
- # [08:28] * Quits: Cromulent (~Cromulent@cpc4-reig5-2-0-cust637.6-3.cable.virginmedia.com) (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/)
- # [08:29] * Joins: izhak (~izhak@31.47.123.91)
- # [08:30] * Quits: cgcardona (~cgcardona@unaffiliated/cgcardona) (Quit: zzzzz)
- # [08:38] * Joins: svl (~me@202.68.83.170)
- # [08:38] * Joins: stevefaulkner (~stevefaul@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com)
- # [08:39] * Quits: cabanier (~cabanier@c-98-237-137-173.hsd1.wa.comcast.net) (Quit: Leaving.)
- # [08:41] * Quits: othermaciej (~mjs@c-50-136-134-16.hsd1.ca.comcast.net) (Quit: othermaciej)
- # [08:47] * Joins: zdobersek (~zdobersek@cpe-77.38.31.63.cable.t-1.si)
- # [08:54] * Quits: jgraham (~jgraham@web91.webfaction.com) (Ping timeout: 252 seconds)
- # [08:55] * Joins: jgraham (~jgraham@web91.webfaction.com)
- # [08:55] * Joins: othermaciej (~mjs@c-50-136-134-16.hsd1.ca.comcast.net)
- # [09:07] * Quits: izhak (~izhak@31.47.123.91) (Ping timeout: 246 seconds)
- # [09:12] * Quits: isherman-book (~Adium@173-167-102-230-sfba.hfc.comcastbusiness.net) (Quit: Leaving.)
- # [09:21] * Joins: Maurice (copyman@5ED573FA.cm-7-6b.dynamic.ziggo.nl)
- # [09:27] * Quits: karlcow (~karl@nerval.la-grange.net) (Remote host closed the connection)
- # [09:29] * Joins: JesperHansen (~JesperHan@0x5b90c2f0.dhcp.fiberflex.dk)
- # [09:36] * Quits: svl (~me@202.68.83.170) (Ping timeout: 255 seconds)
- # [09:41] * Joins: alrra (~alrra@188.24.72.71)
- # [09:41] * Quits: alrra (~alrra@188.24.72.71) (Changing host)
- # [09:41] * Joins: alrra (~alrra@unaffiliated/alrra)
- # [09:49] * Quits: mattgifford (~mattgiffo@108.161.20.199) (Remote host closed the connection)
- # [10:01] * Quits: dbaron (~dbaron@50-0-248-166.dsl.dynamic.sonic.net) (Ping timeout: 260 seconds)
- # [10:09] * Quits: nonge_ (~nonge@p5082961B.dip.t-dialin.net) (Ping timeout: 246 seconds)
- # [10:10] * Joins: annevk (~annevk@cpc3-brig16-2-0-cust644.3-3.cable.virginmedia.com)
- # [10:21] * Quits: stevefaulkner (~stevefaul@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com) (Quit: stevefaulkner)
- # [10:22] * Joins: nonge (~nonge@p5B326938.dip.t-dialin.net)
- # [10:22] * Joins: izhak (~izhak@31.47.123.91)
- # [10:30] * Quits: jgraham (~jgraham@web91.webfaction.com) (Ping timeout: 252 seconds)
- # [10:30] * Joins: jgraham (~jgraham@web91.webfaction.com)
- # [10:34] * Joins: stevefaulkner (~stevefaul@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com)
- # [10:34] * Joins: sedovsek (~robert@89.143.181.155)
- # [10:35] * Joins: Ms2ger (~Ms2ger@204.198-64-87.adsl-dyn.isp.belgacom.be)
- # [10:37] * Quits: stevefaulkner (~stevefaul@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com) (Client Quit)
- # [10:37] * Joins: stevefaulkner (~stevefaul@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com)
- # [10:44] * Joins: vcarbune (~vcarbune@80-218-192-6.dclient.hispeed.ch)
- # [10:46] * Joins: ronald_mansveld (~ronaldman@5ED0EFE5.cm-7-1d.dynamic.ziggo.nl)
- # [10:49] * Quits: ronaldmansveld (~ronaldman@5ED0EFE5.cm-7-1d.dynamic.ziggo.nl) (Ping timeout: 256 seconds)
- # [10:56] * Joins: sedovsek_ (~robert@89.143.186.70)
- # [10:59] * Quits: sedovsek (~robert@89.143.181.155) (Ping timeout: 260 seconds)
- # [10:59] * sedovsek_ is now known as sedovsek
- # [11:01] * Quits: stevefaulkner (~stevefaul@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com) (Quit: stevefaulkner)
- # [11:02] * Joins: stevefaulkner (~stevefaul@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com)
- # [11:08] * Joins: lilmonkey (~colin@pdpc/supporter/professional/riven)
- # [11:09] * Quits: lilmonkey` (~colin@pdpc/supporter/professional/riven) (Ping timeout: 260 seconds)
- # [11:11] * Joins: fr0zenice (~frozenice@unaffiliated/fr0zenice)
- # [11:13] * Quits: annevk (~annevk@cpc3-brig16-2-0-cust644.3-3.cable.virginmedia.com) (Remote host closed the connection)
- # [11:21] * Joins: baku (~baku@2-236-39-253.ip231.fastwebnet.it)
- # [11:51] * Quits: xjiujiu (~quassel@218.77.14.202) (Read error: Connection reset by peer)
- # [11:51] * Quits: stevefaulkner (~stevefaul@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com) (Quit: stevefaulkner)
- # [11:51] * Joins: xjiujiu (~quassel@218.77.14.202)
- # [11:54] <Ms2ger> annevk: please add a note to http://annevankesteren.nl/2011/06/creating-events that the old example doesn't work anymore
- # [12:03] <Ms2ger> annevk: and we should probably spec the untouchables from https://bugs.webkit.org/show_bug.cgi?id=68791#c14
- # [12:04] * Quits: nielsle (~nielsle@3239149-cl69.boa.fiberby.dk) (Ping timeout: 255 seconds)
- # [12:05] * [[zzz]] is now known as [[zz]]
- # [12:07] * Quits: sedovsek (~robert@89.143.186.70) (Quit: sedovsek)
- # [12:12] * Joins: pablof (~pablof@c-98-207-157-89.hsd1.ca.comcast.net)
- # [12:13] * Quits: pablof (~pablof@c-98-207-157-89.hsd1.ca.comcast.net) (Client Quit)
- # [12:20] * Joins: nielsle (~nielsle@3239149-cl69.boa.fiberby.dk)
- # [12:24] * Quits: gavin_ (~gavin@76.14.87.162) (Remote host closed the connection)
- # [12:24] * Joins: gavin_ (~gavin@76.14.87.162)
- # [12:24] * Joins: smaug____ (~chatzilla@212-226-66-56-nat.elisa-mobile.fi)
- # [12:24] * Quits: SimonSapin (~simon@ip-22.net-89-2-144.rev.numericable.fr) (Read error: Operation timed out)
- # [12:25] * Joins: karlcow (~karl@nerval.la-grange.net)
- # [12:28] * Joins: marcosc (~marcosc@bl7-115-221.dsl.telepac.pt)
- # [12:42] * Joins: marcosc_ (~marcosc@bl7-115-221.dsl.telepac.pt)
- # [12:42] * Quits: marcosc (~marcosc@bl7-115-221.dsl.telepac.pt) (Read error: Connection reset by peer)
- # [12:47] * Joins: hasather_ (~hasather_@cm-84.210.170.238.getinternet.no)
- # [12:47] * Quits: marcosc_ (~marcosc@bl7-115-221.dsl.telepac.pt) (Read error: Connection reset by peer)
- # [12:48] * Joins: marcosc (~marcosc@bl7-115-221.dsl.telepac.pt)
- # [12:53] * Quits: rniwa (~rniwa@70-89-66-218-ca.sfba.hfc.comcastbusiness.net) (Quit: rniwa)
- # [12:55] * Quits: Ms2ger (~Ms2ger@204.198-64-87.adsl-dyn.isp.belgacom.be) (Quit: bbl)
- # [13:01] * Joins: yorick (~yorick@ip51cd0513.speed.planet.nl)
- # [13:01] * Quits: yorick (~yorick@ip51cd0513.speed.planet.nl) (Changing host)
- # [13:01] * Joins: yorick (~yorick@oftn/member/yorick)
- # [13:31] * Joins: stevefaulkner (~stevefaul@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com)
- # [13:46] * Quits: nessy (~silviapf@124-149-71-84.dyn.iinet.net.au) (Quit: Leaving.)
- # [13:48] * Quits: stevefaulkner (~stevefaul@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com) (Quit: stevefaulkner)
- # [13:52] * Quits: ronald_mansveld (~ronaldman@5ED0EFE5.cm-7-1d.dynamic.ziggo.nl) (Ping timeout: 264 seconds)
- # [13:54] * Joins: ronald_mansveld (~ronaldman@5ED0EFE5.cm-7-1d.dynamic.ziggo.nl)
- # [13:55] * ronald_mansveld is now known as ronaldmansveld
- # [13:59] * Quits: smaug____ (~chatzilla@212-226-66-56-nat.elisa-mobile.fi) (Ping timeout: 252 seconds)
- # [14:11] * Quits: ronaldmansveld (~ronaldman@5ED0EFE5.cm-7-1d.dynamic.ziggo.nl) (Read error: Connection reset by peer)
- # [14:11] * Joins: ronaldmansveld (~ronaldman@5ED0EFE5.cm-7-1d.dynamic.ziggo.nl)
- # [14:15] * Joins: annevk (~annevk@cpc3-brig16-2-0-cust644.3-3.cable.virginmedia.com)
- # [14:15] * Quits: annevk (~annevk@cpc3-brig16-2-0-cust644.3-3.cable.virginmedia.com) (Remote host closed the connection)
- # [14:15] * Joins: annevk (~annevk@cpc3-brig16-2-0-cust644.3-3.cable.virginmedia.com)
- # [14:16] <annevk> Hopefully MutationEvent can be avoided...
- # [14:16] * Joins: Stevef (~chatzilla@63.133.197.135)
- # [14:21] * Quits: Stevef (~chatzilla@63.133.197.135) (Read error: Connection reset by peer)
- # [14:24] * Quits: ciluu (~ciluu@2a01:270:201f::cafe) (Ping timeout: 246 seconds)
- # [14:27] * Joins: ciluu (~ciluu@2a01:270:201f:0:20c:29ff:fe66:daa2)
- # [14:31] * Quits: hasather_ (~hasather_@cm-84.210.170.238.getinternet.no) (Remote host closed the connection)
- # [14:36] * Joins: smaug____ (~chatzilla@cs181151161.pp.htv.fi)
- # [14:37] <annevk> Ms2ger: fixed the blog post
- # [14:44] <gsnedders> Firefox blocking third party cookies? Huh. Wonder if they'll manage to do so without breaking too much. (Opera 10.50 did — most of the broken sites were Russian.)
- # [14:46] <annevk> I wonder if for XMLHttpRequest we should stop distinguishing user terminates request from network error... It's such a small special case and browsers typically don't have UI for it.
- # [14:49] * Joins: fkm (~fkm@80-219-250-30.dclient.hispeed.ch)
- # [14:49] * Quits: fkm (~fkm@80-219-250-30.dclient.hispeed.ch) (Changing host)
- # [14:49] * Joins: fkm (~fkm@unaffiliated/fkm)
- # [14:55] * Quits: Badreddin (~Nur@189.193.98.57) (Ping timeout: 276 seconds)
- # [14:56] * Quits: divya (~Adium@70-36-142-24.dsl.dynamic.sonic.net) (Quit: Leaving.)
- # [14:56] * Joins: divya (~Adium@70-36-142-24.dsl.dynamic.sonic.net)
- # [15:00] * Quits: ronaldmansveld (~ronaldman@5ED0EFE5.cm-7-1d.dynamic.ziggo.nl) (Read error: Connection reset by peer)
- # [15:00] * Joins: ronaldmansveld (~ronaldman@5ED0EFE5.cm-7-1d.dynamic.ziggo.nl)
- # [15:00] <annevk> CORS-enabled fetch in HTML seems buggy with respect to redirects
- # [15:01] <annevk> E.g. cross-origin to data URL...
- # [15:12] * Joins: Badreddin (~Nur@189.193.27.199)
- # [15:14] * Quits: xjiujiu (~quassel@218.77.14.202) (Read error: Connection reset by peer)
- # [15:17] * Quits: manu1 (~chatzilla@pool-96-240-164-84.ronkva.east.verizon.net) (Ping timeout: 252 seconds)
- # [15:20] * Joins: SimonSapin (~simon@ip-22.net-89-2-144.rev.numericable.fr)
- # [15:28] * Quits: ronaldmansveld (~ronaldman@5ED0EFE5.cm-7-1d.dynamic.ziggo.nl) (Read error: Connection reset by peer)
- # [15:28] * Joins: ronaldmansveld (~ronaldman@5ED0EFE5.cm-7-1d.dynamic.ziggo.nl)
- # [15:29] * Joins: gotwig (~gotwig@p4FF861E3.dip.t-dialin.net)
- # [15:29] <gotwig> hey ho
- # [15:29] <gotwig> so you talk about html5+ ?
- # [15:30] <Philip`> Occasionally
- # [15:30] <gotwig> I would be pleased to get your help :X
- # [15:30] <gotwig> so... why is :after not a property, but a pseudo class
- # [15:31] <gotwig> oh, eh, I can combine it with other pseudoclasses, right?
- # [15:31] <gotwig> I forgot that
- # [15:31] <gotwig> e.g p:hover:after{content: "Text" }
- # [15:31] <gotwig> right?
- # [15:32] * Joins: manu1 (~chatzilla@pool-96-240-173-62.ronkva.east.verizon.net)
- # [15:32] * Joins: ronald_mansveld (~ronaldman@5ED0EFE5.cm-7-1d.dynamic.ziggo.nl)
- # [15:32] <gotwig> ^css
- # [15:33] * Joins: ronald__mansveld (~ronaldman@5ED0EFE5.cm-7-1d.dynamic.ziggo.nl)
- # [15:34] <Badreddin> yes
- # [15:34] <Badreddin> I just did it
- # [15:34] * Quits: alrra (~alrra@unaffiliated/alrra) (Read error: Connection reset by peer)
- # [15:34] <gotwig> meaning the text only appers after I do a hoverß
- # [15:34] * Quits: ronaldmansveld (~ronaldman@5ED0EFE5.cm-7-1d.dynamic.ziggo.nl) (Disconnected by services)
- # [15:34] <gotwig> ?
- # [15:34] * ronald__mansveld is now known as ronaldmansveld
- # [15:34] <Philip`> gotwig: Do you mean why is it not "p:hover { after: "Text" }" or something?
- # [15:35] <gotwig> Philip`, yeah
- # [15:35] <Badreddin> yes, only on hover
- # [15:35] <gotwig> but I forgot that I can combine pseudo classes
- # [15:35] <gotwig> :after and :before are godlike features...
- # [15:35] <Philip`> I guess it's so you can do p:after { content: "Text"; color: #f0f; } etc, and apply arbitrary CSS to the aftered content
- # [15:35] * Joins: alrra (~alrra@unaffiliated/alrra)
- # [15:36] <gotwig> works like ice cream ;D
- # [15:37] * Quits: ronald_mansveld (~ronaldman@5ED0EFE5.cm-7-1d.dynamic.ziggo.nl) (Ping timeout: 255 seconds)
- # [15:38] <gotwig> can you help me a bit here?
- # [15:38] <gotwig> http://bbm3h11bgo.bplaced.net/project/index.php
- # [15:39] <gotwig> I want that if the checkbox is checked, there should be Close before the label Test
- # [15:39] <gotwig> I used #toggle:checked:before label{
- # [15:39] <gotwig> content: "Close";
- # [15:39] <gotwig> color: white;
- # [15:39] <gotwig> } for that
- # [15:39] <gotwig> sry..
- # [15:40] <Philip`> I'd expect it to be more like "#toggle:checked label:before"
- # [15:40] <gotwig> oh yeah
- # [15:40] <gotwig> I try that
- # [15:41] <gotwig> but It still doesnt work :X
- # [15:42] <gotwig> label:before works as expected, btw
- # [15:43] <ronaldmansveld> it's because label isn't a decendant, but a sibling of #toggle
- # [15:43] <ronaldmansveld> so use the sibling selector between the two ;)
- # [15:44] <annevk> gotwig: ::before/::after are pseudo-elements
- # [15:44] <ronaldmansveld> #toggle:checked + label:before
- # [15:44] <annevk> gotwig: they are not -classes and can only appear at the end of a selector
- # [15:44] <gotwig> why is it a sibling
- # [15:44] <gotwig> its a seperate tag, under the other, not inherited or what ever :X
- # [15:45] <ronaldmansveld> because they are next to each other in the sourcecode, the label is'nt contained by the input
- # [15:45] <annevk> if elements have the same parent they are siblings
- # [15:45] <ronaldmansveld> thanks annevk
- # [15:45] <gotwig> Works
- # [15:45] <gotwig> thX
- # [15:45] <ronaldmansveld> that was indeed the definition I was looking for :P
- # [15:45] <annevk> gotwig: see http://dom.spec.whatwg.org/#trees for more platform tree terminology
- # [15:46] <gotwig> thx
- # [15:46] <gotwig> do you see what I want to do?
- # [15:46] <gotwig> I want to realize a click > panel come down thing
- # [15:46] <annevk> use <details>
- # [15:46] <gotwig> can I replace content with css?
- # [15:47] <annevk> I think it's styleable to some extent
- # [15:48] <gotwig> hm, what ever, for now its enough
- # [15:48] <gotwig> * gives me all context right?
- # [15:48] <gotwig> so I've got #toggle:checked * #toppanel
- # [15:48] <gotwig> but that does nothing for me :/ I want that I can influence #toppanel, after toggle is checked
- # [15:49] <gotwig> toppanel is a grandparent of toggle
- # [15:50] <annevk> not without scripting
- # [15:50] <gotwig> why
- # [15:50] <gotwig> because I can't access the parent?
- # [15:50] <ronaldmansveld> it's not (yet) possible to style (grand)parents with CSS
- # [15:50] <annevk> there's no parent selector
- # [15:50] <gotwig> but I tought * would give me control over the whole css tree?
- # [15:50] <annevk> no
- # [15:50] <annevk> * matches any element
- # [15:50] <ronaldmansveld> I believe CSS4 will introduce a parentselector though, but that will take some time to be available
- # [15:50] <gotwig> any element in context of the current level or what?
- # [15:50] <annevk> yes
- # [15:51] <annevk> :checked and *:checked are equivalent
- # [15:51] <gotwig> and I also read about that with css4, the parent thing
- # [15:51] <annevk> #test and *#test are too
- # [15:51] <gotwig> that is sad ;/
- # [15:51] <gotwig> I tought I could do it in css only
- # [15:51] <gotwig> but well, I add it maybe on the same div leve
- # [15:51] <gotwig> l
- # [15:52] <gotwig> and then positionate a bit
- # [15:52] <gotwig> labels for="" does not work on the whole tree, right?
- # [15:52] <annevk> it does
- # [15:53] <ronaldmansveld> it does, because the for will match on ID
- # [15:53] <gotwig> thats great
- # [15:53] <gotwig> so the user does not have to see the checkbox
- # [15:53] <gotwig> :>
- # [15:53] <gotwig> and I still can use good positions
- # [15:55] <annevk> it sounds like you're not solving this in entirely the right way, but have fun tinkering
- # [15:55] * Joins: sedovsek (~robert@89.143.186.70)
- # [15:55] <gotwig> annevk, how would you do it in css only?
- # [15:55] <gotwig> I saw that here http://tympanus.net/Tutorials/CSSClickEvents/index.html
- # [15:58] <gotwig> do you can tell me on which level the checkbox has to be..?
- # [16:02] <gotwig> does that here work? https://github.com/Idered/cssParentSelector
- # [16:06] * Quits: izhak (~izhak@31.47.123.91) (Read error: Operation timed out)
- # [16:06] * Joins: ronald_mansveld (~ronaldman@5ED0EFE5.cm-7-1d.dynamic.ziggo.nl)
- # [16:06] <gotwig> what about having to focuses?
- # [16:07] <gotwig> *two
- # [16:08] * Quits: ronaldmansveld (~ronaldman@5ED0EFE5.cm-7-1d.dynamic.ziggo.nl) (Disconnected by services)
- # [16:08] * ronald_mansveld is now known as ronaldmansveld
- # [16:10] * Quits: marcosc (~marcosc@bl7-115-221.dsl.telepac.pt) (Remote host closed the connection)
- # [16:11] <annevk> gotwig: for general development questions #html5 is prolly a better channel
- # [16:12] <gotwig> ok.
- # [16:12] <annevk> it's fine to ask questions here, but people here are generally more focused on developing standards
- # [16:12] * Quits: baku (~baku@2-236-39-253.ip231.fastwebnet.it) (Ping timeout: 276 seconds)
- # [16:14] * Quits: divya (~Adium@70-36-142-24.dsl.dynamic.sonic.net) (Quit: Leaving.)
- # [16:16] * Joins: mattgifford (~mattgiffo@108.161.20.199)
- # [16:21] * Joins: divya (~Adium@70-36-142-24.dsl.dynamic.sonic.net)
- # [16:21] * Quits: divya (~Adium@70-36-142-24.dsl.dynamic.sonic.net) (Client Quit)
- # [16:22] * Joins: divya (~Adium@70-36-142-24.dsl.dynamic.sonic.net)
- # [16:22] * Quits: divya (~Adium@70-36-142-24.dsl.dynamic.sonic.net) (Client Quit)
- # [16:31] * Quits: vcarbune (~vcarbune@80-218-192-6.dclient.hispeed.ch) (Quit: Leaving)
- # [16:34] <annevk> Hmm, merging Fetch and CORS gets interesting...
- # [16:35] * Joins: boogyman (~boogy@pdpc/supporter/professional/boogyman)
- # [16:36] <annevk> The problem being that Fetch ignores origin completely. So e.g. if we want to support <script> but also allow the response to be annotated with CORS, we need to keep track of that during the request, but not fail if CORS fails...
- # [16:37] <annevk> But, that does not work if the request is something that CORS cannot do without preflight. But I guess we don't have such requests currently as that would kinda defeat the point of CORS.
- # [16:38] <gotwig> annevk, can you help me with CSS4?
- # [16:39] <annevk> gotwig: http://www.xanthir.com/b4Ko0
- # [16:40] <annevk> gotwig: I don't really know much about the checkbox tricks people employ these days I'm afraid
- # [16:40] <gotwig> the following #toppanel! > #toggle:checked { top:0px } I use http://demo.idered.pl/jQuery.cssParentSelector/
- # [16:40] <gotwig> I want that if the user checks toggle, toppanel should change its property to top:0px
- # [16:41] <gotwig> is that in theory, the right code?
- # [16:41] <annevk> are you including the script as that page instructs?
- # [16:42] <annevk> I believe I told you before that without script there's no selecting of parents
- # [16:46] <gotwig> I included the script
- # [16:46] <gotwig> in the .html page, where I also load the css fie
- # [16:46] <gotwig> *file
- # [16:47] <annevk> and jQuery?
- # [16:47] <gotwig> yes
- # [16:47] <annevk> well should work then I suppose
- # [16:47] <gotwig> on the html page, not on the css file... I dont know if I have to load it somehow first, load it into an object or so..
- # [16:48] <gotwig> I grab the tests.
- # [16:48] <annevk> nah, looks like the script fetches external style sheets
- # [16:48] <annevk> which seems like a waste, but I guess that's webdev these days
- # [16:49] <gotwig> not good enough for a web browser implementation ;) is there more work being done on the subject thing, or on the parent selector?
- # [16:49] <gotwig> I heard that with a subject pseudo class thingy you would be able to do more then with just a parent selector
- # [16:50] * Quits: yorick (~yorick@oftn/member/yorick) (Remote host closed the connection)
- # [16:52] <annevk> I don't follow www-style closely
- # [16:58] * Joins: shepazu (~shepazu@108.60.101.84)
- # [16:58] * Krinkle|detached is now known as Krinkle
- # [16:59] * Quits: sedovsek (~robert@89.143.186.70) (Quit: sedovsek)
- # [17:02] * Joins: sedovsek (~robert@89.143.186.70)
- # [17:06] * Quits: boogyman (~boogy@pdpc/supporter/professional/boogyman) (Quit: ChatZilla 0.9.90 [Firefox 18.0.2/20130201065344])
- # [17:06] * Quits: ronaldmansveld (~ronaldman@5ED0EFE5.cm-7-1d.dynamic.ziggo.nl) (Ping timeout: 276 seconds)
- # [17:07] * Joins: ronaldmansveld (~ronaldman@5ED0EFE5.cm-7-1d.dynamic.ziggo.nl)
- # [17:11] * Joins: Cromulent (~Cromulent@cpc4-reig5-2-0-cust637.6-3.cable.virginmedia.com)
- # [17:16] <gotwig> annevk, I got it working
- # [17:17] <gotwig> and I am very depressed now... important is not able to handle a property line that does not contain an ; as a charachter?
- # [17:18] * Quits: SimonSapin (~simon@ip-22.net-89-2-144.rev.numericable.fr) (Ping timeout: 260 seconds)
- # [17:18] * Joins: seventh (seventh@64.9.146.92)
- # [17:19] * Quits: Samuel_Roldan (~Samuel_Ro@12.207.22.82) (Read error: Connection reset by peer)
- # [17:19] * Joins: Samuel_Roldan_ (~Samuel_Ro@12.207.22.82)
- # [17:20] <annevk> So I'm sketching out the Fetch logic in some pseudo-Python, and it's complicated :-(
- # [17:22] <zewt> wow, pretty terrible firefox console window bug: it's collapsing lines even when they aren't the last line
- # [17:22] <zewt> in fact, it's collapsing them when they aren't even on screen, so i thought something was fixed (because i didn't see the warning) wasn't
- # [17:25] * GPHemsley recalls experiencing that a lot
- # [17:25] <GPHemsley> It also collapses any line that is identical
- # [17:25] <GPHemsley> which can be confusing
- # [17:26] <zewt> pretty broken behavior, imo (but anyway I'm back in Chrome which is much saner)
- # [17:27] <zewt> wow this parent selector code is ...
- # [17:28] <zewt> j && (parsed += ',');
- # [17:28] <zewt> i smell a perl programmer
- # [17:28] * Joins: nimbu (~nimbu@sjfw1-a.adobe.com)
- # [17:29] <zewt> also all variables var'd at the top of the block, somebody with some really bad habits left over from old C as well it seems
- # [17:31] * Quits: shepazu (~shepazu@108.60.101.84) (Quit: is sleepy)
- # [17:32] <zewt> not sure this is a hack i'd ever want to actually use--don't think i trust anything that parses my CSS with a bunch of unreadable regexes and modifies them
- # [17:33] <zewt> /[\w\s\.\-\:\=\'\*\|\?\^\+\/\\;#%]+\}{1}/ \i\ \c\a\n\'\t\ \r\e\a\d\ \t\h\i\s
- # [17:37] * Quits: mh0 (mh0@unaffiliated/mh0) (Quit: ZNC - http://znc.in)
- # [17:38] <zewt> https://dvcs.w3.org/hg/d4e/raw-file/tip/source_respec.htm#keyboard-101 wow this is ... a bit insane
- # [17:38] * Krinkle is now known as Krinkle|detached
- # [17:39] * Krinkle|detached is now known as Krinkle
- # [17:40] * Quits: sedovsek (~robert@89.143.186.70) (Quit: sedovsek)
- # [17:42] * Quits: Badreddin (~Nur@189.193.27.199) (Ping timeout: 276 seconds)
- # [17:42] <annevk> http://wiki.whatwg.org/wiki/Fetch#Python_pseudo-code for those interested
- # [17:42] <annevk> main bit is def fetch()
- # [17:43] <zewt> (whew, looks like none of those keyboard pictures are normative)
- # [17:43] <annevk> zewt: JavaScript hoists variables to the top of the block so you might as well declare them there
- # [17:43] * Joins: Areks (~Areks@rs.gridnine.com)
- # [17:44] <zewt> no way, that makes a mess of code
- # [17:44] <zewt> have a bunch of declarations at the top (where you have no idea what they're all for), and variables below where you can't tell if they're actually declared as locals (because it's all up top)
- # [17:45] * Joins: ronald_mansveld (~ronaldman@5ED0EFE5.cm-7-1d.dynamic.ziggo.nl)
- # [17:45] * Quits: ronaldmansveld (~ronaldman@5ED0EFE5.cm-7-1d.dynamic.ziggo.nl) (Disconnected by services)
- # [17:45] * ronald_mansveld is now known as ronaldmansveld
- # [17:46] * Quits: Areks|2 (~Areks@rs.gridnine.com) (Ping timeout: 264 seconds)
- # [17:47] <zewt> (i definitely wish strict had fixed that design screwup, though, and made vars local to the enclosing block)
- # [17:48] * Quits: mattgifford (~mattgiffo@108.161.20.199) (Remote host closed the connection)
- # [17:50] <zewt> annevk: file: is usually a hard error for xhr, but for things like <img> it just taints, right?
- # [17:51] <annevk> afaik file does not work cross-origin
- # [17:54] <zewt> <img src=foo.jpg> works for me on file:
- # [17:54] <zewt> (in chrome and FF)
- # [17:54] <zewt> it's just tainted so you can't use it with canvas, etc
- # [17:54] <annevk> that's same-origin though
- # [17:54] <zewt> all file: requests are cross-origin, right?
- # [17:54] <zewt> (each file is its own origin)
- # [17:54] <zewt> pretty sure that xhr would fail for the same url
- # [17:54] <annevk> ah yeah, maybe file requires a bit more special casing then
- # [17:55] <annevk> I think some browsers might scope origin to a directory, but I'm not sure
- # [17:56] <gsnedders> annevk: directory or its children is what WebKit does, IIRC
- # [17:56] <zewt> chrome is per-file i'm pretty sure
- # [17:57] <annevk> but anyway, file: is the least important
- # [17:57] <zewt> since they don't want a script in the root directory to be able to access the whole HDD
- # [17:57] <annevk> it's going to be by and large platform-dependent
- # [17:57] <annevk> and implementation
- # [17:57] * Quits: alrra (~alrra@unaffiliated/alrra) (Read error: Connection reset by peer)
- # [17:57] <gsnedders> zewt: It's the document path, not the script path, that matters.
- # [17:57] <zewt> not following
- # [17:58] <zewt> (they're the same for an html file with a <script>)
- # [17:58] <annevk> just assume s/NetworkError()/ImplementationSpecific()/ for that line
- # [17:58] * Joins: alrra (~alrra@188.24.72.71)
- # [17:58] * Quits: alrra (~alrra@188.24.72.71) (Read error: Connection reset by peer)
- # [17:58] <zewt> also you can't access stuff even in the same directory, eg. so if you drop foo.html into ~ it can't read .wgetrc and read passwords or whatever
- # [18:01] <gsnedders> Some browser has that behaviour, at least :P
- # [18:01] <zewt> i don't think any current desktop browser allows xhr on file: at all
- # [18:02] <zewt> i think chrome used to, since I vaguely remember being irritated when it stopped working
- # [18:03] * Joins: marcosc (~marcosc@bl7-115-221.dsl.telepac.pt)
- # [18:04] * Joins: mh0 (xeo@xeonet.es)
- # [18:04] * mh0 is now known as Guest34646
- # [18:04] <zewt> annevk: file: aside, it looks like Chrome, at least, doesn't allow cross-origin xhr for anything at all except http/https
- # [18:05] <zewt> XMLHttpRequest cannot load file:///E:/temp/foo. Cross origin requests are only supported for HTTP.
- # [18:05] <zewt> it can't even load about:blank, which seems lame
- # [18:06] * Quits: Guest34646 (xeo@xeonet.es) (Client Quit)
- # [18:06] * Joins: stevefaulkner (~stevefaul@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com)
- # [18:06] <zewt> or data:
- # [18:07] * Joins: mh0` (mh0@xeonet.es)
- # [18:07] * mh0` is now known as Guest94792
- # [18:07] <annevk> zewt: that's a new feature
- # [18:07] <annevk> kinda
- # [18:08] <zewt> data: isn't exactly new, heh
- # [18:08] <annevk> well that you can load it through XHR was only added recently
- # [18:08] <annevk> this is adding about:blank
- # [18:08] <annevk> and about:unicorn
- # [18:11] * Joins: mattgifford (~mattgiffo@108.161.20.199)
- # [18:11] * Quits: Cromulent (~Cromulent@cpc4-reig5-2-0-cust637.6-3.cable.virginmedia.com) (Ping timeout: 255 seconds)
- # [18:25] * Joins: jarek (~jarek@unaffiliated/jarek)
- # [18:28] * Joins: Cromulent (~Cromulent@cpc4-reig5-2-0-cust637.6-3.cable.virginmedia.com)
- # [18:29] * Quits: Samuel_Roldan_ (~Samuel_Ro@12.207.22.82) (Quit: Samuel_Roldan_)
- # [18:30] * Quits: gotwig (~gotwig@p4FF861E3.dip.t-dialin.net) (Ping timeout: 264 seconds)
- # [18:30] * Joins: baku (~baku@2-236-39-253.ip231.fastwebnet.it)
- # [18:32] * Joins: alrra (~alrra@unaffiliated/alrra)
- # [18:35] * Joins: Ms2ger (~Ms2ger@204.198-64-87.adsl-dyn.isp.belgacom.be)
- # [18:39] * Quits: Guest94792 (mh0@xeonet.es) (Changing host)
- # [18:39] * Joins: Guest94792 (mh0@unaffiliated/mh0)
- # [18:39] * Guest94792 is now known as mh0
- # [18:41] * Quits: adamovy (~adamovy@adbf49.neoplus.adsl.tpnet.pl) (Quit: Nettalk6 - www.ntalk.de)
- # [18:56] * Joins: SimonSapin (~simon@ip-22.net-89-2-144.rev.numericable.fr)
- # [18:58] * Quits: Cromulent (~Cromulent@cpc4-reig5-2-0-cust637.6-3.cable.virginmedia.com) (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/)
- # [18:59] * Quits: hihuz (Sylvain@78.141.71.86.rev.sfr.net) (Quit: later)
- # [18:59] <annevk> So if you do a request to a cross-origin URL for which the response is a redirect (that opts into CORS) to a data: URL. Should we expose the data: URL given that the redirected opted in?
- # [19:01] * Joins: hihuz (~sb@78.141.71.86.rev.sfr.net)
- # [19:01] * Joins: sedovsek (~robert@89.143.186.70)
- # [19:04] * Joins: dbaron (~dbaron@50-0-248-166.dsl.dynamic.sonic.net)
- # [19:04] * Joins: tomasf (~tom@2002:55e5:db44:0:60b9:a634:97ff:c094)
- # [19:04] * Quits: tomasf (~tom@2002:55e5:db44:0:60b9:a634:97ff:c094) (Client Quit)
- # [19:05] * Joins: tomasf (~tom@c-44dbe555.024-204-6c6b7012.cust.bredbandsbolaget.se)
- # [19:10] * Joins: gotwig (~gotwig@p4FF861E3.dip.t-dialin.net)
- # [19:10] * GPHemsley misses the 'Alternate "101" Keyboard Layout'
- # [19:10] * Joins: Samuel_Roldan (~Samuel_Ro@12.207.22.82)
- # [19:14] * Quits: marcosc (~marcosc@bl7-115-221.dsl.telepac.pt) (Remote host closed the connection)
- # [19:22] * Quits: charl_ (~charl@charl.eu) (Quit: leaving)
- # [19:24] <GPHemsley> I take it UI Events is a No Scroogling Zone?
- # [19:29] * Quits: alrra (~alrra@unaffiliated/alrra) (Quit: Leaving)
- # [19:29] * Quits: Samuel_Roldan (~Samuel_Ro@12.207.22.82) (Read error: Connection reset by peer)
- # [19:30] * Joins: Samuel_Roldan_ (~Samuel_Ro@12.207.22.82)
- # [19:30] * Quits: sedovsek (~robert@89.143.186.70) (Quit: sedovsek)
- # [19:31] <annevk> What does that mean?
- # [19:46] * Joins: jamesr_ (~jamesr@173-164-251-190-SFBA.hfc.comcastbusiness.net)
- # [19:48] <GPHemsley> annevk: It's a reference to commercials Outlook is running against Google in the U.S.
- # [19:49] <GPHemsley> annevk: You might not have seen them.
- # [19:49] <GPHemsley> annevk: http://www.computerworld.com/s/article/9236916/Microsoft_adopts_advocacy_tactics_to_scroogle_Google_in_attack_campaign
- # [19:50] * Joins: sedovsek (~robert@89.143.186.70)
- # [19:58] * Quits: jarek (~jarek@unaffiliated/jarek) (Quit: jarek)
- # [20:01] * Joins: marcosc (~marcosc@bl7-115-221.dsl.telepac.pt)
- # [20:03] <annevk> GPHemsley: https://dvcs.w3.org/hg/d4e/raw-file/tip/source_respec.htm is the location anyway
- # [20:03] * Quits: marcosc (~marcosc@bl7-115-221.dsl.telepac.pt) (Read error: Connection reset by peer)
- # [20:03] * Joins: marcosc_ (~marcosc@bl7-115-221.dsl.telepac.pt)
- # [20:13] * Joins: rniwa (~rniwa@70-89-66-218-ca.sfba.hfc.comcastbusiness.net)
- # [20:15] * Quits: rniwa (~rniwa@70-89-66-218-ca.sfba.hfc.comcastbusiness.net) (Client Quit)
- # [20:46] * Quits: annevk (~annevk@cpc3-brig16-2-0-cust644.3-3.cable.virginmedia.com) (Remote host closed the connection)
- # [20:56] * Quits: stevefaulkner (~stevefaul@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com) (Quit: stevefaulkner)
- # [20:58] * Quits: tantek (~tantek@70-36-139-86.dsl.dynamic.sonic.net) (Quit: tantek)
- # [21:03] * Joins: nessy (~silviapf@124-149-71-84.dyn.iinet.net.au)
- # [21:04] * Quits: sedovsek (~robert@89.143.186.70) (Quit: sedovsek)
- # [21:04] * Quits: Samuel_Roldan_ (~Samuel_Ro@12.207.22.82) (Quit: Samuel_Roldan_)
- # [21:10] * Quits: nimbu (~nimbu@sjfw1-a.adobe.com) (Quit: Leaving.)
- # [21:11] <SimonSapin> So, @page inherits from the root, and viewport units are based on the page size. How do we resolve this without breaking some use cases? :root { font-size: 1vw } @page { width: 50em }
- # [21:16] <GPHemsley> SimonSapin: Does it make sense to use viewport lengths for font-size?
- # [21:16] * GPHemsley gets déjà vu.
- # [21:17] <SimonSapin> GPHemsley: some people like it, for slides: http://css-tricks.com/viewport-sized-typography/
- # [21:17] <SimonSapin> I think the use case is interesting
- # [21:17] <SimonSapin> but so is em for page margins
- # [21:18] <SimonSapin> and so is @page inheriting from root
- # [21:18] <GPHemsley> "For use with font-size, I guess it's one "letter" that takes on that size, but as we know, in non-mono-spaced fonts the width of a letter is rather arbitrary. I find you just need to tweak around with the values to get it how you want it. Which is basically what we do anyway, right?"
- # [21:19] <GPHemsley> That seems like it opens things up to be really complicated.
- # [21:19] <SimonSapin> on screen it’s fine, you know the size of the viewport before looking at anything CSS
- # [21:20] * Joins: Badreddin (~Nur@189.193.27.199)
- # [21:20] <SimonSapin> on Paged Media we defined the "viewport" to be the content area of the first page, … whose size can be controlled in CSS
- # [21:20] <SimonSapin> and now we are so screwed :)
- # [21:20] <GPHemsley> and what happens with fallback fonts?
- # [21:21] <GPHemsley> IDK, it just seems like it'd be easier for everyone if they were just disallowed
- # [21:21] <SimonSapin> font-size is just a length, independant of the face
- # [21:22] <GPHemsley> and it also makes things impossible to read on really small windows
- # [21:22] <GPHemsley> sure, it fits in the frame, but to what end?
- # [21:23] * Joins: jarek (~jarek@unaffiliated/jarek)
- # [21:23] <GPHemsley> http://css-tricks.com/examples/ViewportTypography/
- # [21:23] <GPHemsley> try resizing the window
- # [21:23] <SimonSapin> maybe we could have defined this differently, but that ship has sailed
- # [21:24] <GPHemsley> meh
- # [21:24] * GPHemsley doesn't own a boat
- # [21:24] <SimonSapin> these issues are all valid, but the behavior is still well-defined
- # [21:25] <SimonSapin> not so on Paged Media :/
- # [21:26] <GPHemsley> So... why does @page inherit from :root?
- # [21:27] <GPHemsley> shouldn't @page = viewport?
- # [21:28] <SimonSapin> Page-margin boxes (that contain text) inherit from @page, so it’s useful to get the root’s font "for free"
- # [21:29] <SimonSapin> Also 'direction' and 'writing-modes' affect some stuff of left vs. right page, again nice to get the values from the root
- # [21:31] <GPHemsley> Perhaps there needs to be some distinction between "paper" and "page"
- # [21:32] * Quits: Ms2ger (~Ms2ger@204.198-64-87.adsl-dyn.isp.belgacom.be) (Quit: nn)
- # [21:32] <GPHemsley> Or, actually
- # [21:33] <GPHemsley> shouldn't it be @page > :root > page-margin box ?
- # [21:34] <SimonSapin> there only one root element, but multiple page boxes
- # [21:34] <GPHemsley> there should be some distinction between what the physical page requirements are and what the contents of the page are
- # [21:34] <SimonSapin> when painting it somewhat like @page > { :root, page-margin boxes }
- # [21:34] <SimonSapin> but the cascade is :root element > @page > page-margin boxes
- # [21:35] <SimonSapin> maybe @page inheriting from the root is what we’ll end up removing
- # [21:35] * Joins: stevefaulkner (~stevefaul@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com)
- # [21:35] <SimonSapin> which, by the way, is well defined as long as you don’t have viewport units
- # [21:35] <GPHemsley> Yeah, I think :root should inherit from @page
- # [21:36] <GPHemsley> which should not preclude page-margin boxes from inheriting from :root
- # [21:37] <GPHemsley> it's best to think about it physically, I think
- # [21:37] <GPHemsley> most fundamentally, you have a sheet of paper whose dimensions and properties do not change, no matter what is printed on it
- # [21:37] * Quits: stevefaulkner (~stevefaul@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com) (Client Quit)
- # [21:38] <GPHemsley> maybe page-margin boxes shouldn't inherit from :root
- # [21:38] <SimonSapin> page dimensions do change: table { page: wide } @page wide { size: A4 landscape } @page { size: A4 portrait /* default */ }
- # [21:38] <SimonSapin> different pages can have different styles
- # [21:39] <GPHemsley> well
- # [21:39] * Joins: Steve___ (~chatzilla@63.133.197.135)
- # [21:39] <GPHemsley> that changes the sheet of paper, too, doesn't it?
- # [21:39] <GPHemsley> that is, tables will get a new sheet with that style, won't they?
- # [21:39] <SimonSapin> it could, that’s undefined
- # [21:39] <SimonSapin> although in this case it’s expected to only rotate
- # [21:40] <GPHemsley> how do you rotate only part of a page?
- # [21:40] <SimonSapin> no, changing page type causes a forced page break
- # [21:40] * Quits: dbaron (~dbaron@50-0-248-166.dsl.dynamic.sonic.net) (Ping timeout: 260 seconds)
- # [21:40] <GPHemsley> right, exactly
- # [21:40] <GPHemsley> so dimensions may change from page to page
- # [21:40] <GPHemsley> but they don't change within the page
- # [21:42] <GPHemsley> also, in that case, wouldn't that mean that the text size would change because the width/height would change?
- # [21:42] <GPHemsley> the text size in the table, that is
- # [21:43] * Steve___ is now known as SteveF
- # [21:43] <GPHemsley> (if you used viewport units to size the font)
- # [21:44] <GPHemsley> and what happens if multiple pages are printed on a single sheet?
- # [21:44] <GPHemsley> (that may be an orthogonal question)
- # [21:45] * Quits: Zauberfisch (~Zauberfis@2a01:4f8:100:73c3::3) (Ping timeout: 256 seconds)
- # [21:46] <SimonSapin> viewport units in paged media are only based on the first page
- # [21:46] <GPHemsley> ah, right
- # [21:46] * Joins: dbaron (~dbaron@50-0-248-88.dsl.dynamic.sonic.net)
- # [21:46] <GPHemsley> you said that
- # [21:46] <SimonSapin> implementations don’t want a set of computed value per page
- # [21:46] * Joins: Zauberfisch (~Zauberfis@2a01:4f8:100:73c3::3)
- # [21:47] <SimonSapin> another option would have been to make them like percentages, only resolved during layout. But we resolved on the first one
- # [21:47] <GPHemsley> what document(s) can I use as reference in this discussion?
- # [21:48] * Quits: zdobersek (~zdobersek@cpe-77.38.31.63.cable.t-1.si) (Quit: ZNC - http://znc.in)
- # [21:48] <GPHemsley> how do you determine what the first page is?
- # [21:49] <GPHemsley> what if a table is on the first page?
- # [21:49] <SimonSapin> eh … its a bit scattered on www-style and conf call minutes
- # [21:49] <GPHemsley> does that mean that all the subsequent pages use text sized on landscape instead of portrait?
- # [21:49] <GPHemsley> ah
- # [21:49] <GPHemsley> what's the background document (spec)?
- # [21:50] * Quits: SteveF (~chatzilla@63.133.197.135) (Ping timeout: 252 seconds)
- # [21:50] <SimonSapin> after the table you go to the parent’s or next sibling’s page type
- # [21:50] <SimonSapin> http://dev.w3.org/csswg/css3-page/
- # [21:50] <SimonSapin> if there is no content before the table (roughly), the first page is wide
- # [21:50] * Joins: ronald_mansveld (~ronaldman@5ED0EFE5.cm-7-1d.dynamic.ziggo.nl)
- # [21:50] <GPHemsley> for the "first page" calculation?
- # [21:51] <GPHemsley> for the viewport, I mean
- # [21:51] <SimonSapin> http://dev.w3.org/csswg/css3-values/#viewport-relative-lengths
- # [21:52] <SimonSapin> "initial containing block" is defined in http://dev.w3.org/csswg/css3-page/#page-box-page-rule
- # [21:52] <SimonSapin> interactions of viewport units and @page are not yet defined (that’s my issue list)
- # [21:53] <GPHemsley> page box = printable area?
- # [21:53] * Quits: ronaldmansveld (~ronaldman@5ED0EFE5.cm-7-1d.dynamic.ziggo.nl) (Ping timeout: 260 seconds)
- # [21:54] <SimonSapin> hum, mostly
- # [21:55] * ronald_mansveld is now known as ronaldmansveld
- # [21:56] <GPHemsley> OK, so, each sheet of paper has a single page box?
- # [21:57] <GPHemsley> (assuming one page per sheet)
- # [21:57] <SimonSapin> yes
- # [21:57] <SimonSapin> although other transfer types are allowed: http://dev.w3.org/csswg/css3-page/#transfer-possibilities
- # [21:58] <GPHemsley> @page > @page :left, @page :right ?
- # [22:01] <SimonSapin> @page {} applies to all pages, but with weaker specificity than @page :left {} which applies only to left pages
- # [22:02] * Joins: thisissam (thisissam@151.238.246.120)
- # [22:02] <GPHemsley> is that different from inheritance?
- # [22:03] <GPHemsley> does the "initial containing block" take on the properties of whichever of :left and :right is first?
- # [22:03] <SimonSapin> I guess you could view it kind of like inheritance … but it is more like different selectors matching the same element
- # [22:03] <SimonSapin> the usual cascading rules apply
- # [22:04] <GPHemsley> ...which question was that a response to?
- # [22:04] <SimonSapin> with source, order specificity, !important, stylesheet origin, etc.
- # [22:04] <SimonSapin> response to "is that different from inheritance"
- # [22:04] <GPHemsley> ah, ok
- # [22:05] <SimonSapin> ICB is basically the used values of the 'width' and 'height' properties of the first page, after cascading and resolving 'auto' values
- # [22:06] * Joins: lilmonkey` (~colin@53518387.cm-6-2c.dynamic.ziggo.nl)
- # [22:06] * Quits: lilmonkey` (~colin@53518387.cm-6-2c.dynamic.ziggo.nl) (Changing host)
- # [22:06] * Joins: lilmonkey` (~colin@pdpc/supporter/professional/riven)
- # [22:07] <GPHemsley> so, if :left and :right wind up having different widths/heights, then the width/height of the "first page" (and, thus, the ICB) would depend on whether the "first page" was :left or :right?
- # [22:08] <SimonSapin> yes
- # [22:08] <SimonSapin> which depends on writing mode and direction
- # [22:08] <GPHemsley> hmm
- # [22:08] <SimonSapin> http://dev.w3.org/csswg/css3-page/#progression
- # [22:08] <SimonSapin> at least the default depends on that
- # [22:09] <SimonSapin> authors can switch with eg. :root { break-before: left }
- # [22:09] <SimonSapin> (there is no printed page before that "page break")
- # [22:09] * Quits: lilmonkey (~colin@pdpc/supporter/professional/riven) (Ping timeout: 255 seconds)
- # [22:11] <GPHemsley> right
- # [22:11] <GPHemsley> hmm
- # [22:11] <GPHemsley> but what does that mean if you have: table { page: wide } @page wide { size: A4 landscape } @page { size: A4 portrait /* default */ }
- # [22:12] <GPHemsley> and then :root > table:first-child ?
- # [22:13] <SimonSapin> then the first page is A4 landscape
- # [22:13] <GPHemsley> does that mean the "first page" is now @page wide ?
- # [22:13] <SimonSapin> yes
- # [22:14] <GPHemsley> is it a good idea to allow that to control how the viewport units are calculated?
- # [22:14] <GPHemsley> or is that part of the question we're trying to answer?
- # [22:14] * Quits: marcosc_ (~marcosc@bl7-115-221.dsl.telepac.pt) (Remote host closed the connection)
- # [22:15] <SimonSapin> interesting point
- # [22:15] <SimonSapin> "ICB = first page" is somewhat arbitrary
- # [22:15] <GPHemsley> so, we always have @page :left and @page :right
- # [22:15] <GPHemsley> oftentimes they are the same
- # [22:15] <GPHemsley> sometimes they are different
- # [22:16] <GPHemsley> page progression determines which one is "first"
- # [22:16] * Quits: OnlyMax (~OnlyMax@187-126-224-208.user.veloxzone.com.br) (Ping timeout: 260 seconds)
- # [22:16] <SimonSapin> viewport units being based on the first page makes the feature somewhat useless when page size varies. But anything else has too much implementation cost
- # [22:16] <GPHemsley> I think that's about as far as you should go before you determine viewport units
- # [22:16] <GPHemsley> oh
- # [22:17] <GPHemsley> too much of an exception to the rule?
- # [22:17] <SimonSapin> the ICB is based on 'width' and 'height' in @page. But if that is 'auto', it’s based on margin-*, border-*-width, padding-*, and size
- # [22:18] <SimonSapin> do you mean not inherit from :root?
- # [22:19] <GPHemsley> would there ever be a time when :root differs from whatever the first element is?
- # [22:20] <GPHemsley> e.g. on an HTML page, where :root differs from html
- # [22:20] <SimonSapin> :root is short for "the root element"
- # [22:20] <GPHemsley> so no?
- # [22:20] <SimonSapin> in HTML, that’s always <html> AFAIK
- # [22:21] * Quits: baku (~baku@2-236-39-253.ip231.fastwebnet.it) (Read error: Operation timed out)
- # [22:21] * Quits: fr0zenice (~frozenice@unaffiliated/fr0zenice) (Remote host closed the connection)
- # [22:21] <GPHemsley> which parts of determining what the "first page" is are set in stone?
- # [22:22] <SimonSapin> none, I guess
- # [22:23] <SimonSapin> set in clay that has not completely dried yet, maybe? :p
- # [22:23] <GPHemsley> ah, so what implementation cost are you referring to?
- # [22:24] * Joins: vcarbune (~vcarbune@80-218-192-6.dclient.hispeed.ch)
- # [22:26] <SimonSapin> cost of treating viewport units like percentages so that they can have a different value on each page
- # [22:27] <GPHemsley> oh
- # [22:27] <GPHemsley> I'm not arguing to allow their value to change per page
- # [22:27] <SimonSapin> yeah, the WG resolved against that
- # [22:27] <GPHemsley> just to allow their value to be based on a sane page
- # [22:28] <GPHemsley> I'm thinking it should be based on the size of whichever of :left or :right is first
- # [22:28] <GPHemsley> but before :first
- # [22:29] <SimonSapin> like, based on an hypothetical "unnamed" page that does not match any pseudo-class?
- # [22:29] <GPHemsley> sort of, yeah
- # [22:29] <GPHemsley> kind of, based on whatever :first is inheriting from
- # [22:29] <SimonSapin> "whichever of :left or :right is first" that depends on the 'direction' property on :root
- # [22:29] <GPHemsley> is that a problem?
- # [22:30] <SimonSapin> it’s not really inheriting
- # [22:30] <SimonSapin> not sure yet if that would work
- # [22:30] <GPHemsley> well, :left and :right both get their default values from @page, right?
- # [22:31] <SimonSapin> hum, not really
- # [22:31] <GPHemsley> then page progression and whatnot decides which of :left and :right becaomes :first
- # [22:31] <GPHemsley> oh
- # [22:31] <GPHemsley> specificity
- # [22:32] <GPHemsley> that's involved in here somewhere
- # [22:32] <SimonSapin> declarations for pages are qualified by a page selector which as specificity. The cascade picks a "winning" declaration for every property of every page based on a combination of stylesheet "origin" (UA, author, user), !important, specificity, and source order
- # [22:33] <SimonSapin> for selectors that match
- # [22:33] <SimonSapin> it’s the same cascade as on elements
- # [22:34] <GPHemsley> well, I'm thinking viewport units are determined at (0,0,x), where x is the highest number in context
- # [22:34] <GPHemsley> (if that even makes sense in the terminology)
- # [22:34] <SimonSapin> highest number?
- # [22:35] <GPHemsley> yeah, maybe it doesn't make sense
- # [22:35] <SimonSapin> Not sure what you mean
- # [22:37] <GPHemsley> can g or h every be >1 ?
- # [22:38] * GPHemsley is not sure where "This is 0 or 1. " applies
- # [22:39] <SimonSapin> no
- # [22:39] <GPHemsley> ok
- # [22:39] <SimonSapin> the syntax only allows zero or one page name per selector
- # [22:39] <SimonSapin> is the note unclear?
- # [22:39] <GPHemsley> yeah, a little
- # [22:39] <SimonSapin> how would you phrase it?
- # [22:39] <GPHemsley> the first few times I read it, I thought it applied to f, not g and h
- # [22:40] <SimonSapin> oh, sorry I misread you
- # [22:40] <SimonSapin> it applies to f, not g or h
- # [22:40] <GPHemsley> oh
- # [22:40] <GPHemsley> so, wait
- # [22:40] <GPHemsley> when would you have, e.g., (0,0,2)?
- # [22:42] <SimonSapin> "Given the syntax of page seletors, <var>f</var> can only ever be 0 or 1." Better?
- # [22:42] <GPHemsley> Sure, but now I still don't have an answer to the question I was really looking to answer. :P
- # [22:42] <SimonSapin> (0,0,2) with @page :left:left (which is silly) or @page :left:right (which never matches.) But they are allowed
- # [22:43] <SimonSapin> maybe in the future we’ll add more pseudo-classes
- # [22:43] <SimonSapin> :blank was added recently
- # [22:43] <GPHemsley> so, @page :left:left will override @page :left ?
- # [22:43] <SimonSapin> yes
- # [22:43] <SimonSapin> stronger specificity
- # [22:43] <GPHemsley> that seems strange
- # [22:43] <GPHemsley> but not really the issue at hand
- # [22:44] <SimonSapin> table:first-child:first-child does the same
- # [22:44] <GPHemsley> also strange
- # [22:44] <GPHemsley> but anyway
- # [22:45] <GPHemsley> viewport units should be calculated according to (0,0,x-1), where x is the specificity of the highest on the page
- # [22:45] * Parts: thisissam (thisissam@151.238.246.120)
- # [22:46] <GPHemsley> so, @page :first { font-size: 1vw } should be 1% of the width of @page :left:left
- # [22:46] <GPHemsley> (assuming @page :left:left specified)
- # [22:47] <GPHemsley> which is perhaps still an abuse of the terminology
- # [22:47] <GPHemsley> but hopefully it makes sense this time
- # [22:47] <SimonSapin> I’m still not sure how you determine X
- # [22:48] <GPHemsley> ok, hmm
- # [22:48] <GPHemsley> a page with a higher specificity inherits the properties of the lower specificities that also match, correct?
- # [22:48] <GPHemsley> (and then can override them)
- # [22:49] <SimonSapin> "inherit" is not the right word, but I see what you mean
- # [22:50] <SimonSapin> the proposal I’m writing up for www-style is more like: only consider @page rules without a selector for determining the viewport units.
- # [22:51] <GPHemsley> but aren't pseudo-classes selectors?
- # [22:52] <GPHemsley> s/classes/pages/ if you like
- # [22:52] <SimonSapin> "without a selector" is @page {} only
- # [22:52] <GPHemsley> so, no difference/dependence on :left vs. :right ?
- # [22:52] <SimonSapin> and pages don’t have specificity, selectors do. A given page *matches* a subset of all selectors. We get a bunch of declarations sorted by specificity of the matched selector
- # [22:53] <SimonSapin> yes
- # [22:53] <GPHemsley> yeah, I like that better
- # [22:53] <GPHemsley> but I thought that was bogged down by interactions with :root or something?
- # [22:53] <GPHemsley> (surely there was a reason I was led away from that proposal in my thinking...)
- # [22:54] <SimonSapin> that helps with part of the issue that you pointed out (and I hadn’t seen before:) the size of the actual first page depends on a lot of stuff, including named pages
- # [22:54] <SimonSapin> We want something like a "default" page
- # [22:54] <GPHemsley> right
- # [22:55] <SimonSapin> but that doesn’t change the circular definition of viewport units vs. page size
- # [22:56] <GPHemsley> remind me, why not?
- # [22:56] <SimonSapin> for that , sanest way out I see is change @page to not inherit from the root. Which is sad, but I don’t see better
- # [22:56] <GPHemsley> yeah, I still think that'd be more intuitive
- # [22:56] <SimonSapin> consider @page { width: 50vw }
- # [22:56] <SimonSapin> the width is 50% of itself
- # [22:56] <GPHemsley> what about size?
- # [22:57] <SimonSapin> when width is 'auto', its used value is size minus margins, borders and paddings
- # [22:57] <SimonSapin> (size is the default containing block of page boxes)
- # [22:57] <GPHemsley> what does that have to do with viewport? :P
- # [22:58] <GPHemsley> oh
- # [22:58] <SimonSapin> viewport units are proportional to the "initial containing block" which is effectively the used 'width' and 'height' of some page box
- # [22:59] <SimonSapin> so what we can do is declare that such units are invalid in 'width' and some other properties in @page
- # [22:59] <SimonSapin> the declarations are ignored
- # [23:00] <SimonSapin> but if font-size is based of viewport units, then em and other font-based units also indirectly depend on the ICB
- # [23:00] <GPHemsley> what would happen if @page viewport units were declared in reference to size?
- # [23:00] <GPHemsley> (or can you only have one definition of viewport units?)
- # [23:00] <SimonSapin> they would behave very differently than on screen
- # [23:01] <GPHemsley> ah
- # [23:01] <GPHemsley> would they, though?
- # [23:01] <SimonSapin> we want 100vw to be the same as `width: 100%` on the root
- # [23:01] <GPHemsley> what happens for :root { width: 50vw } ?
- # [23:01] <SimonSapin> (module scrollbars on screen …)
- # [23:01] <SimonSapin> then the root is smaller than the ICB
- # [23:02] <GPHemsley> right
- # [23:02] <SimonSapin> the ICB is the root’s own containing block
- # [23:02] * Joins: krawchyk (~krawchyk@c-76-21-215-221.hsd1.dc.comcast.net)
- # [23:03] <GPHemsley> size > @page > :root
- # [23:04] <GPHemsley> screen resolution > browser window > :root
- # [23:05] * Quits: gotwig (~gotwig@p4FF861E3.dip.t-dialin.net) (Quit: Verlassend)
- # [23:05] <SimonSapin> as in "bigger than"?
- # [23:06] <SimonSapin> yes, unless you have negative margins :)
- # [23:06] <GPHemsley> yeah, and also "contains"
- # [23:06] <GPHemsley> so what if you do?
- # [23:06] <SimonSapin> you could have :root wider than the page box
- # [23:06] <SimonSapin> width: 120%
- # [23:06] <GPHemsley> but then it overflows
- # [23:06] <SimonSapin> yes
- # [23:07] <SimonSapin> anyway, yes it’s conceptually contained that way
- # [23:07] <GPHemsley> but I mean, if you have :root { width: 120vw }
- # [23:07] <GPHemsley> what happens on screen?
- # [23:08] <SimonSapin> scrollbars, I suppose
- # [23:08] <GPHemsley> right
- # [23:08] <GPHemsley> because it overflows
- # [23:08] <SimonSapin> same with 120%
- # [23:08] <GPHemsley> but that doesn't redefine vw
- # [23:08] <SimonSapin> yes
- # [23:08] <GPHemsley> the difference between screen and page in this case is that you can't style "browser window" like you can with @page
- # [23:08] <SimonSapin> nothing in CSS can change the viewport on screen
- # [23:09] <GPHemsley> exactly
- # [23:09] <GPHemsley> but if you could, you'd predict @viewport { width: 100vw } to be relative to the screen resolution, wouldn't you?
- # [23:09] <SimonSapin> oh, wait, http://dev.w3.org/csswg/css-device-adapt/
- # [23:09] <GPHemsley> (perhaps @window would be better)
- # [23:09] <SimonSapin> @viewport is a thing
- # [23:10] * Quits: Maurice (copyman@5ED573FA.cm-7-6b.dynamic.ziggo.nl)
- # [23:10] <GPHemsley> does it fall into this analogy? (I hope)
- # [23:11] <SimonSapin> @viewport is described as similar to @page
- # [23:11] <GPHemsley> does it handle viewport units?
- # [23:11] <GPHemsley> (I'm not seeing that it does)
- # [23:12] <GPHemsley> <viewport-length> = auto | device-width | device-height | <length> | <percentage>
- # [23:12] <GPHemsley> <length>
- # [23:12] <GPHemsley> A positive absolute or relative length.
- # [23:12] <SimonSapin> "Viewport lengths (vw, vh, vmin, vmax) are relative to the initial viewport."
- # [23:13] <GPHemsley> initial viewport
- # [23:13] <GPHemsley> This refers to the viewport before any UA or author styles have overridden the viewport given by the window or viewing area of the UA. Note that the initial viewport size will change with the size of the window or viewing area.
- # [23:13] <GPHemsley> aka @page without selectors
- # [23:14] <SimonSapin> we could have viewport units inside @page be based on the default page size, like media queries
- # [23:14] <GPHemsley> wasn't that what I was saying? :P
- # [23:14] <SimonSapin> yeah, I just noticed :p
- # [23:15] <SimonSapin> except default without considering stylesheets at all, even @page without a selector
- # [23:15] <GPHemsley> right
- # [23:15] <SimonSapin> be vw can still "leak" from :root through inheritance
- # [23:15] <GPHemsley> remind me what the inheritance is now?
- # [23:16] <SimonSapin> the default font-size in an element is that of its parent
- # [23:17] <SimonSapin> :root is considered the "parent" of page boxes for the purpose of the cascade (determining computed values of properties)
- # [23:17] <GPHemsley> so viewport units in :root would be based on the size of the paper?
- # [23:17] <GPHemsley> that doesn't seem so bad
- # [23:19] <SimonSapin> hum, not quite
- # [23:20] <SimonSapin> the point is that vw inside @page would be based of the UA’s default (eg. always A4 portrait minus 2cm margins, in WeasyPrint) even if stylesheets specify something else
- # [23:20] <GPHemsley> ah
- # [23:21] <GPHemsley> is that bad?
- # [23:22] * Joins: Steve____ (~chatzilla@63.133.197.135)
- # [23:22] * Steve____ is now known as SteveF
- # [23:22] <GPHemsley> (consider that the viewport is not equal to the browser window, because of toolbars and the like)
- # [23:23] <SimonSapin> no, that’s actually better than making the declarations invalid
- # [23:23] <GPHemsley> yeah
- # [23:23] <SimonSapin> well, I think so
- # [23:23] <GPHemsley> I agree
- # [23:23] <GPHemsley> I never wanted to do that ;)
- # [23:23] <GPHemsley> oh, except in the beginning
- # [23:24] <SimonSapin> invalid is what CSS WG kind of agreed on so far
- # [23:24] <GPHemsley> where I was throwing them all away
- # [23:24] <GPHemsley> oh
- # [23:24] <GPHemsley> well
- # [23:24] <SimonSapin> but not a formal resolution
- # [23:24] <GPHemsley> they didn't spend the last two hours thinking it through
- # [23:24] <SimonSapin> that can be changed
- # [23:24] <GPHemsley> :P
- # [23:24] * Quits: bentruyman_ (~bentruyma@ec2-50-17-206-35.compute-1.amazonaws.com) (Quit: ZNC - http://znc.sourceforge.net)
- # [23:24] <SimonSapin> (although even resolutions can be changed by another resolution :p)
- # [23:25] <GPHemsley> so... did we settle it all?
- # [23:25] <SimonSapin> I raised this issue months ago, and I just had to ideas that I didn’t see before ;)
- # [23:25] <GPHemsley> :)
- # [23:26] <SimonSapin> erf, I meant *you* just had *two* ideas
- # [23:26] <GPHemsley> it's easy to think outside the box when you have no idea where the box is
- # [23:26] <GPHemsley> (no pun intended)
- # [23:26] <SimonSapin> hehe
- # [23:28] <SimonSapin> one point remains, though:
- # [23:28] <SimonSapin> does @page never inherit properties from the root element, or is that only for the purpose of determining viewport units?
- # [23:29] <GPHemsley> I think it would be more intuitive if it were never
- # [23:30] <GPHemsley> because, to me, the root element is a child of the page
- # [23:30] <GPHemsley> contained within the page
- # [23:30] <GPHemsley> however you want to phrase it
- # [23:32] <SimonSapin> each fragment of the root box is inside the page box, yes
- # [23:32] <SimonSapin> but there is only one root element
- # [23:32] <SimonSapin> (to rule them all)
- # [23:33] <GPHemsley> root element > root boxes?
- # [23:33] <SimonSapin> And the cascade (where inheritance happens) needs to happen before layout (where page breaks happen)
- # [23:33] <SimonSapin> elements generate boxes based on the 'display' property, and these boxes are "fragmented" at line breaks, page breaks, column breaks, etc.
- # [23:34] <GPHemsley> and remind me, what kind of stuff would get inherited from :root by @page?
- # [23:36] <SimonSapin> potentially any properties
- # [23:36] <SimonSapin> some like font-size are inherited by default
- # [23:36] <SimonSapin> any property can accept the 'inherit' keyword
- # [23:37] <GPHemsley> ah, right
- # [23:37] <SimonSapin> so this is valid, although crazy: :root { margin: 10vw } @page { margin: inherit }
- # [23:37] <GPHemsley> and according to our new definition, what is that vw relative to?
- # [23:38] * Joins: Smylers (~smylers@host86-178-109-32.range86-178.btcentralplus.com)
- # [23:38] <GPHemsley> or is it invalid?
- # [23:38] * GPHemsley hopes you have this all written down already
- # [23:38] <SimonSapin> yes, I’m about to send it to www-style
- # [23:39] <SimonSapin> with what we discussed: `margin: inherit` has no inherited value, so the initial value is used. That is 0, for margin.
- # [23:40] <SimonSapin> 10vw is based on an hypothetical "default" page
- # [23:40] <GPHemsley> given that I think we wrote defined viewport units without reference to inheritance, it's probably OK to leave the :root/@page inheritance as is for now
- # [23:40] <GPHemsley> -wrote
- # [23:40] <SimonSapin> if you specify a page size on both :left and :right, no page will have the "default" size
- # [23:40] <GPHemsley> but the viewport units still will
- # [23:40] * Parts: FireFly (~firefly@oftn/member/FireFly) ("WeeChat 0.3.9.2")
- # [23:41] * paul_irish_ is now known as paul_irish
- # [23:43] <SimonSapin> Sent: http://lists.w3.org/Archives/Public/www-style/2013Feb/0668.html
- # [23:45] <GPHemsley> Geez, that whole discussion distilled into that little e-mail?
- # [23:45] <GPHemsley> But cool
- # [23:45] * GPHemsley should probably get on www-style
- # [23:45] <GPHemsley> anyway, I'm gonna head out
- # [23:45] <GPHemsley> if anything interesting happens, let me know
- # [23:46] * Quits: vcarbune (~vcarbune@80-218-192-6.dclient.hispeed.ch) (Ping timeout: 244 seconds)
- # [23:46] <GPHemsley> (I'll let you know if/when I subscribe to www-style)
- # [23:46] <SimonSapin> thanks again GPHemsley
- # [23:46] <GPHemsley> sure thing :)
- # [23:47] * Quits: jarek (~jarek@unaffiliated/jarek) (Quit: jarek)
- # [23:48] * Quits: krawchyk (~krawchyk@c-76-21-215-221.hsd1.dc.comcast.net) (Remote host closed the connection)
- # [23:49] * Quits: jamesr_ (~jamesr@173-164-251-190-SFBA.hfc.comcastbusiness.net) (Quit: jamesr_)
- # [23:57] * Joins: birtles (~chatzilla@rtr.mozilla.or.jp)
- # Session Close: Mon Feb 25 00:00:00 2013
The end :)