/irc-logs / w3c / #css / 2015-10-08 / end

Options:

Previous day, Next day

  1. # Session Start: Thu Oct 08 00:00:00 2015
  2. # Session Ident: #css
  3. # [00:02] * Quits: gregdavis (~udavig4@public.cloak) (gregdavis)
  4. # [00:07] * Quits: rego (~smuxi@public.cloak) (Client closed connection)
  5. # [00:10] * Joins: jcraig (~jcraig@public.cloak)
  6. # [00:14] * Joins: rego (~smuxi@public.cloak)
  7. # [00:15] * Quits: SteveZ (~SteveZ@public.cloak) (Ping timeout: 180 seconds)
  8. # [00:17] * Quits: zcorpan (~zcorpan@public.cloak) (Client closed connection)
  9. # [00:19] * Joins: jcraig_ (~jcraig@public.cloak)
  10. # [00:20] * Joins: antonp (~Thunderbird@public.cloak)
  11. # [00:20] * Quits: jcraig_ (~jcraig@public.cloak) (jcraig_)
  12. # [00:21] * Joins: jcraig_ (~jcraig@public.cloak)
  13. # [00:23] * Quits: jcraig (~jcraig@public.cloak) (Ping timeout: 180 seconds)
  14. # [00:23] * jcraig_ is now known as jcraig
  15. # [00:27] * Quits: jcraig (~jcraig@public.cloak) (jcraig)
  16. # [00:37] <fantasai> TabAtkins: The entirety of the terms index in the snapshot is linking to the EDs
  17. # [00:37] <fantasai> I'm pretty sure at least some of them have corresponding TR anchors :)
  18. # [00:37] <TabAtkins> kk, will check it out in a bit
  19. # [00:37] <fantasai> I tossed a copy of the Snapshot to Bert, but commented out the indices
  20. # [00:38] <fantasai> Goal being to have *something* up with the new text, so we can fix the boilerplate
  21. # [00:38] <fantasai> while we work on getting all the indices to generate correctly
  22. # [00:38] <TabAtkins> Yup, seems fine to me.
  23. # [00:40] <fantasai> plinss: Can we get permission to republish Display by, say, Friday?
  24. # [00:40] <fantasai> plinss: Would like to put it in the pipeline for Tuesday
  25. # [00:41] * fantasai thinks we could do this over email, there's really nothing substantive
  26. # [00:44] <plinss> fantasai: sure, will send cfc email, is the changes section up to date?
  27. # [00:45] <fantasai> I'll check real quick, but https://lists.w3.org/Archives/Member/w3c-css-wg/2015OctDec/0021.html is up to date
  28. # [00:50] <fantasai> plinss: Thanks!
  29. # [00:50] <plinss> np
  30. # [00:52] * Joins: Florian (~Florian@public.cloak)
  31. # [00:57] <fantasai> TabAtkins: Is having <a>fragment</a> throw warnings because it's a term defined in the URL spec Works As Intended?
  32. # [00:57] <TabAtkins> Yes.
  33. # [00:58] <TabAtkins> Link warnings happen more often as we add more specs to the db and get more collisions.
  34. # [00:58] <fantasai> TabAtkins: Would it be terrible to let it default to thinks within a WG without warning?
  35. # [00:58] <TabAtkins> Unfortunately.
  36. # [00:58] <fantasai> s/thinks/things/
  37. # [00:58] <TabAtkins> Yes - we've had this discussion in the issue tracker before. ^_^
  38. # [00:59] <fantasai> TabAtkins: If "start" "end" or "box" end up on the warning-trigger-list, I think we need to rethink the strategy
  39. # [00:59] <fantasai> TabAtkins: but I'll fix fragments manually for now
  40. # [00:59] <TabAtkins> Sure.
  41. # [00:59] <TabAtkins> Just do a link default, obvs.
  42. # [00:59] * Quits: Florian (~Florian@public.cloak) (Ping timeout: 180 seconds)
  43. # [00:59] * fantasai can never remember the syntax
  44. # [01:00] <TabAtkins> Teh error message gives it to you!
  45. # [01:00] <fantasai> Oh,that's a different one than the other one
  46. # [01:00] <fantasai> There's ... two, right?
  47. # [01:01] <TabAtkins> Yeah, one in the metadata, and one in a spearate block.
  48. # [01:01] <fantasai> kk
  49. # [01:01] <TabAtkins> I messed up with the metadata one, and designed a bad syntax.
  50. # [01:02] * fantasai isn't sure the new one is much better
  51. # [01:02] <TabAtkins> The separate block uses my standard InfoTree syntax, which is extensible.
  52. # [01:02] <TabAtkins> Now it's just key/values. You have to remember the keys, but not the arbitrary syntax ordering.
  53. # [01:02] <TabAtkins> And it looks like CSS ^_^
  54. # [01:02] <fantasai> nah
  55. # [01:03] <fantasai> css-backgrounds-3 { values: fixed, local; terms: background paintin garea; } would look like CSS
  56. # [01:03] <fantasai> ^_^
  57. # [01:04] * fantasai would probably find that easier to remember, she isn't sure how to add more values now other than duplicating everything
  58. # [01:04] * Quits: lajava (~javi@public.cloak) (Ping timeout: 180 seconds)
  59. # [01:04] <TabAtkins> That's the part that's not like CSS. It's instead like Python.
  60. # [01:04] <TabAtkins> Just nest and indent.
  61. # [01:05] <TabAtkins> Stuff higher in the "block" is shared by everything nested underneath.
  62. # [01:05] * fantasai prefers the CSS syntax, more DRY
  63. # [01:06] <TabAtkins> It's not as extensible - now, for each link text, figure out hwo to specify a "for" value for it.
  64. # [01:06] <TabAtkins> Triplets aren't enough, which is what I messed up earlier.
  65. # [01:06] <fantasai> same way as '' '' then
  66. # [01:07] <fantasai> But yeah
  67. # [01:08] <TabAtkins> WebKit has the "normal" mandatory behavior.
  68. # [01:08] <TabAtkins> You can flick past things, it just forces you to stop on one of them.
  69. # [01:09] <TabAtkins> http://software.hixie.ch/utilities/js/live-dom-viewer/saved/3669
  70. # [01:09] <fantasai> okay
  71. # [01:09] * Joins: jcraig (~jcraig@public.cloak)
  72. # [01:09] * fantasai will reboot and check IE for you
  73. # [01:09] <TabAtkins> danke
  74. # [01:10] <fantasai> TabAtkins: Does it support proximity?
  75. # [01:11] <fantasai> TabAtkins: also need to check 1D vs. 2D snapping behavior (put two snapped boxes far away on a diagonal)
  76. # [01:11] * Joins: estellevw (~estellevw@public.cloak)
  77. # [01:11] <fantasai> (bottom right one off-screen to the right)
  78. # [01:12] * fantasai starts shutting down
  79. # [01:13] <TabAtkins> Nope, they only do mandatory.
  80. # [01:16] * Joins: adenilson (~anonymous@public.cloak)
  81. # [01:17] * Joins: zcorpan (~zcorpan@public.cloak)
  82. # [01:18] <fantasai> oh
  83. # [01:18] <fantasai> I don't have a touchscreen
  84. # [01:18] * Joins: jdaggett (~jdaggett@public.cloak)
  85. # [01:18] * fantasai doesn't know how to test this
  86. # [01:23] <fantasai> TabAtkins: Apparently I'd need to upgrade the OS to test :|
  87. # [01:24] * Quits: antonp (~Thunderbird@public.cloak) (antonp)
  88. # [01:24] <fantasai> TabAtkins: and, there really isn't any space left on my windows partition for that >_<
  89. # [01:24] <TabAtkins> np, we'll deal with it later.
  90. # [01:25] * Quits: zcorpan (~zcorpan@public.cloak) (Ping timeout: 180 seconds)
  91. # [01:25] * fantasai takes the opportunity to install windows updates and reboot again...
  92. # [01:31] <TabAtkins> Hmmmmm, their implementation of -coordinate/-destination doesn't seem to work?
  93. # [01:32] <TabAtkins> At least, I couldn't get it to work, and also I just beachballed the browser while typing.
  94. # [01:32] * Quits: tommyjtl (~tommyjtl@public.cloak) (Client closed connection)
  95. # [01:33] <fantasai> They don't have one
  96. # [01:33] <fantasai> They have a weird other syntax
  97. # [01:33] <TabAtkins> They... claim to?
  98. # [01:33] <TabAtkins> https://www.webkit.org/blog/4017/scroll-snapping-with-css-snap-points/
  99. # [01:33] <fantasai> oh, webkit you mean
  100. # [01:33] * fantasai thought you meant msft
  101. # [01:36] <fantasai> No idea! Ask smfr?
  102. # [01:36] <TabAtkins> Ah, found a test page with working examlpes.
  103. # [01:36] <TabAtkins> They do 2d snapping correctly.
  104. # [01:36] <TabAtkins> (all at once)
  105. # [01:37] <TabAtkins> That said, their implementation is super bad, and somehow leaks some scroll momentum out of the container into the rest of the page.
  106. # [01:37] <TabAtkins> So if you try to flick-scroll in a container element that uses snap points, it'll scroll the page a little bit, too.
  107. # [01:37] <fantasai> weird
  108. # [01:38] <TabAtkins> Le sigh.
  109. # [01:38] * Quits: jcraig (~jcraig@public.cloak) (jcraig)
  110. # [01:39] * fantasai ran out of space trying to windows update and is now trying to solve that problem
  111. # [01:40] * Joins: jcraig (~jcraig@public.cloak)
  112. # [01:41] <TabAtkins> Oh, cool, here's a detail we should capture:
  113. # [01:42] <TabAtkins> if mandatory snapping, and the most appropriate snap point is such that snapping to it would overscroll you, snap to it *as much as possible in each axis*.
  114. # [01:42] <fantasai> good call
  115. # [01:42] <TabAtkins> They've got some centered images here, and the ones on the edges can'ta ctually center, as that would overscroll the container.
  116. # [01:42] <fantasai> right
  117. # [01:42] <fantasai> They also mention clamping the scroll-snap-points-x/y properties to the scrollable area
  118. # [01:42] <TabAtkins> I'll put it in the mechanics section.
  119. # [01:43] <fantasai> that also needs to be mentioned
  120. # [01:43] <TabAtkins> Ah yeah.
  121. # [01:44] <TabAtkins> Yo, I fixed the GitHub issues thing.
  122. # [01:44] <fantasai> Be worth mentioning in the issue about snapping to the edges of the scrollable area, that safari implements that automatically
  123. # [01:44] <fantasai> Cool, thanks :)
  124. # [01:46] <TabAtkins> Oh, do they?
  125. # [01:47] <fantasai> That's what it says in their post
  126. # [01:47] <fantasai> See Standards Compliance and Future Work
  127. # [01:48] <fantasai> last paragraph
  128. # [01:48] <fantasai> er, second to last
  129. # [01:48] <fantasai> second half
  130. # [01:49] <TabAtkins> Ah, indeed.
  131. # [01:49] <TabAtkins> Oh, didn't notice that they explicitly called out the "unreachable snap point" thing.
  132. # [01:49] <TabAtkins> I just noticed it in their behavior. ^_^
  133. # [01:51] <fantasai> Based on the description, it sounds like they generate snaplines across the whole canvas
  134. # [01:52] <fantasai> Which is a reasonably simple behavior, but not particularly useful.
  135. # [01:52] <TabAtkins> Right.
  136. # [01:52] <fantasai> We should specify that 1D snap positions are scoped to the viewport
  137. # [01:52] <TabAtkins> Already handled.
  138. # [01:52] <TabAtkins> 2d are, too.
  139. # [01:53] <fantasai> So if none of the scroll snap area is in the viewport, it's not considered a snap
  140. # [01:53] * Quits: tantek (~tantek@public.cloak) (tantek)
  141. # [01:53] <fantasai> No, I think we're not super clear on that... It's gotta be in the definition of valid snap position
  142. # [01:53] <fantasai> It's not a valid snap position to snap to a thing that's off-screen
  143. # [01:53] <TabAtkins> It's one of the #choosing bullet points.
  144. # [01:54] <fantasai> Yeah, I know what you're referring to :)
  145. # [01:54] <fantasai> Choosing is about which snap position you choose. I'm saying we didn't say clearly that a scroll position that's aligned to a 1D snap area isn't a valid snap position.
  146. # [01:55] <fantasai> if that snap area is offscreen
  147. # [01:55] <fantasai> Okay, updates installed, time to restart. I'll come up with an edit :)
  148. # [01:55] <TabAtkins> But... that's exactly what it says already.
  149. # [01:56] <TabAtkins> "should be ignored if their elements are sufficiently far outside..."
  150. # [02:00] <fantasai> Yeah, that's a different issue.
  151. # [02:00] <fantasai> also important to note
  152. # [02:00] <fantasai> but different issue.
  153. # [02:07] <TabAtkins> Okay, I don't understand the distinction.
  154. # [02:09] * fantasai will help you in a sec
  155. # [02:10] <fantasai> TabAtkins: https://hg.csswg.org/drafts/rev/f590c73d4ef9
  156. # [02:11] <fantasai> TabAtkins: That's hopefully clear, but if not, I'll try to explain more the distinction.
  157. # [02:11] <TabAtkins> That looks good, but yeah, I don't understand the distinction.
  158. # [02:12] * Quits: jcraig (~jcraig@public.cloak) (jcraig)
  159. # [02:13] <fantasai> The distinction is between what's a valid snap position, and which snap position we should choose.
  160. # [02:13] <fantasai> The text I added specifies that a thing that's off screen doesn't cause a snap
  161. # [02:13] * Joins: jcraig (~jcraig@public.cloak)
  162. # [02:13] <fantasai> The text you have specifies that a thing that's far off screen and not along the "corridor" is not a snap we should try to reach
  163. # [02:14] <TabAtkins> ...yes?
  164. # [02:14] <TabAtkins> Still not understanding what's different about that.
  165. # [02:14] <TabAtkins> It's literally "if the element generating the snap point is offscreen, don't snap to that snap point".
  166. # [02:14] <TabAtkins> That seems to be exactly what your section is saying, too.
  167. # [02:14] <fantasai> You're saying "don't snap to that position", I'm saying "it's not a snap position"
  168. # [02:15] * Quits: dbaron (~dbaron@public.cloak) (Ping timeout: 180 seconds)
  169. # [02:15] <fantasai> And yours is a should, not a must, with good reason
  170. # [02:15] <fantasai> It's up to the UA which snap position they choose
  171. # [02:15] <fantasai> But it's up to us to define what's a valid snap position
  172. # [02:15] <fantasai> and aligning an off-screen element is not a valid snap position
  173. # [02:16] <fantasai> If you want to choose that off-screen element to snap to
  174. # [02:16] <fantasai> you have to scroll over until it's at least somewhat on-screen in order to snap to it
  175. # [02:17] * Quits: jcraig (~jcraig@public.cloak) (jcraig)
  176. # [02:22] * Quits: adenilson (~anonymous@public.cloak) (adenilson)
  177. # [02:24] <TabAtkins> I fail to see the essential difference between "don't" and "invalid", but ok, whatever.
  178. # [02:24] <TabAtkins> Note its affect on mandatory, tho.
  179. # [02:26] <fantasai> Good point
  180. # [02:26] <fantasai> the difference is, without the text I added
  181. # [02:26] <fantasai> mandatory would create a mandatory snap point even if the element is off screen
  182. # [02:26] <fantasai> so if there were no other closer elements
  183. # [02:27] <fantasai> you'd snap to that off-screen element's top edge
  184. # [02:27] <fantasai> despite that it's off-screen
  185. # [02:27] <fantasai> With the text I added, that's not a valid place to snap
  186. # [02:27] <fantasai> because there's nothing to see
  187. # [02:27] <fantasai> so either you'll keep looking down the corridor much much further away
  188. # [02:28] <fantasai> or go backwards
  189. # [02:28] <fantasai> or scroll in both directions
  190. # [02:28] <TabAtkins> My text would *also* do that?
  191. # [02:28] <fantasai> no
  192. # [02:28] <fantasai> it wouldn't require scrolling in both directions in order to snap to the element
  193. # [02:28] <fantasai> it says "don't choose this element, go find another one that's better"
  194. # [02:31] <fantasai> without my text, if there are only off-screen elements and you're mandatory, you could snap to any of them while they're off-screen
  195. # [02:31] <fantasai> my text says there's no snap position available if all the elements are off-screen
  196. # [02:31] <fantasai> This is the scroll-snap-scope issue we discussed
  197. # [02:31] <TabAtkins> No, my text does that too.
  198. # [02:31] <TabAtkins> I'm seriously thinking you've misunderstood what my text says.
  199. # [02:32] <TabAtkins> (It does it with a "should", but that's the only diff.)
  200. # [02:35] <fantasai> also says "far offscreen"
  201. # [02:35] <TabAtkins> Sure. Lining up with something just a bit off seems fine.
  202. # [02:36] <fantasai> that you can't see at all?
  203. # [02:36] <TabAtkins> You'll see it when you align to it.
  204. # [02:36] <fantasai> even once it's snapped in?
  205. # [02:36] <fantasai> *right*
  206. # [02:36] <fantasai> That's my point
  207. # [02:36] <fantasai> We don't have text that says it's only snapped when it's on the screen
  208. # [02:36] <fantasai> if it's top-aligned, it could be 50000px off-screen and still top-aligned
  209. # [02:36] <fantasai> without the paragraph I added, it's still considered snapped
  210. # [02:37] <fantasai> even though it's off screen
  211. # [02:37] <fantasai> because it is off-screen but *nonetheless* top-aligned to the viewport
  212. # [02:37] <TabAtkins> ...but with my text, it would *also* be ignored if 50000px off-screen.
  213. # [02:38] <fantasai> okay, fine, 2px off-screen
  214. # [02:38] <fantasai> can't see even 1px of it
  215. # [02:38] <fantasai> your text doesn't say to necessarily ignore that -- it's close off-screen
  216. # [02:39] <fantasai> but it also doesn't say that in order to snap to that, you need to bring it into view
  217. # [02:39] <TabAtkins> Sure, but if you scroll a bit more, it'll be visible. I don't wanna lock down UA strategies too much.
  218. # [02:39] <TabAtkins> I only MUSTed when something was clearly wrong.
  219. # [02:39] <fantasai> no, if it's to the right of the viewport, scrolling down will not bring it into view
  220. # [02:40] <fantasai> but if it's off to the right and 10px down, scrolling down 10px will align its top to the viewport's top
  221. # [02:42] <TabAtkins> Okay, so if that's the sole difference you see ("outside" vs "far outside"), then okay.
  222. # [02:43] * Joins: tommyjtl (~tommyjtl@public.cloak)
  223. # [02:48] * Quits: tommyjtl (~tommyjtl@public.cloak) (Client closed connection)
  224. # [02:49] * Joins: tommyjtl (~tommyjtl@public.cloak)
  225. # [02:53] * Quits: tommyjtl (~tommyjtl@public.cloak) (Client closed connection)
  226. # [03:05] * Joins: Florian (~Florian@public.cloak)
  227. # [03:14] * Joins: dbaron (~dbaron@public.cloak)
  228. # [03:17] * fantasai waves to dbaron
  229. # [03:18] * dbaron waves back
  230. # [03:20] * Quits: Florian (~Florian@public.cloak) (Client closed connection)
  231. # [03:26] <fantasai> TabAtkins: Thoughts on the issue 9?
  232. # [03:27] <TabAtkins> ...what are "space travel" effects?
  233. # [03:28] <fantasai> Like imagine a giant black canvas (kinda like you do for slides sometimes)
  234. # [03:29] <fantasai> and there is some content at fairly far distances apart scattered throughout
  235. # [03:29] <fantasai> you want to snap to the next content thing, traversing all the blackness
  236. # [03:30] <fantasai> at high speed and without much fuss, and not having the UA let the wind out of your sails because it thought maybe you want to look at the blackness
  237. # [03:30] <fantasai> you could even use the geocities space background, for extra greatness
  238. # [03:31] <TabAtkins> That seems like a use-case that we shouldn't care about.
  239. # [03:31] <TabAtkins> As opposed to "mandatory, but snap-points were spaced out for a desktop screen, and work badly on mobile"
  240. # [03:32] <fantasai> That's why we have the overly large elements thing
  241. # [03:32] * Joins: tantek (~tantek@public.cloak)
  242. # [03:33] <TabAtkins> Regardless, "space travel" seems like a bizarre and ridiculous use-case to optimize for.
  243. # [03:33] <fantasai> I'm just re-imagining your slide decks, which kinda do that ^_^
  244. # [03:34] <TabAtkins> I'm willing to bet that bad cases of "overly spaced-out mandatory points that dont' hit the overly-large condition" are, like, 10000% more common than "space travel".
  245. # [03:34] <TabAtkins> My slide decks don't use snap-points. ^^;
  246. # [03:34] <fantasai> Because they weren't invented yet :D
  247. # [03:36] <fantasai> But if that's something you're concerned about, I think it goes in the definition of mandatory, not here
  248. # [03:36] <fantasai> It's "mandatory, but not if we think you're wrong"
  249. # [03:37] <fantasai> i.e. It's not so much about choosing snap points (which this section is about) as about how seriously we're taking "mandatory"
  250. # [04:06] * Quits: myles (~Adium@public.cloak) ("Leaving.")
  251. # [04:17] * Joins: zcorpan (~zcorpan@public.cloak)
  252. # [04:25] * Quits: zcorpan (~zcorpan@public.cloak) (Ping timeout: 180 seconds)
  253. # [04:50] * Quits: tantek (~tantek@public.cloak) (tantek)
  254. # [05:09] * Joins: myles (~Adium@public.cloak)
  255. # [05:19] * Joins: zcorpan (~zcorpan@public.cloak)
  256. # [05:24] * Quits: jdaggett (~jdaggett@public.cloak) (jdaggett)
  257. # [05:26] * Quits: zcorpan (~zcorpan@public.cloak) (Ping timeout: 180 seconds)
  258. # [05:31] * Quits: decadance (~decadance@public.cloak) (Ping timeout: 180 seconds)
  259. # [05:39] * Quits: estellevw (~estellevw@public.cloak) ("Snuggling with the puppies")
  260. # [05:40] * Joins: decadance (~decadance@public.cloak)
  261. # [06:09] * Joins: jdaggett (~jdaggett@public.cloak)
  262. # [06:24] * fantasai waves to jdaggett
  263. # [06:24] <fantasai> jdaggett: Will you be at TPAC?
  264. # [06:24] <jdaggett> greetings!
  265. # [06:24] <jdaggett> arrive sun eve, leave late tues aft
  266. # [06:25] <jdaggett> so only for mon/tues csswg meetings
  267. # [06:25] <fantasai> jdaggett: fair enough
  268. # [06:25] <jdaggett> having run right now with system fonts under OSX 10.11
  269. # [06:25] <liam> aww you'll miss halloween! (or, yay, you won't miss halloween :-) )
  270. # [06:26] <jdaggett> turns out the ‘system’ generic
  271. # [06:26] <fantasai> jdaggett: Any plans to draft up the Fonts 4 diffspec?
  272. # [06:26] <jdaggett> can’t be implemented without accessing private API’s
  273. # [06:26] <jdaggett> weee…
  274. # [06:26] <fantasai> :/
  275. # [06:26] <jdaggett> fun fun
  276. # [06:26] <fantasai> File a bug on dino to make them public :)
  277. # [06:27] <jdaggett> heh
  278. # [06:28] <jdaggett> well, need to get it to work first…
  279. # [06:28] <jdaggett> turns out for japanese, the OS effectively implements font-family: sys-font-en, sys-font-ja
  280. # [06:28] <jdaggett> :)
  281. # [06:29] <jdaggett> intending to do editing next week, including Fonts4 diffspec
  282. # [06:29] <fantasai> Do we have the ability to combine fonts like that with @font-face?
  283. # [06:29] <fantasai> cool!
  284. # [06:29] * fantasai forgets
  285. # [06:29] <jdaggett> combine means what?
  286. # [06:29] <fantasai> I remember combining them with unicode-range
  287. # [06:30] <fantasai> e.g. you can @font-face system { unicode-range: <english stuff>; } @font-face system { unicode-range: <japanese stuff>; } to combine two different fonts into one "family", right?
  288. # [06:30] <jdaggett> <div lang=“ja” style=“font-family: myfont, system”>?
  289. # [06:30] <jdaggett> hmmm
  290. # [06:31] <jdaggett> fantasai’s new @font-face syntax…?
  291. # [06:31] <jdaggett> go for it!!
  292. # [06:31] * fantasai can't remember it at all
  293. # [06:31] <jdaggett> no, can’t “override” generics via @font-face
  294. # [06:31] <fantasai> right, right
  295. # [06:31] <fantasai> but
  296. # [06:31] <fantasai> s/system/foo/
  297. # [06:31] <fantasai> But, is what Apple does sometihng like that?
  298. # [06:32] <fantasai> or is it "if the system-font-en is missing glyphs, then use system-font-ja"/
  299. # [06:32] <fantasai> ?
  300. # [06:32] <jdaggett> keep in mind you don’t really *need* unicode-range to make fontlists that are a composite set of fonts
  301. # [06:33] <jdaggett> e.g. font-family: latin-font, ja-font
  302. # [06:33] <fantasai> Yes
  303. # [06:33] <jdaggett> will use Latin glyphs from latin-font, japanese glyphs from ja-font
  304. # [06:33] <fantasai> do you need them to make a composite set of fonts referenced by a single name?
  305. # [06:33] <fantasai> or can we also combine by fallback
  306. # [06:33] <jdaggett> hmmm
  307. # [06:34] <jdaggett> the problem under OSX is that there’s no simple API call to say “tell me the system font for ja”
  308. # [06:35] <jdaggett> you can only ask for the “font cascade” for the system font
  309. # [06:35] <jdaggett> and the CJK prioritization isn’t done, J is always favored
  310. # [06:36] <jdaggett> that’s the part that requires a private API
  311. # [06:36] <jdaggett> :(
  312. # [06:37] <jdaggett> so under the covers, lang=zh-Hans, font-family: system, is kinda complicated :D
  313. # [06:39] <jdaggett> weeee...
  314. # [06:39] <fantasai> File a bug on myles to add an API to make it straightforward? :)
  315. # [06:39] <fantasai> I mean, he wanted it in the spec, he should make it easy to implement ;)
  316. # [06:39] <jdaggett> yeah
  317. # [06:40] <myles> hrm
  318. # [06:40] <jdaggett> oh, hi myles
  319. # [06:40] <myles> jdaggett: it will be nice to meet you in person at TPAC
  320. # [06:40] <jdaggett> yes! i’ll be there…
  321. # [06:41] <myles> jdaggett: i saw when you said earlier :)
  322. # [06:41] <myles> jdaggett: please let me know if you have trouble with system fonts on OS X! :D
  323. # [06:42] <jdaggett> sure, will do
  324. # [06:42] <jdaggett> long and short of it is that I think CTFontCopyDefaultCascadeListForLanguages needs to be public
  325. # [06:42] <myles> mmmm
  326. # [06:43] <jdaggett> otherwise no way to get the correct behavior with CTFontCreateForString
  327. # [06:43] <myles> jdaggett: what are you trying to do?
  328. # [06:43] <jdaggett> when lang=zh-Hans
  329. # [06:43] <jdaggett> implement correct fallback for system fonts
  330. # [06:44] <myles> i haven't done that yet in webkit x.x
  331. # [06:44] <jdaggett> not too hard but need that magic CoreText private call I think…
  332. # [06:45] <myles> jdaggett: i can't speak for CoreText, but i think you should file that request as a radar and i'll make sure that team knows about it
  333. # [06:46] <jdaggett> okay, I’ll see if I can get it to work for us, then file a radar bug
  334. # [06:46] <myles> jdaggett: thanks :) please let me know the id of the bug you file
  335. # [06:46] <myles> you have my email
  336. # [06:46] <jdaggett> sure
  337. # [06:46] <jdaggett> yup
  338. # [06:46] <jdaggett> the semantics of ‘system’ are going to be a bit hard to define I think
  339. # [06:46] <myles> you were on the call when we discussed them c.c
  340. # [06:47] <jdaggett> it’s not simply “use the system font for lang”
  341. # [06:47] <jdaggett> under OSX it’s really “use the font cascade for lang” which is subtlely different
  342. # [06:47] * Quits: rego (~smuxi@public.cloak) (Client closed connection)
  343. # [06:48] <myles> my idea, which i don't know if it will work or not, is to essentially treat "system" as a macro for the full list of fonts
  344. # [06:48] <myles> and to use the SPI you mentioned earlier
  345. # [06:48] <myles> but i haven't done it so i don't have any information
  346. # [06:48] <jdaggett> right, that will work
  347. # [06:49] <myles> the only weird thing about that is
  348. # [06:49] <myles> there are 20-some odd fonts in any CoreText fallback chain
  349. # [06:49] <jdaggett> yep
  350. # [06:49] <myles> and CoreText fallback chains in general are expected to cover pretty much all unicode code points
  351. # [06:49] <myles> which means if you say "system, foo" the foo will pretty much never be used
  352. # [06:49] <myles> which …. i guess is expected
  353. # [06:50] * Joins: estellevw (~estellevw@public.cloak)
  354. # [06:50] <myles> anyway, i have a bug to implement this stuff, so we'll see when i can carve out time to work on it
  355. # [06:51] <jdaggett> yes, but effectively OSX *always* uses the default Latin font for other scripts, so digits in Japanese UI appear in San Francisco, not in .Hiragino Kaku Gothic UI
  356. # [06:52] <jdaggett> so i guess that ‘system’ is just defined loosely to mean “use the platform-defined set of fonts used for a given locale”
  357. # [06:54] <myles> so, i've always wanted to ask, does mozilla have an office in japan?
  358. # [06:55] <jdaggett> yep!
  359. # [06:55] * Joins: gregdavis (~udavig4@public.cloak)
  360. # [06:55] <jdaggett> only 15 or so of us here but it’s cozy
  361. # [06:56] * Joins: rego (~smuxi@public.cloak)
  362. # [06:57] * Quits: rego (~smuxi@public.cloak) (Client closed connection)
  363. # [06:58] <myles> so cool :)
  364. # [06:59] <myles> jdaggett: are all 15 of you engineers?
  365. # [06:59] <jdaggett> complete with a drill press, always handy for browser development…
  366. # [06:59] <myles> lolol really
  367. # [06:59] <jdaggett> about half are engineers, rest marketing and non-profit related activities
  368. # [07:00] <jdaggett> the drill press is part of the “maker” effort here
  369. # [07:00] <myles> jdaggett: oh i really enjoyed https://vimeo.com/132748238
  370. # [07:01] <myles> good job 👍
  371. # [07:01] <jdaggett> oh cool!
  372. # [07:02] <jdaggett> yeah, i was happy how it went
  373. # [07:02] <myles> :)
  374. # [07:02] <myles> jdaggett: bahaha i just saw this now https://twitter.com/nattokirai/status/646858484785418240
  375. # [07:03] <myles> jdaggett: i just did some work on that today, actually
  376. # [07:03] <jdaggett> great!!
  377. # [07:03] <myles> i committed a TrueType font for testing
  378. # [07:03] <jdaggett> yeah, saw that bug
  379. # [07:03] <myles> you have CC'ed yourself on all my bugs ;-)
  380. # [07:04] <jdaggett> i was surprised you were writing fonts in c++
  381. # [07:04] <jdaggett> yup!
  382. # [07:04] <myles> how else would you write them?
  383. # [07:04] <myles> surely not by hand
  384. # [07:04] * Zakim myles, you typed too many words without commas; I suspect you forgot to start with 'to ...'
  385. # [07:04] <myles> Zakim: what
  386. # [07:04] <jdaggett> fonttools ttx
  387. # [07:04] <jdaggett> wonderful python package
  388. # [07:04] <myles> yeah, i could have used a tool
  389. # [07:04] <myles> but … i dunno
  390. # [07:04] <myles> that's not really how i fly
  391. # [07:04] * Joins: rego (~smuxi@public.cloak)
  392. # [07:05] <myles> :/
  393. # [07:05] <jdaggett> heh
  394. # [07:05] <myles> i actually find it valuable to understand each byte in the file
  395. # [07:05] <myles> maybe i am misguided
  396. # [07:05] <myles> :/
  397. # [07:05] <jdaggett> well, hard to get everything just right
  398. # [07:06] <myles> anyway, without commenting on future releases, i really hope i can finish font-feature-settings and font-variant-* …. soon
  399. # [07:06] <jdaggett> ttx is really useful for taking an existing font and adding or tweaking features
  400. # [07:06] <jdaggett> yup, looking forward to it
  401. # [07:06] <myles> (having the source to CoreText makes it much easier to make fonts my way haha......)
  402. # [07:06] <jdaggett> heh
  403. # [07:07] <myles> though honestly i should read harfbuzz
  404. # [07:07] <myles> that link you gave me to the coverage API in harfbuzz was very helpful
  405. # [07:07] * Quits: rego (~smuxi@public.cloak) (Client closed connection)
  406. # [07:07] <jdaggett> well, knowing both is handy for comparisons
  407. # [07:07] <myles> yes
  408. # [07:08] <myles> and you are right, CoreText currently does not expose anything relating to coverage tables as API
  409. # [07:08] <myles> so this is my battle
  410. # [07:09] <jdaggett> yeah, seems like the NSFont/CoreText API’s for system fonts is a work-in-progress
  411. # [07:09] <myles> no comment
  412. # [07:09] <jdaggett> heh
  413. # [07:09] <jdaggett> there was one API that was discussed at WWDC that’s not public yet… :P
  414. # [07:09] <myles> which one?
  415. # [07:10] <jdaggett> [NSFont systemFontOfSize:weight:]
  416. # [07:10] <myles> that's not public?
  417. # [07:10] * Joins: tommyjtl (~tommyjtl@public.cloak)
  418. # [07:10] <jdaggett> not in any header I’ve found
  419. # [07:10] <myles> :(
  420. # [07:11] <myles> well, yet again
  421. # [07:11] <myles> i cannot speak for CoreText
  422. # [07:11] <jdaggett> you can seen it in the symbol dump...
  423. # [07:11] <myles> "symbol dump" is probably my queue to change the topic of conversation
  424. # [07:11] <jdaggett> yep :D
  425. # [07:12] <myles> anyway, i'm going to head off
  426. # [07:12] <jdaggett> ok, cool
  427. # [07:12] <jdaggett> have a good one
  428. # [07:12] <myles> jdaggett: please do not hesitate to file radars on me, i really will read them i promise
  429. # [07:12] <myles> (i know many people don't think we do)
  430. # [07:12] <jdaggett> great!!
  431. # [07:12] <myles> also: buzilla bugs mean you can follow along with progress, so you might perfer those hahaha
  432. # [07:13] <myles> *prefer
  433. # [07:13] <jdaggett> right, understood
  434. # [07:14] <jdaggett> my experience with radar bugs is that someone in india does the triaging…
  435. # [07:14] <jdaggett> but i’ll try again
  436. # [07:14] <myles> no comment c.c
  437. # [07:14] <myles> but !!
  438. # [07:14] <jdaggett> heh
  439. # [07:14] <myles> if you tell me about them
  440. # [07:14] <myles> i can make sure …. good things happen
  441. # [07:15] <myles> :X
  442. # [07:15] <jdaggett> excellent!!
  443. # [07:15] * Joins: gregdavis_ (~udavig4@public.cloak)
  444. # [07:15] <myles> have a good night (day?) jdagget
  445. # [07:15] <myles> byebe
  446. # [07:15] <myles> *bye
  447. # [07:16] * Joins: rego (~smuxi@public.cloak)
  448. # [07:16] <myles> ****jdaggett
  449. # [07:17] <jdaggett> later
  450. # [07:19] * Quits: gregdavis (~udavig4@public.cloak) (Ping timeout: 180 seconds)
  451. # [07:19] * gregdavis_ is now known as gregdavis
  452. # [07:23] * Quits: tommyjtl (~tommyjtl@public.cloak) (Client closed connection)
  453. # [07:29] * Joins: johanneswilm (~johannes@public.cloak)
  454. # [07:39] * Quits: rego (~smuxi@public.cloak) (Client closed connection)
  455. # [07:47] * Joins: rego (~smuxi@public.cloak)
  456. # [08:02] * Quits: dbaron (~dbaron@public.cloak) ("8403864 bytes have been tenured, next gc will be global.")
  457. # [08:17] * Joins: zcorpan (~zcorpan@public.cloak)
  458. # [08:25] * Quits: zcorpan (~zcorpan@public.cloak) (Ping timeout: 180 seconds)
  459. # [08:27] * Joins: tommyjtl (~tommyjtl@public.cloak)
  460. # [08:33] * Joins: zcorpan (~zcorpan@public.cloak)
  461. # [08:33] * Quits: tommyjtl (~tommyjtl@public.cloak) (Client closed connection)
  462. # [08:40] * Quits: estellevw (~estellevw@public.cloak) ("Snuggling with the puppies")
  463. # [08:47] * Joins: tommyjtl (~tommyjtl@public.cloak)
  464. # [08:47] * Quits: tommyjtl (~tommyjtl@public.cloak) (Client closed connection)
  465. # [08:47] * Joins: tommyjtl (~tommyjtl@public.cloak)
  466. # [08:51] * Quits: gregdavis (~udavig4@public.cloak) (Client closed connection)
  467. # [09:03] * Quits: johanneswilm (~johannes@public.cloak) (Ping timeout: 180 seconds)
  468. # [09:06] * Quits: tommyjtl (~tommyjtl@public.cloak) (Client closed connection)
  469. # [09:11] * Joins: tommyjtl (~tommyjtl@public.cloak)
  470. # [09:13] * Joins: antonp (~Thunderbird@public.cloak)
  471. # [09:18] * Quits: tommyjtl (~tommyjtl@public.cloak) (Client closed connection)
  472. # [09:19] * Joins: tommyjtl (~tommyjtl@public.cloak)
  473. # [09:32] * Joins: Ms2ger (~Ms2ger@public.cloak)
  474. # [09:58] <zcorpan> fantasai: how do you explain https://github.com/w3c/csswg-drafts/commit/7fdebce23887f5e8e9ef2964611aa169e8315476#diff-dddabab940a9a268f9d0c18889cc48ebR76 ? it makes the alt text unreadable :-)
  475. # [10:00] * Quits: jdaggett (~jdaggett@public.cloak) (jdaggett)
  476. # [10:11] * Joins: lajava (~javi@public.cloak)
  477. # [10:16] * Joins: Florian (~Florian@public.cloak)
  478. # [10:25] * Quits: tommyjtl (~tommyjtl@public.cloak) (Client closed connection)
  479. # [10:52] <zcorpan> https://github.com/w3c/csswg-drafts/pull/57
  480. # [10:59] * Quits: Florian (~Florian@public.cloak) (Client closed connection)
  481. # [11:07] * Quits: myakura (~myakura@public.cloak) ("Leaving...")
  482. # [11:42] * Joins: antonp1 (~Thunderbird@public.cloak)
  483. # [11:45] * Quits: antonp (~Thunderbird@public.cloak) (Ping timeout: 180 seconds)
  484. # [11:45] * antonp1 is now known as antonp
  485. # [13:37] * Joins: jdaggett (~jdaggett@public.cloak)
  486. # [14:07] * Joins: plh (plehegar@public.cloak)
  487. # [14:13] * Joins: tommyjtl (~tommyjtl@public.cloak)
  488. # [14:18] * Joins: tommyjtl_ (~tommyjtl@public.cloak)
  489. # [14:18] * Quits: tommyjtl (~tommyjtl@public.cloak) (Client closed connection)
  490. # [14:45] * Quits: tommyjtl_ (~tommyjtl@public.cloak) (Client closed connection)
  491. # [14:56] * Joins: dauwhe (~dauwhe@public.cloak)
  492. # [15:13] * Joins: shepazu_ (schepers@public.cloak)
  493. # [15:16] * Quits: shepazu (schepers@public.cloak) (Ping timeout: 180 seconds)
  494. # [15:21] * Joins: tommyjtl (~tommyjtl@public.cloak)
  495. # [15:21] * Quits: tommyjtl (~tommyjtl@public.cloak) (Client closed connection)
  496. # [15:21] * Joins: tommyjtl (~tommyjtl@public.cloak)
  497. # [15:42] * Quits: tommyjtl (~tommyjtl@public.cloak) (Client closed connection)
  498. # [15:42] * Joins: tommyjtl (~tommyjtl@public.cloak)
  499. # [15:45] * Quits: tommyjtl (~tommyjtl@public.cloak) (Client closed connection)
  500. # [15:45] * Joins: tommyjtl (~tommyjtl@public.cloak)
  501. # [16:13] * shepazu_ is now known as shepazu
  502. # [16:17] * Joins: Florian (~Florian@public.cloak)
  503. # [16:48] * Joins: bkardell_ (~uid10373@public.cloak)
  504. # [16:50] * Quits: Florian (~Florian@public.cloak) (Client closed connection)
  505. # [17:03] * Joins: adenilson (~anonymous@public.cloak)
  506. # [17:05] * Quits: rego (~smuxi@public.cloak) (Client closed connection)
  507. # [17:06] * Joins: Florian (~Florian@public.cloak)
  508. # [17:07] * Quits: jdaggett (~jdaggett@public.cloak) (Ping timeout: 180 seconds)
  509. # [17:13] * Joins: rego (~smuxi@public.cloak)
  510. # [17:14] * Quits: zcorpan (~zcorpan@public.cloak) (Client closed connection)
  511. # [17:15] * Joins: jdaggett (~jdaggett@public.cloak)
  512. # [17:42] * Quits: Ms2ger (~Ms2ger@public.cloak) (Ping timeout: 180 seconds)
  513. # [17:54] * Quits: lajava (~javi@public.cloak) (Ping timeout: 180 seconds)
  514. # [18:03] * Quits: dauwhe (~dauwhe@public.cloak) (Client closed connection)
  515. # [18:04] * Joins: dauwhe (~dauwhe@public.cloak)
  516. # [18:06] * Joins: shepazu_ (schepers@public.cloak)
  517. # [18:08] * Joins: shepazu__ (schepers@public.cloak)
  518. # [18:12] * Quits: shepazu (schepers@public.cloak) (Ping timeout: 180 seconds)
  519. # [18:14] * Quits: shepazu_ (schepers@public.cloak) (Ping timeout: 180 seconds)
  520. # [18:15] * shepazu__ is now known as shepazu
  521. # [18:30] * Quits: Florian (~Florian@public.cloak) (Client closed connection)
  522. # [18:44] * Joins: dbaron (~dbaron@public.cloak)
  523. # [19:19] * Joins: estellevw (~estellevw@public.cloak)
  524. # [19:21] * Quits: estellevw (~estellevw@public.cloak) ("Snuggling with the puppies")
  525. # [19:22] * Quits: rego (~smuxi@public.cloak) (Client closed connection)
  526. # [19:35] * Joins: rego (~smuxi@public.cloak)
  527. # [19:39] * Quits: rego (~smuxi@public.cloak) (Client closed connection)
  528. # [19:46] * Joins: rego (~smuxi@public.cloak)
  529. # [19:46] * Quits: rego (~smuxi@public.cloak) (Client closed connection)
  530. # [19:55] * Joins: rego (~smuxi@public.cloak)
  531. # [19:59] * Quits: bkardell_ (~uid10373@public.cloak) ("Connection closed for inactivity")
  532. # [19:59] * Quits: rego (~smuxi@public.cloak) (Client closed connection)
  533. # [20:02] <TabAtkins> Merged.
  534. # [20:06] * Joins: rego (~smuxi@public.cloak)
  535. # [20:08] * Quits: rego (~smuxi@public.cloak) (Client closed connection)
  536. # [20:11] * Quits: dbaron (~dbaron@public.cloak) ("8403864 bytes have been tenured, next gc will be global.")
  537. # [20:18] * Joins: rego (~smuxi@public.cloak)
  538. # [20:18] * Quits: rego (~smuxi@public.cloak) (Client closed connection)
  539. # [20:27] * Joins: rego (~smuxi@public.cloak)
  540. # [20:37] * Quits: rego (~smuxi@public.cloak) (Client closed connection)
  541. # [20:46] * Joins: rego (~smuxi@public.cloak)
  542. # [20:48] * Quits: rego (~smuxi@public.cloak) (Client closed connection)
  543. # [20:58] * Joins: rego (~smuxi@public.cloak)
  544. # [20:59] * Joins: zcorpan (~zcorpan@public.cloak)
  545. # [21:02] * Quits: rego (~smuxi@public.cloak) (Client closed connection)
  546. # [21:07] <zcorpan> TabAtkins: is css's default.css automatically mirrored to bikeshed's stylesheet.include, or is that a manual step?
  547. # [21:09] * Joins: rego (~smuxi@public.cloak)
  548. # [21:13] * Quits: rego (~smuxi@public.cloak) (Client closed connection)
  549. # [21:20] * Joins: rego (~smuxi@public.cloak)
  550. # [21:22] * Quits: rego (~smuxi@public.cloak) (Client closed connection)
  551. # [21:29] * Joins: rego (~smuxi@public.cloak)
  552. # [21:31] * Quits: tommyjtl (~tommyjtl@public.cloak) (Client closed connection)
  553. # [21:31] * Quits: rego (~smuxi@public.cloak) (Client closed connection)
  554. # [21:31] * Joins: tommyjtl (~tommyjtl@public.cloak)
  555. # [21:33] <TabAtkins> zcorpan: It's a manual step. I was gonna make the fix later today.
  556. # [21:34] <zcorpan> TabAtkins: ok, great
  557. # [21:35] <TabAtkins> And done.
  558. # [21:38] * Joins: rego (~smuxi@public.cloak)
  559. # [21:38] * Quits: tommyjtl (~tommyjtl@public.cloak) (Ping timeout: 180 seconds)
  560. # [21:40] * Quits: rego (~smuxi@public.cloak) (Client closed connection)
  561. # [21:48] * Joins: rego (~smuxi@public.cloak)
  562. # [21:49] * Joins: AndroUser (~androirc@public.cloak)
  563. # [21:49] * Quits: rego (~smuxi@public.cloak) (Client closed connection)
  564. # [21:57] * Joins: rego (~smuxi@public.cloak)
  565. # [22:02] * Quits: rego (~smuxi@public.cloak) (Client closed connection)
  566. # [22:08] * Joins: rego (~smuxi@public.cloak)
  567. # [22:08] <fantasai> zcorpan: No idea. That's clearly a bug
  568. # [22:08] <zcorpan> fantasai: fixed now :-)
  569. # [22:08] * Quits: rego (~smuxi@public.cloak) (Client closed connection)
  570. # [22:09] <zcorpan> TabAtkins: thx
  571. # [22:10] * AndroUser is now known as JonathanC
  572. # [22:17] * Joins: rego (~smuxi@public.cloak)
  573. # [22:18] * heycam|away is now known as heycam
  574. # [22:18] * Quits: rego (~smuxi@public.cloak) (Client closed connection)
  575. # [22:26] * Joins: rego (~smuxi@public.cloak)
  576. # [22:34] * Quits: antonp (~Thunderbird@public.cloak) (antonp)
  577. # [22:38] * Quits: rego (~smuxi@public.cloak) (Client closed connection)
  578. # [22:45] * Joins: rego (~smuxi@public.cloak)
  579. # [22:51] * Quits: rego (~smuxi@public.cloak) (Client closed connection)
  580. # [22:54] * Joins: lajava (~javi@public.cloak)
  581. # [22:58] * Joins: rego (~smuxi@public.cloak)
  582. # [22:58] * Joins: estellevw (~estellevw@public.cloak)
  583. # [22:58] * Quits: rego (~smuxi@public.cloak) (Client closed connection)
  584. # [23:05] * Quits: dauwhe (~dauwhe@public.cloak) (Client closed connection)
  585. # [23:09] * Joins: rego (~smuxi@public.cloak)
  586. # [23:11] * Quits: rego (~smuxi@public.cloak) (Client closed connection)
  587. # [23:18] * Joins: rego (~smuxi@public.cloak)
  588. # [23:18] * Quits: estellevw (~estellevw@public.cloak) ("Snuggling with the puppies")
  589. # [23:21] * Joins: dbaron (~dbaron@public.cloak)
  590. # [23:40] * Joins: estellevw (~estellevw@public.cloak)
  591. # [23:40] * heycam is now known as heycam|away
  592. # [23:40] * Quits: jdaggett (~jdaggett@public.cloak) (jdaggett)
  593. # [23:44] * Quits: estellevw (~estellevw@public.cloak) ("Snuggling with the puppies")
  594. # [23:46] * Quits: plh (plehegar@public.cloak) ("Leaving")
  595. # [23:53] * Joins: estellevw (~estellevw@public.cloak)
  596. # Session Close: Fri Oct 09 00:00:00 2015

Previous day, Next day

Think these logs are useful? Then please donate to show your gratitude (and keep them up, of course). Thanks! — Krijn