Options:
- # Session Start: Wed Mar 03 00:00:00 2010
- # Session Ident: #css
- # [00:37] * Quits: sylvaing (sylvaing@131.107.0.105) (Ping timeout)
- # [01:35] * Joins: sylvaing (sylvaing@131.107.0.75)
- # [01:59] * Quits: sylvaing (sylvaing@131.107.0.75) (Ping timeout)
- # [03:08] * Quits: Lachy (Lachlan@83.170.95.133) (Ping timeout)
- # [03:22] * Joins: Lachy (Lachlan@81.170.212.11)
- # [03:25] * Quits: Lachy (Lachlan@81.170.212.11) (Ping timeout)
- # [03:25] * Joins: Lachy (Lachlan@83.170.95.133)
- # [04:40] * Joins: sylvaing (sylvaing@76.104.131.10)
- # [04:50] * Quits: dbaron (dbaron@63.245.220.240) (Quit: 8403864 bytes have been tenured, next gc will be global.)
- # [04:53] * Quits: Curt` (DorkeyDear@76.243.210.82) (Quit: Leaving)
- # [05:05] * Quits: karl (karlcow@128.30.54.58) (Client exited)
- # [05:12] * Quits: sylvaing (sylvaing@76.104.131.10) (Ping timeout)
- # [05:53] * Joins: karl (karlcow@128.30.54.58)
- # [06:11] * Joins: dbaron (dbaron@98.234.51.190)
- # [08:18] * Quits: Lachy (Lachlan@83.170.95.133) (Quit: Leaving)
- # [08:18] * Joins: Lachy (Lachlan@83.170.95.133)
- # [08:27] * Quits: dbaron (dbaron@98.234.51.190) (Quit: 8403864 bytes have been tenured, next gc will be global.)
- # [08:56] * Joins: Doof (mstensho@213.236.208.22)
- # [09:40] * Joins: glazou (daniel@80.118.184.70)
- # [09:40] <glazou> fantasai: ping
- # [09:52] <glazou> bbl
- # [09:52] * Quits: glazou (daniel@80.118.184.70) (Quit: bbl)
- # [10:17] * Quits: jdaggett_afk (jdaggett@202.221.217.73) (Quit: jdaggett_afk)
- # [10:32] * Quits: Lachy (Lachlan@83.170.95.133) (Quit: This computer has gone to sleep)
- # [10:34] * Joins: glazou (daniel@80.118.184.70)
- # [10:34] <glazou> Bert: yt ?
- # [10:47] * Joins: Lachy (Lachlan@88.131.66.80)
- # [11:13] <Bert> Hi glazou. sorry, was away from my machine.
- # [11:13] <glazou> no problem :-)
- # [11:13] <glazou> hi
- # [11:13] <glazou> I have a problem to show you
- # [11:14] <Bert> What kind of?
- # [11:14] <glazou> CSS 2.1 says all @import should occur before all other rules except @charset
- # [11:15] <glazou> but Namespaces module also says @namespace must occur only after @import rules
- # [11:15] <glazou> so if we have the following
- # [11:15] <glazou> @namespace url(...);
- # [11:15] <glazou> @import foo.html;
- # [11:15] <glazou> which one is invalid ?
- # [11:15] <glazou> :-)
- # [11:15] <anne> the first
- # [11:16] <anne> the second is dropped
- # [11:16] <glazou> is asked "invalid"
- # [11:16] <glazou> I asked
- # [11:16] <glazou> you say 1st is valid and 2nd invalid
- # [11:16] <anne> and for @namespace url(...); @import foo; @namespace x url(...); only the second is dropped
- # [11:16] <glazou> right ?
- # [11:16] <anne> yes
- # [11:17] <anne> because in your example there is no @import rule
- # [11:17] <Bert> Ah, the "which" was never a question when we designed that. :-) It's invalid, that's all. But I guess you want to "save" as much of the invalid style sheet as possible...
- # [11:17] <anne> at the object level
- # [11:17] <glazou> ok validity at parse time takes precedence over prose
- # [11:17] <anne> annoyingly CSS is mostly described in terms of syntax so this distinction is not quite clear
- # [11:17] <glazou> I wondered if a clarification or an example is not needed here
- # [11:19] <glazou> in the namespaces module for instance
- # [11:20] <Bert> Considering that most parsers parse from start to end and probably already did a bit of work when they found the ";" after @namespace, it's probably best to keep the @namespace and drop the @import.
- # [11:21] <glazou> yes, it would require lookahead or lookback otherwise
- # [11:21] <glazou> ok just wanted to make sure we're all on same track here
- # [11:21] <glazou> I asked because I am implementing a css parser right now
- # [11:22] <glazou> preserving unknown rules
- # [11:22] <glazou> comments
- # [11:22] <glazou> and even whitespaces on demand
- # [11:22] <Bert> @namespace doesn't exist in CSS 2.1, so the most obvious place for a clarification would be the Namespace module.
- # [11:23] <glazou> well
- # [11:23] <Bert> I did some error-recovery experiments last week, using Yacc. But I want to try in Java next, because Yacc/Lex isn't very handy with UTF-8 input...
- # [11:23] <glazou> could also be a note in css 2.1 saying that validity in a sheet is verified at parse time, in chronological order of the rules
- # [11:23] <anne> I'm not at all convinced we can even discuss that it is not clear, but I'm willing to add examples
- # [11:24] <glazou> anne: agreed, the prose is clear ; but the way a css parser should be implemented is not...
- # [11:25] <Bert> I don't know yet if it is already clear. Have to look at the text first. Just saying *if* we need a clarification about @namespace and @import, I'd expect it in Namespaces.
- # [11:25] <anne> I'm not sure about that either, though I will conceed that CSS parsing is way more complicated than it should've been
- # [11:25] <anne> but that's not my fault
- # [11:25] <glazou> nobody said it's your fault
- # [11:25] <glazou> :)
- # [11:26] <glazou> anyway, Bert, anne, I wanted to raise the point since I hit the question myself implementing my parser
- # [11:27] <Bert> What's complicated is just the attempts to recover from errors by second-guessing the author that we bolted on afterwards. It's very easy to know if something is right or wrong.
- # [11:27] <anne> neh, what's complicated is that you can escape ASCII syntax for no reason
- # [11:27] <anne> e.g. the enormous amounts of ways you can write url() is just disturbing
- # [11:27] <anne> or any given property name for that matter
- # [11:29] <anne> the reason the error recovery rules are complex is because they are bolt-on on top of the grammar
- # [11:30] <glazou> absolutely
- # [12:55] * Quits: Lachy (Lachlan@88.131.66.80) (Quit: This computer has gone to sleep)
- # [12:57] * Joins: Lachy (Lachlan@88.131.66.80)
- # [13:53] * Quits: Lachy (Lachlan@88.131.66.80) (Quit: This computer has gone to sleep)
- # [14:40] * Disconnected
- # [14:41] * Attempting to rejoin channel #css
- # [14:41] * Rejoined channel #css
- # [15:06] * Joins: jdaggett (jdaggett@118.243.226.86)
- # [15:06] * jdaggett is now known as jdaggett_zzz
- # [15:33] * Quits: glazou (daniel@80.118.184.70) (Ping timeout)
- # [16:12] * Joins: mollydotcom (mollyh@68.231.162.204)
- # [16:16] <mollydotcom> hi all, gonna hang out but can't make call, my friend Dale is in ICU after brain surgery, not doing so well, so I'm distracted but here if needed.
- # [16:20] * Joins: sylvaing (sylvaing@76.104.131.10)
- # [16:36] * Joins: lstorset (lstorset@213.236.208.22)
- # [17:23] * mollydotcom says hello to all
- # [17:25] <TabAtkins> Yo, molly!
- # [17:28] <mollydotcom> Hey TabAtkins, how goes?
- # [17:28] <anne> have fun goes
- # [17:28] * anne has to go
- # [17:28] <mollydotcom> bye Anne
- # [17:28] <TabAtkins> Frustratingly. Configuring SSL is fraught with peril!
- # [17:29] <lstorset> Hi Molly!
- # [17:29] <mollydotcom> hey lstorset, so happy you're here
- # [17:29] <lstorset> Thanks
- # [17:29] <mollydotcom> have you been introduced around?
- # [17:29] <lstorset> No, not yet
- # [17:30] <lstorset> But I hear there are a lot of great people here
- # [17:30] * mollydotcom wants to welcome lstorset (leif) from Opera
- # [17:30] <TabAtkins> Ah, hey Leif!
- # [17:30] <TabAtkins> btw, how do you pronounce that?
- # [17:30] <lstorset> Hello Tab!
- # [17:30] <lstorset> like "Life"
- # [17:31] <TabAtkins> Thought so.
- # [17:31] <lstorset> I was the butt of many, many jokes during my year in California :)
- # [17:31] <lstorset> "Life sucks"
- # [17:31] <mollydotcom> everyone is the butt of many joked in California. Unless he or she isn't doing a proper job ;)
- # [17:31] <lstorset> so true :)
- # [17:31] <mollydotcom> oh! that's not funny
- # [17:31] <mollydotcom> lol
- # [17:32] <lstorset> what do you do, TabAtkins? the member page just says "invited expert"
- # [17:33] <TabAtkins> At the moment I'm finishing out the week working as webmaster for my company. On the 22nd I'll be working with Google, hopefully on the Chrome team.
- # [17:33] <lstorset> cool, congratulations!
- # [17:33] <TabAtkins> ^_^
- # [17:34] <mollydotcom> Chrome rocks. But not as much as Opera :P
- # [17:34] <lstorset> do you have browser wars every week in this group? :P
- # [17:34] <mollydotcom> hahahaha
- # [17:35] <mollydotcom> folks, I ask of you, do we have browser wars in this group and if so, how often?
- # [17:35] <mollydotcom> TBH, Leif, this is a great group of passionate people
- # [17:36] <mollydotcom> we don't have wars. We have intellectual disagreements.
- # [17:36] <TabAtkins> We're all a big happy family.
- # [17:36] <lstorset> Glad to hear it :)
- # [17:36] <mollydotcom> in our own dysfunctional way ;)
- # [17:36] <TabAtkins> Dysfunctional? Surely you jest, Molly!
- # [17:37] * mollydotcom jest? Checks halo integrity
- # [17:42] * Joins: bradk (bradk@67.188.133.45)
- # [17:50] * Joins: glazou (glazou@82.247.96.19)
- # [17:51] * Parts: glazou (glazou@82.247.96.19)
- # [17:57] * Joins: Zakim (rrs-bridgg@128.30.52.30)
- # [17:57] * Joins: RRSAgent (rrs-loggee@128.30.52.169)
- # [17:57] <RRSAgent> logging to http://www.w3.org/2010/03/03-CSS-irc
- # [17:57] <plinss> rrsagent, make logs public
- # [17:57] <RRSAgent> I have made the request, plinss
- # [17:57] <plinss> zakim, this will be style
- # [17:57] <Zakim> ok, plinss; I see Style_CSS FP()12:00PM scheduled to start in 4 minutes
- # [17:58] <Zakim> Style_CSS FP()12:00PM has now started
- # [17:58] <Zakim> +plinss
- # [17:59] <Zakim> + +0472369aaaa
- # [17:59] <plinss> zakim, aaaa is lstorset
- # [17:59] <Zakim> +lstorset; got it
- # [17:59] <Zakim> +sylvaing
- # [18:00] * Joins: smfr (smfr@68.183.233.11)
- # [18:00] * Joins: dethbakin (dethbakin@98.234.211.150)
- # [18:00] <mollydotcom> I'm here but no phone or Skype access
- # [18:00] <mollydotcom> sorry, limited technology
- # [18:00] <Zakim> + +1.253.307.aabb
- # [18:00] * Joins: oyvind (oyvinds@213.236.208.22)
- # [18:01] <Zakim> +dethbakin
- # [18:02] <Zakim> +smfr
- # [18:02] <Zakim> +bradk
- # [18:02] * Joins: glazou (glazou@82.247.96.19)
- # [18:02] <glazou> hi there
- # [18:02] <smfr> morning
- # [18:02] <bradk> hello
- # [18:02] <Zakim> +glazou
- # [18:03] <Zakim> +TabAtkins
- # [18:03] * Joins: howcome (howcome@80.203.19.236)
- # [18:03] <Zakim> +Hakon_Lie
- # [18:04] <Zakim> +Bert
- # [18:04] * mollydotcom will be cheering from the IRC benches
- # [18:07] <TabAtkins> ScribeNick: TabAtkins
- # [18:08] <Zakim> +??P3
- # [18:08] <TabAtkins> plinss: Anything else on the agenda?
- # [18:08] <TabAtkins> sylvaing: I submitted comments from a colleague in Japan for CSS3 Lists; not sure if that spec is dormant or what.
- # [18:08] <glazou> Zakim, mute me
- # [18:08] <Zakim> glazou should now be muted
- # [18:09] <TabAtkins> sylvaing: They wanted to know what the status was of that spec.
- # [18:09] <TabAtkins> fantasai: Lists doesn't have an active editor right now.
- # [18:09] <TabAtkins> fantasai: There's a lot of corrections that need to go into there. I made some of them that were minor.
- # [18:10] <TabAtkins> sylvaing: I guess the important thing is to find someone who can assert that the suggested changes are correct.
- # [18:10] * Joins: ChrisL (ChrisL@128.30.52.169)
- # [18:10] <glazou> hi ChrisL, wb, just got your email
- # [18:10] <TabAtkins> fantasai: As for correcting obviously wrong things, we can probably just do that.
- # [18:11] <TabAtkins> fantasai: Lists probably needs a review in general, but if we just get a patch we can just check those changes into the ED.
- # [18:11] <TabAtkins> plinss: Image-fit talk, revisiting the auto discussion
- # [18:11] <glazou> Norwegian slackers :-)
- # [18:12] <Zakim> +[IPcaller]
- # [18:12] <TabAtkins> howcome: I discussed with our implementors, and they're clear that they need 'auto'.
- # [18:12] <TabAtkins> howcome: I've brought Leif in today. He's been implementing this stuff.
- # [18:13] <TabAtkins> howcome: We'd like to have an auto value. We don't need to say exactly what it does (refer to past behaviors), but just establish the borders and let the content do what it wants.
- # [18:13] <TabAtkins> howcome: And then let 'fill' be very explicit that it fills the whole rectangle for all media types.
- # [18:13] <Zakim> +SteveZ
- # [18:13] <Zakim> +[Mozilla]
- # [18:13] * Joins: dbaron (dbaron@63.245.220.240)
- # [18:14] <TabAtkins> TabAtkins: Insofar as we need magic values based on media type, I like this.
- # [18:14] * dbaron Zakim, [Mozilla] has dbaron
- # [18:14] * Zakim +dbaron; got it
- # [18:14] <TabAtkins> Bert: Not all types can scale. a java applet, frex, can't scale in two separate dimensions.
- # [18:14] * dbaron RRSAgent, pointer?
- # [18:14] * RRSAgent See http://www.w3.org/2010/03/03-CSS-irc#T17-12-57
- # [18:14] <TabAtkins> howcome: True, but for many media types like video it can do so.
- # [18:15] <TabAtkins> TabAtkins: What would we specify happens for media types that can't scale like that?
- # [18:15] <TabAtkins> howcome: They should fill insofar as it's possible to do.
- # [18:15] * sylvaing -ms-moz-webkit-o-css:auto; should take care of it
- # [18:15] <TabAtkins> ChrisL: Suppose you have something that can only scale proportionately. Do you make it act like cover or contain?
- # [18:16] * glazou sylvaing lol
- # [18:16] <Zakim> - +1.253.307.aabb
- # [18:16] <TabAtkins> howcome: I don't think we *can* specify all possible details. Frex, widescreen video sometimes has the edges scaled differently from the center.
- # [18:17] <TabAtkins> TabAtkins: So if they *could* scale properly, they must, but if they couldn't, it's undefined?
- # [18:17] * Joins: szilles (chatzilla@71.94.81.196)
- # [18:17] <TabAtkins> Bert: How is this different from auto?
- # [18:17] <TabAtkins> howcome: It would establish a rectangle, and say the content is free to do whatever it wants inside of there.
- # [18:18] * TabAtkins I think my line dropped.
- # [18:18] <Zakim> -TabAtkins
- # [18:18] * Quits: howcome (howcome@80.203.19.236) (Ping timeout)
- # [18:18] <Zakim> +TabAtkins
- # [18:19] <glazou> wb TabAtkins
- # [18:19] <Zakim> -smfr
- # [18:19] <smfr> my turn
- # [18:19] <Zakim> +[Microsoft]
- # [18:19] <Zakim> +smfr
- # [18:20] <TabAtkins> TabAtkins: Given that we're allowing media to do whatever it wants if it can't fill properly, what's the difference with auto?
- # [18:21] <TabAtkins> howcome: There's a convention that you change the aspect ratio for images, but not videos.
- # [18:21] <TabAtkins> dbaron: 1) Why should this be a value rather than selectors in the UA style sheet? (2) I think some of the object behavior in SVG is just bugs, and I don't think that content depends on it
- # [18:22] <Zakim> -SteveZ
- # [18:22] <TabAtkins> howcome: You could do UA stylesheet and specify different behavior for elements, but can't do this for differing media types.
- # [18:22] <TabAtkins> dbaron: I'd almost rather see Selectors rather than a weird value, even if it's just for UA and not exposed to the web.
- # [18:23] <TabAtkins> dbaron: It sounds like auto is 'whatever you want it to be', not 'what you would expect'. We should define it.
- # [18:23] <Zakim> +SteveZ
- # [18:23] <TabAtkins> plinss: We have some auto values that *do* mean 'do whatever the UA wants to do'.
- # [18:23] <TabAtkins> dbaron: Example?
- # [18:23] <TabAtkins> plinss: (goes to look)
- # [18:23] <lstorset> 'auto' is used in 'overflow' as 'UA decides'
- # [18:23] <dbaron> lstorset, no
- # [18:23] <glazou> Zakim, unmute me
- # [18:23] <Zakim> glazou should no longer be muted
- # [18:23] <TabAtkins> howcome: Scaling video is still a big deal. It doesn't depend on the media type, but on the processor.
- # [18:24] <TabAtkins> ChrisL: Yeah, you want to treat video differently on lower-powered platforms.
- # [18:24] <Zakim> -SteveZ
- # [18:24] <TabAtkins> Bert: You may also want to, say, rotate the video. That also might not work on low-powered devices.
- # [18:24] <Zakim> +SteveZ
- # [18:24] <TabAtkins> Bert: Look at communication between image and document. image gives actual width and height, document gives desired width and height.
- # [18:25] <TabAtkins> Bert: That's all. You'll need a third value to pass around to say 'auto'.
- # [18:25] <TabAtkins> howcome: Yeah, you'll need a flag to be passed. We think it's useful enough to do.
- # [18:25] <TabAtkins> fantasai: Who's going to modify the plugin UI?
- # [18:25] <TabAtkins> howcome: I don't think plugins are relevant here; we're moving away from them.
- # [18:25] <TabAtkins> szilles: I beg to differ!
- # [18:25] <dbaron> s/plugin UI/plugin API/
- # [18:26] <TabAtkins> Bert: Steve is right; we dont' know the formats that will be used in the future, and we designed it so that it can be extended.
- # [18:26] * sylvaing apart from all the content out there, who needs plugins, really ?
- # [18:26] * ChrisL "legacy flash content"
- # [18:26] <glazou> who's speaking now ?
- # [18:26] <sylvaing> leif
- # [18:26] * ChrisL leif
- # [18:26] <glazou> ok
- # [18:26] <TabAtkins> Leif: About the motivation for auto, it was inserted so we could be backwards-compatible and still maintain the meaning of fill.
- # [18:26] <TabAtkins> fantasai: I don't have a *problem* with auto as long as the model between the document and the media doesn't change.
- # [18:27] * Joins: arronei (arronei@131.107.0.104)
- # [18:27] <TabAtkins> fantasai: So if auto is just implemented by varying on the content-type and aliasing to different image-fit values, that would be fine.
- # [18:27] <TabAtkins> fantasai: Frex, video 'auto' would act like 'contain'.
- # [18:27] <TabAtkins> sylvaing: I agree. 'auto' should map to one of the existing.
- # [18:27] <sylvaing> ...values
- # [18:27] <TabAtkins> fantasai: I'm not happy with 'auto' meaning 'tell the content something special'.
- # [18:28] <TabAtkins> howcome: Would you like to describe in the spec which medias map to which values?
- # [18:28] <TabAtkins> fantasai: If we're going to do this, then yes, we want it in the spec. We want interop.
- # [18:28] <TabAtkins> fantasai: Of course, if you have a new video plugin, the UA may not know that it's a video.
- # [18:28] * glazou feels Bert is lost
- # [18:29] <TabAtkins> howcome: Right, so plugins would be considered a media type.
- # [18:29] * Bert thinks about content-type: application/plugin :-)
- # [18:29] <TabAtkins> ChrisL: What would it map to for SVG?
- # [18:30] <TabAtkins> ChrisL: I'm not happy with something that says "every piece of svg in html now breaks".
- # [18:30] <TabAtkins> fantasai: SVG would work the same as everything else. We'd draw a box based on image-fit, and then SVG just does whatever it wants.
- # [18:30] * sylvaing glazou, or does Bert think we're all lost :)
- # [18:30] <TabAtkins> fantasai: So for SVG you probably want auto to act like fill.
- # [18:30] <glazou> bradk: yt?
- # [18:30] <TabAtkins> fantasai: And then SVG can cover/contain/scale itself based on that box depending on its own attributes.
- # [18:31] <TabAtkins> fantasai: We should probably be able to distinguish between video and images.
- # [18:31] <bradk> ??
- # [18:31] <TabAtkins> ChrisL: Animated GIF, like video but can scale?
- # [18:31] <TabAtkins> szilles: Problem with table is that it gets fixed at some point.
- # [18:31] <glazou> bradk: just answered your quesiton in www-style
- # [18:31] <TabAtkins> fantasai: Yeah, but we dont' get top-level types very often.
- # [18:32] <TabAtkins> szilles: Plugins are an extension mechanism, though, and I don't think there's a useful way to standardize this.
- # [18:32] <TabAtkins> fantasai: I think do the same as SVG - treat 'auto' as 'fill', and then tell the plugin 'Hey, render yourself in this nice box'.
- # [18:33] <TabAtkins> fantasai: Seems the only thing that changes is that video sizes as contain, everything else acts like fill.
- # [18:33] <TabAtkins> fantasai: Was there any other change?
- # [18:34] <TabAtkins> TabAtkins: The third one was that SVG should be 'none', and keep its own intrinsic dimensions.
- # [18:34] <TabAtkins> fantasai: I think that if, in CSS, we treat it as fill and just hand it the resulting viewport box, it can figure out what to scale for itself.
- # [18:34] <TabAtkins> ChrisL: It's fine to have different values in CSS to give SVG new viewports; SVG already knows how to scale itself.
- # [18:35] <TabAtkins> ChrisL: It's also fine to have CSS tell SVG specifically how to scale, but I dont' want it to happen by default.
- # [18:35] <TabAtkins> fantasai: So, the way image-fit imposes on SVG is not by telling SVG how to scale; it just asks SVG for its intrinsic size and then hands it a viewport.
- # [18:36] <TabAtkins> TabAtkins: So the *only* difference with auto is that video will scale as contain, everything else scales as fill?
- # [18:36] <TabAtkins> fantasai: I think so, yeah.
- # [18:36] <TabAtkins> ChrisL: I see the value there. It's not wide-open anymore; much more implementable and testable.
- # [18:37] <TabAtkins> szilles: Can anyone precisely answer whether the video/everything else is the only relevant distinction for auto?
- # [18:37] <TabAtkins> howcome: Leif appears to be gone?
- # [18:37] <lstorset> can you hear me?
- # [18:37] <dbaron> lstorset, no
- # [18:37] * dbaron Zakim, who is on the phone?
- # [18:37] * Zakim sees on the phone: plinss, lstorset, sylvaing, dethbakin, bradk, glazou, Hakon_Lie, Bert, ??P3, [IPcaller], [Mozilla], TabAtkins, [Microsoft], smfr, SteveZ
- # [18:37] <lstorset> I will hang up and call again
- # [18:37] * Zakim [Mozilla] has dbaron
- # [18:38] <Zakim> -lstorset
- # [18:38] <TabAtkins> Bert: Where do you get that people expect the video to not scale?
- # [18:38] <TabAtkins> howcome: There's tons of video on the web. If you open one in a typical player it won't scale.
- # [18:39] <Zakim> +lstorset
- # [18:39] * Joins: howcome (howcome@80.203.19.236)
- # [18:40] <TabAtkins> TabAtkins: There are places where people provide a single sized <video> and playing videos with different and unpredictable aspect ratios.
- # [18:40] <TabAtkins> Leif: Yeah, only difference between the two is that video will scale as contain.
- # [18:42] <TabAtkins> TabAtkins: So can we just put "video{image-fit:contain;}", or do we *need* to still vary for other elements?
- # [18:42] <TabAtkins> howcome: Yes, for <object>
- # [18:44] * Quits: howcome (howcome@80.203.19.236) (Ping timeout)
- # [18:44] <TabAtkins> TabAtkins: Other plugins will default to fill, and then size themselves inside the provided box as they need. Do we need to provide different behavior for video in <object>?
- # [18:45] <TabAtkins> Leif: If a plugin does the painting, it can size itself as it wants in fill.
- # [18:46] <TabAtkins> TabAtkins: Yeah, but is there anything special that we *need* to differentiate between fill and auto for?
- # [18:46] <Zakim> -dethbakin
- # [18:46] <dbaron> We can put video { image-fit: contain } in the default style sheet for HTML.
- # [18:46] <dethbakin> sorry all! i have to leave early today
- # [18:47] * Quits: dethbakin (dethbakin@98.234.211.150) (Quit: dethbakin)
- # [18:47] * Parts: mollydotcom (mollyh@68.231.162.204)
- # [18:48] <TabAtkins> howcome: If you use <object> you don't know whether it's an image, or SVG, or what.
- # [18:49] <TabAtkins> Leif: If you fill for SVG it would be overriding the aspect ratio.
- # [18:49] <TabAtkins> dbaron: No, what Elika was saying is that SVG would do whatever it wants for sizing. CSS would just provide a content box.
- # [18:50] <TabAtkins> Leif: But that would mean that bitmaps and SVGs can potentially size differently with fill. We'd like fill to override SVG's aspect ratio.
- # [18:50] <TabAtkins> ChrisL: That's not compatible with what SVG does right now.
- # [18:50] <TabAtkins> Leif: We'd pass the information into the SVG.
- # [18:51] <TabAtkins> fantasai: I don't think the CSS rules on the replaced box should override anything on the SVG.
- # [18:51] <TabAtkins> fantasai: You should pick a viewbox, not the size, for the SVG.
- # [18:51] <TabAtkins> fantasai: If you pick a viewbox and don't set width/height, it will scale and act properly with fill/contain/cover
- # [18:52] <TabAtkins> Leif: The idea from eric's point of view is that they would replace preserveAspectRatio in SVG.
- # [18:52] <TabAtkins> fantasai: Yes, it would replace those *in SVG*. You'd specify it on <svg>, not on <img>.
- # [18:52] <TabAtkins> fantasai: Or <object>, or containing document, and expecting SVG to somehow pick that up.
- # [18:53] <TabAtkins> Leif: I think it shoudl be possible to do this from CSS.
- # [18:53] <TabAtkins> szilles: That means changing the plugin interface.
- # [18:53] <TabAtkins> Leif: Isn't CSS already cascaded from the document to SVG?
- # [18:53] <TabAtkins> several: no
- # [18:53] <TabAtkins> ChrisL: Basically if you have an HTML that links to SVG, it doesn't cascade. But if you have svg-in-html, then it cascades.
- # [18:55] <TabAtkins> TabAtkins: I like the distinction that ChrisL outlines, though I do think that we should be able to specify cascading across links.
- # [18:55] <TabAtkins> Leif: Yeah, I think we all want that.
- # [18:56] <TabAtkins> fantasai: Though with that, you'd still have to specify image-fit on the linked <svg>.
- # [18:56] * Bert my browser opens an external viewer for <object data=video>... :-)
- # [18:56] <ChrisL> Tab, I'd like the additional values as well to force cascading over a link. I was just saying we don't have that currently despite it being asked for every so often
- # [18:57] <fantasai> s/<svg>/<svg> element/
- # [18:57] <TabAtkins> howcome: We still need it for <object> for video.
- # [18:57] <TabAtkins> TabAtkins: Is there video-in-<object> on the web that isn't using a plugin, and thus subject to the "here's a box, do what you want" rule?
- # [18:57] <TabAtkins> szilles: I'm against anything that makes assumptions on impl.
- # [18:58] <TabAtkins> howcome: I think if we specify "video is this way, still is that way" is good.
- # [18:59] <TabAtkins> TabAtkins: But video-in-<object> uses plugins, and video-in-<video> can be targeted with a UA rule. Where is the video content that needs a special auto value?
- # [18:59] <TabAtkins> howcome: I think there is video content in objects and <img>s.
- # [19:00] <TabAtkins> fantasai: I think we have a definition for how auto should work *if* it is specified, and a question of whether it should be added.
- # [19:00] <TabAtkins> fantasai: So, image-fit auto means "pick the value of image-fit based on the media type; specifically, video/* is contain, everything else as fill"
- # [19:00] <fantasai> image-fit: auto means pick a value of image fit based on the media type -- specifically, video/* gets treated as contain, all others as fill, and interaction model defined in >
- # [19:01] <fantasai> >
- # [19:01] <fantasai> http://lists.w3.org/Archives/Public/www-style/2010Feb/0164.html
- # [19:01] <fantasai> applies
- # [19:02] <TabAtkins> Leif: So could we add it to a spec, with a note that it may get removed?
- # [19:02] <fantasai> fantasai: which spec?
- # [19:02] <TabAtkins> TabAtkins: Well, it's a simple question to answer first - is there video on the web not done with plugins or <video>?
- # [19:02] <TabAtkins> fantasai: Question is which spec?
- # [19:02] <TabAtkins> fantasai: I'd like to move it to Images.
- # [19:02] <TabAtkins> fantasai: I think it makes more sense, and we can publish changes.
- # [19:03] <lstorset> s/Leif/HÃ¥kon
- # [19:03] <TabAtkins> szilles: That confused it further with things that aren't images.
- # [19:03] <TabAtkins> Bert: Replaced Content spec?
- # [19:03] <TabAtkins> fantasai: Needs work. ^_^
- # [19:03] <TabAtkins> szilles: Can you put a note in the Image spec that this may make more sense in a Replaced Content spec?
- # [19:04] <TabAtkins> plinss: Do we have consensus on whether to add it or not?
- # [19:04] <TabAtkins> TabAtkins: I still want to see if it's actually needed or not.
- # [19:04] <TabAtkins> ChrisL: It seems easier to talk about it in the concrete with it in the spec, so we can talk about it.
- # [19:04] <TabAtkins> Bert: I'm in favor of putting it in, with that note.
- # [19:04] <Zakim> -Hakon_Lie
- # [19:05] <Zakim> -smfr
- # [19:05] <Zakim> -[IPcaller]
- # [19:05] * Quits: glazou (glazou@82.247.96.19) (Quit: glazou)
- # [19:05] <Zakim> -[Microsoft]
- # [19:05] <Zakim> -[Mozilla]
- # [19:05] <Zakim> -SteveZ
- # [19:05] <Zakim> -glazou
- # [19:05] <Zakim> -lstorset
- # [19:05] <TabAtkins> RESOLVED: fantasai to add image-fit:auto, and moving the property to Images, marking it as possibly moved again or removed in the future.
- # [19:06] * Quits: smfr (smfr@68.183.233.11) (Quit: smfr)
- # [19:06] <Zakim> -TabAtkins
- # [19:06] <Zakim> -plinss
- # [19:07] <Zakim> -sylvaing
- # [19:07] <Zakim> -Bert
- # [19:07] * Quits: bradk (bradk@67.188.133.45) (Quit: Get MacIrssi - http://www.sysctl.co.uk/projects/macirssi/ )
- # [19:07] <Zakim> -bradk
- # [19:10] * Quits: lstorset (lstorset@213.236.208.22) (Quit: Leaving.)
- # [19:11] * Quits: ChrisL (ChrisL@128.30.52.169) (Quit: Fire on main board error, client combusted)
- # [19:12] <Zakim> disconnecting the lone participant, ??P3, in Style_CSS FP()12:00PM
- # [19:12] <Zakim> Style_CSS FP()12:00PM has ended
- # [19:12] <Zakim> Attendees were plinss, +0472369aaaa, lstorset, sylvaing, +1.253.307.aabb, dethbakin, smfr, bradk, glazou, TabAtkins, Hakon_Lie, Bert, [IPcaller], SteveZ, dbaron, [Microsoft]
- # [19:16] * Quits: sylvaing (sylvaing@76.104.131.10) (Ping timeout)
- # [19:17] <TabAtkins> "SVG in <img> is rendered like 'image-fit: contain'"
- # [19:18] <TabAtkins> Does it act differently than if you do SVG in <object>?
- # [19:50] * Joins: sylvaing (sylvaing@131.107.0.101)
- # [20:00] * Quits: sylvaing (sylvaing@131.107.0.101) (Ping timeout)
- # [20:05] * Joins: sylvaing (sylvaing@131.107.0.101)
- # [20:49] * Zakim excuses himself; his presence no longer seems to be needed
- # [20:49] * Parts: Zakim (rrs-bridgg@128.30.52.30)
- # [21:05] * Quits: dbaron (dbaron@63.245.220.240) (Quit: 8403864 bytes have been tenured, next gc will be global.)
- # [21:41] * Quits: sylvaing (sylvaing@131.107.0.101) (Ping timeout)
- # [22:02] * Quits: shepazu (schepers@128.30.52.169) (Ping timeout)
- # [22:22] * Joins: Lachy (Lachlan@85.196.122.246)
- # [22:22] * Quits: Lachy (Lachlan@85.196.122.246) (Client exited)
- # [22:22] * Joins: Lachy (Lachlan@85.196.122.246)
- # [23:25] * Joins: shepazu (schepers@128.30.52.169)
- # [23:35] * Quits: shepazu (schepers@128.30.52.169) (Quit: shepazu)
- # Session Close: Thu Mar 04 00:00:00 2010
The end :)