Re: [csswg-drafts] [css-values-4] Add vhc value (#4329)

The CSS Working Group just discussed `New viewport unit`, and agreed to the following:

* `RESOLVED: Add a set of viewport units (vhc for ex.) that reflect the size of the layout viewport less all UA UI`

<details><summary>The full IRC log of that discussion</summary>
&lt;fremy> Topic: New viewport unit<br>
&lt;RossenTheReal> github:https://github.com/w3c/csswg-drafts/issues/4329<br>
&lt;fremy> jensimmons: we have discussed this before<br>
&lt;fremy> jensimmons: we are trying to solve the issue on mobile where the viewport changes when you start scrolling<br>
&lt;fremy> jensimmons: (as the bottom bar retracts)<br>
&lt;fremy> jensimmons: you can work around this in javascript, but it's not possible to do in css<br>
&lt;fremy> jensimmons: proposal also includes taking into account the appearance of the keyboard<br>
&lt;fremy> florian: I think the top bar sometimes disappear as well in some OSes<br>
&lt;fremy> jensimmons: ah, good point<br>
&lt;fremy> jensimmons: and those things can keep changing<br>
&lt;fremy> jensimmons: (also, similar to the issue with vw and scrollbars)<br>
&lt;fremy> jensimmons: (maybe it's a different issue, but it's still good to keep it in mind)<br>
&lt;fremy> jensimmons: I am afraid redefining vh/vw might be too late by now, because authors have corrections<br>
&lt;fremy> jensimmons: sometimes we don't want things to resize as the viewport changes, too; we want everything to fit at start and that's it<br>
&lt;fremy> jensimmons: so we should provide all the units to authors, and it's on them to take a look<br>
&lt;fremy> jensimmons: at performance<br>
&lt;fremy> florian: so, we would have a unit that would represent the initial containing block?<br>
&lt;fremy> jensimmons: yes, this new unit would be static, and not change when the chrome changes<br>
&lt;fremy> jensimmons: VHC would be the same but with the chrome maximized<br>
&lt;florian> q+<br>
&lt;fremy> jensimmons: but we could also use an environment variable<br>
&lt;fremy> proposal summarized  below:<br>
&lt;fremy> &lt;link><br>
&lt;jensimmons> https://github.com/w3c/csswg-drafts/issues/4329#issuecomment-547551485<br>
&lt;myles> q+<br>
&lt;fantasai> s/&lt;link>/https://github.com/w3c/csswg-drafts/issues/4329#issuecomment-547551485/<br>
&lt;fremy> dbaron: I just wanted to ask, do we want to talk about keyboards when we talk about maximized chrome?<br>
&lt;fremy> jensimmons: I don't think so, it would only include the normal chrome<br>
&lt;fremy> jensimmons: but an environment variable might be better to handle the keyboard case<br>
&lt;RossenTheReal_> q?<br>
&lt;Zakim> dbaron, you wanted to ask if that includes virtual keyboards<br>
&lt;RossenTheReal_> ack dbaron<br>
&lt;fremy> TabAtkins: most of the times, you don't want your footer to reduce space when the keyboard appears<br>
&lt;fremy> TabAtkins: because content space is already tiny<br>
&lt;fremy> jensimmons: but some things might want to snap etc...<br>
&lt;astearns> my team's use case DOES want to get the reduced space. We want to position the input the keyboard is operating on to be right above the keyboard<br>
&lt;fremy> iank_: for example, adding an additional keyboard row<br>
&lt;fremy> dbaron: but switching keyboard would change the height of keyboards sometimes<br>
&lt;fremy> iank_: and some settings can cause the number bar to appear or not above the letters<br>
&lt;dbaron> s/keyboard/keyboard (between English and Chinese)/<br>
&lt;dbaron> s/settings/form input types/<br>
&lt;TabAtkins> q+<br>
&lt;RossenTheReal_> ack florian<br>
&lt;fremy> florian: I am confused at the idea that the animation concept would work<br>
&lt;fremy> florian: how do you switch between the values on scroll?<br>
&lt;fremy> fantasai: yeah, I don't think that work in practice, because the units are not meant to change the value of the units as you scroll up and down<br>
&lt;fremy> fantasai: because some units are used to compute font size etc and relayout during scroll sounds not great in general<br>
&lt;fremy> fantasai: environment variables are better because it makes it more clear it's gonna change dynamicly<br>
&lt;fremy> fantasai: but the units are useful for the static initial position case<br>
&lt;astearns> for the minutes, there have been multiple call-outs thanking @frehner for the very clear issue opening and summaries<br>
&lt;fremy> florian: I think that answers my question<br>
&lt;fremy> florian: but if we have both, I don't think we need the other viewport units<br>
&lt;jfkthame> q+<br>
&lt;RossenTheReal_> ack myles<br>
&lt;fremy> myles: I think I might repeat a bit but I do agree the two units don't work<br>
&lt;fremy> myles: so we add the dynamic thing<br>
&lt;fremy> myles: but then why do we need the second unit we currently dont have?<br>
&lt;myles> q+<br>
&lt;fremy> fantasai: the reason I think we should have two units, is that the env() variables will be dynamic, but the other ones would not, and allow ...<br>
&lt;fremy> ... to use the concept of minimalized and maximalized chrome in layouts<br>
&lt;fantasai> s/not great in general/not great for users, and also not great for performance/not great for users, or for performance/<br>
&lt;jensimmons> q?<br>
&lt;fremy> florian: an article for the top banner which try to cover the screen as you open the site<br>
&lt;fremy> florian: but you don't want that banner to resize when you scroll or open a keyboard<br>
&lt;fremy> florian: and you can't solve that with the env() and the one unit<br>
&lt;fremy> fantasai: within an article, you can have graphs or images which you want to size in function of the viewport, but you dont want their size to change as you scroll<br>
&lt;fremy> TabAtkins: I strongly agree that we can use both<br>
&lt;fremy> TabAtkins: I would have objected to only add the static ones, but if we have both I am fine<br>
&lt;fremy> fantasai: we don't have a high demand for the keyboard one in general<br>
&lt;fremy> fantasai: and we can't know in advance the size of the keyboard<br>
&lt;TabAtkins> ack TabAtkins<br>
&lt;fremy> fantasai: so I think that use case should only be covered by the dynamic env() unit<br>
&lt;fremy> jfkthame: should we think about privacy<br>
&lt;fantasai> fremy: we already have that info exposed via JS<br>
&lt;dbaron> s/privacy/privacy effects of exposing the size of the keyboard/<br>
&lt;fremy> jfkthame: (because the height of the keyboard might reveal what language the user speaks)<br>
&lt;RossenTheReal_> ack jfkthame<br>
&lt;bkardell_> q+<br>
&lt;fremy> myles: we could also solve all of this with javascript<br>
&lt;fremy> myles: with an event that say "the  chrome is stable now, do yourcomputations now"<br>
&lt;RossenTheReal_> ack myles<br>
&lt;fremy> myles: also I would like to note that this will have implications for the webkit framework as multiple browsers have to expose this to us<br>
&lt;florian> q+<br>
&lt;fremy> myles: (which is unfortunate)<br>
&lt;RossenTheReal_> ack bkardell_<br>
&lt;fremy> bkardell_: I'm not entirely clear on what the static thing brings, can someone resummarize?<br>
&lt;myles> s/could also solve/already can solve/<br>
&lt;fremy> TabAtkins: vh is the full height, never reduce<br>
&lt;fremy> TabAtkins: vhc would be the same, but without the bars<br>
&lt;fremy> bkardell_: the vh unit does change<br>
&lt;fremy> jensimmons: only if the window is resized, but not as you scroll<br>
&lt;RossenTheReal_> q?<br>
&lt;fremy> bkardell_: but, you agree they are not purely static, right?<br>
&lt;myles> q+<br>
&lt;fremy> jensimmons: yes, but what we mean by static, is that it's static as you scroll<br>
&lt;fremy> jensimmons: it changes when we need to relayout everything<br>
&lt;fremy> jensimmons: but it doesn't change otherwise<br>
&lt;fremy> myles: comment about vhc not being useful for one example jensimmons showed on the powerpoint<br>
&lt;fremy> jensimmons: good question; both use cases could be fine for designers<br>
&lt;fremy> jensimmons: but at least on desktop vh and vhc it seems the units would always match<br>
&lt;RossenTheReal_> q?<br>
&lt;jensimmons> example: https://labs.jensimmons.com/2016/examples/coversheet-2.html<br>
&lt;fantasai> jensimmons shows an example of a page with a large photo taking up the viewport on load, below it is the rest of the article<br>
&lt;fantasai> The goal is to see the entire photo, and just below the fold the article<br>
&lt;fantasai> scrolling should not change the size of anything on the page, just scrol<br>
&lt;jensimmons> q?<br>
&lt;jensimmons> q+<br>
&lt;fantasai> If the smaller measurement was used, part of the article would show above the fold<br>
&lt;fantasai> This might not be wanted<br>
&lt;fantasai> s/fold/fold when the bottom bar is retracted/<br>
&lt;fantasai> but on the other hand, if important info was aligned to the bottom, the author might want to make sure it's always visible<br>
&lt;fantasai> so using the larger measurement (for retracted bars) would be a problem<br>
&lt;fremy> RossenTheReal_: let's timebox this for another ten minutes<br>
&lt;fremy> florian: I think there is another layer of complexity in this story<br>
&lt;fremy> florian: at least in the keyboard case<br>
&lt;fremy> florian: what if the keyboard is semi-transparent above the content<br>
&lt;fremy> RossenTheReal_: actually one of the things I wanted to mention<br>
&lt;fremy> RossenTheReal_: we had a similar issue with Windows (8?)<br>
&lt;fremy> RossenTheReal_: the keyboard would not change the appwindow size on the platform<br>
&lt;fremy> RossenTheReal_: sometimes the keyboard was not even transparent, it occluded the app<br>
&lt;fremy> RossenTheReal_: but we needed to animate the bottom bar of the app to stay above the keyboard<br>
&lt;fremy> RossenTheReal_: and we had a special "position" value to achieve that<br>
&lt;fremy> RossenTheReal_: but I don't know if having the units would work, because it would be out of sync<br>
&lt;fremy> florian: but we can have the value matches the keyboard all the time<br>
&lt;fremy> florian: but maybe there are good use cases for both, I'm not sure<br>
&lt;hober> q+<br>
&lt;fremy> jensimmons: I don't think we want to debate this issue too much<br>
&lt;fremy> jensimmons: I guess there are use cases for all<br>
&lt;RossenTheReal_> q?<br>
&lt;RossenTheReal_> ack florian<br>
&lt;fremy> florian: thinking that there are two variants of the right case, one where the keyboard is on top, the other when it's reduced<br>
&lt;fremy> jensimmons: I understand but what a viewport means from the implementer is their question<br>
&lt;fremy> jensimmons: but for the point of view of the author, it's about to design an experience, and the question authors have in mind is not this detail<br>
&lt;fremy> florian: but if you want to coordinate static positions, it's difficult because things would get out of sync<br>
&lt;fremy> dbaron: a good point TabAtkins outlined before is: are there actually use cases to size things based on the space that would be left after the keyboard<br>
&lt;fremy> dbaron: but when the keyboard is there<br>
&lt;fremy> dbaron: and I suspect that this might be right, we don't need to worry about hypotheticals about the keyboard<br>
&lt;fremy> dbaron: as long as you can react as the keyboard opens<br>
&lt;fantasai> s/after the keyboard/after the keyboard is added/<br>
&lt;fantasai> s/is there/is not there/<br>
&lt;fantasai> +1 to dbaron<br>
&lt;fremy> emilio: fixed position elements used to respond to the keyboard<br>
&lt;fremy> emilio: and that had complications very soon<br>
&lt;fremy> emilio: do we want env() units to have the same issues?<br>
&lt;fremy> RossenTheReal_: you mean visual vs .... viewport?<br>
&lt;RossenTheReal_> q?<br>
&lt;fremy> TabAtkins: I suppose we want visual<br>
&lt;RossenTheReal_> ack myles<br>
&lt;TabAtkins> Specifically, I think we want this height to match the height of a fixpos with top:0; bottom:0;<br>
&lt;fremy> myles: one note is that I'd want to warn against trying to chase how browsers work today, because that might change in the future<br>
&lt;fremy> myles: when we tried to ship to disappearing bars, we realized there are some problems, and we might fix them at some point<br>
&lt;fremy> myles: I'm not sure we want to have a specific value for each of the iterations we ended up with along the way<br>
&lt;myles> s/browsers work today/browser chrome works today/<br>
&lt;RossenTheReal_> ack jensimmons<br>
&lt;fremy> jensimmons: fantasai said we might want two env() variables, what are they?<br>
&lt;myles> s/might fix them/might want to fix them/<br>
&lt;fremy> fantasai: static: the bigger and the smaller; dynamic: one that's the current one between those two, and the other is what is actually available after the keyboard etc has been taken away<br>
&lt;emilio> q+<br>
&lt;myles> s/we ended up/the browser community ended up/<br>
&lt;fremy> fantasai: I think the keyboard case seems less urgent to solve<br>
&lt;fremy> fantasai: so if we aren't sure what to do in this case, it's ok, but we just had to keep it in mind to choose the right framework<br>
&lt;fremy> emilio: replying to tab about the visual viewport thing<br>
&lt;fremy> emilio: part of the reason we don't update them is performance<br>
&lt;fremy> emilio: and this would kill that performance optimization<br>
&lt;fremy> emilio: if you want the visual viewport behavior (fixedpos-0-0) you also need a width unit<br>
&lt;fremy> emilio: (because when you zoom you change that as well)(<br>
&lt;emilio> ack emilio<br>
&lt;fremy> jensimmons: it seems to me that we are talking about a vh unit that's a fixed unit based on the maximized space<br>
&lt;fremy> jensimmons: vhc would be the minimize space, but also static<br>
&lt;fremy> jensimmons: and the dynamic variable would be whatever it is right now, and yes that would would change 60fps possibly<br>
&lt;RossenTheReal_> q?<br>
&lt;fremy> jensimmons: we will educate<br>
&lt;RossenTheReal_> Zakim, close queue<br>
&lt;Zakim> ok, RossenTheReal_, the speaker queue is closed<br>
&lt;fremy> jensimmons: but maybe we can make a vhk unit to care about the keyboard later<br>
&lt;fremy> jensimmons: "question mark, question mark, question mark" (just thinking out loud)<br>
&lt;fremy> jensimmons: and then there might be another set which is, give me the space available<br>
&lt;fremy> jensimmons: even if it's behind a keyboard (or not)<br>
&lt;RossenTheReal_> ack hober<br>
&lt;fremy> hober: to reply to fantasai list of things, the values is orthogonal<br>
&lt;fremy> hober: but for the use case to know about the keyboard, one of the use case it to add things above the keyboard<br>
&lt;fremy> hober: and that usecase should probably be addressed in html and javascript, maybe not css<br>
&lt;fremy> hober: for example, we thought about some way to add custom buttons for the touch bar in html/js<br>
&lt;fremy> hober: and it seems a more natural fit than trying to emulate this with positioning with css<br>
&lt;fremy> hober: so, is there another use case?<br>
&lt;fremy> astearns: when the textbox is focused, move it right above the keyboard<br>
&lt;fremy> fantasai: you can do that with scroll-snap<br>
&lt;fremy> fantasai: because it will snap to the viewport<br>
&lt;fremy> jensimmons: so, are you arguing it wouldnt be required to do this math with env variables<br>
&lt;bkardell_> astearns: the grey beard seems kind of a give away of that though?<br>
&lt;RossenTheReal_> ack fantasai<br>
&lt;fremy> fantasai: my proposal is the two static sizes (minimized/maximized chrome) and the dynamic one where you report the current size<br>
&lt;fremy> fantasai: vh should probably be the maximized chrome (smaller measurement)<br>
&lt;fremy> fantasai: because if people are designing on desktop, they might not realized that it could end up beyond the fold on mobile as you scroll<br>
&lt;fremy> fantasai: it's not as pretty if you truly wanted to fit<br>
&lt;fremy> TabAtkins: that's a change of behavior<br>
&lt;fremy> fantasai: chrome folks said they would have loved to change, but webkit did the other way around<br>
&lt;fremy> TabAtkins: that was a long time ago, I don't think we could switch without compat<br>
&lt;fremy> fantasai: more breaking than we would fix?<br>
&lt;fremy> hober: yes<br>
&lt;fremy> jensimmons: I would like to come to a resolution with the three we seem to agree on, and leave the fourth one for later<br>
&lt;fremy> hober: I'd be happy to reject the fourth one and reopen later<br>
&lt;fremy> jensimmons: actually the issue doesn't cover the fourth one anyway, so not even needed<br>
&lt;fremy> RossenTheReal_: so, are we reaching a consensus on the two static + one dynamic value?<br>
&lt;fremy> jensimmons: I think so<br>
&lt;fremy> fantasai: also, we would also need to add the symetric values for vhi and vhb<br>
&lt;fremy> hober: I think the issue is that it would be a lot of similar units<br>
&lt;fremy> hober: I'd rather something longer that's more clear<br>
&lt;fremy> fantasai: yeah but that's unfair because vh is short, then if you want to write good code you need to write more<br>
&lt;fremy> fantasai: for instance we already have some confusion with vmin<br>
&lt;fremy> jensimmons: can we resolve on the concepts but not the name?<br>
&lt;fremy> myles: rossen said that the symmetrical values would be needed, but in practice we wouldn't have different values in any browser<br>
&lt;fremy> fantasai: the viewport units are vh, vw, vmin, vmax<br>
&lt;fremy> fantasai: all of these can potentially map to vh<br>
&lt;fantasai> s/vmax/vmax, vi, vb/<br>
&lt;fremy> dbaron: I am not convinced that vmin needs this<br>
&lt;fremy> fantasai: why would you exclude them<br>
&lt;fantasai> i/dbaron/ At that point, the only one that doesn't have this variant is vw, seems a bit odd to leave it out<br>
&lt;dbaron> s/vmin needs this/vmin and vmax need this new feature/<br>
&lt;fremy> RossenTheReal_: in tablet mode on windows, there are different chrome you can trigger when you swipe etc...<br>
&lt;fantasai> s/At that point/fantasai: At that point/<br>
&lt;fremy> RossenTheReal_: things like notifcation bars and whatnot<br>
&lt;fremy> RossenTheReal_: in tablet mode, all of the windows are always maximized<br>
&lt;fremy> RossenTheReal_: and the bars can appear on top of the content<br>
&lt;fremy> RossenTheReal_: (but these bars haved fixed size value known in advance)<br>
&lt;fantasai> I think authors should be able to use these "safely-sized" viewport units with the same level of usability as the "unsafely-sized" viewport units<br>
&lt;fremy> RossenTheReal_: so for us, vw sounds useful<br>
&lt;fremy> emilio: if we don't want things that are sized with them to be affected by zoom<br>
&lt;fremy> fantasai: the vh and the new unit and the initial containing block should all behave the same way<br>
&lt;fremy> fantasai: whether the browser affect the all three the same way, they can do whatever they want<br>
&lt;fantasai> s/whether/as long as/<br>
&lt;fremy> RossenTheReal_: are we ready to make a resolution?<br>
&lt;fremy> RossenTheReal_: can we resolve on the keyboard thing?<br>
&lt;fremy> jensimmons: not necessary<br>
&lt;fremy> RossenTheReal_: is there consensus on vhc? (besides the name)<br>
&lt;fremy> fantasai: plus the variants<br>
&lt;fremy> RossenTheReal_: plus the variants (vi/vb/...)<br>
&lt;fremy> RossenTheReal_: any objection to this set of units?<br>
&lt;fremy> dbaron: not counting scrollbars?<br>
&lt;fremy> emilio: not counting scrollbars<br>
&lt;fremy> RossenTheReal_: let's kick that can down the road, we can rediscuss later<br>
&lt;fremy> RossenTheReal_: but I'm not hearing any objection<br>
&lt;fremy> RossenTheReal_: so let's resolve<br>
&lt;fremy> RESOLVE: adding the set of viewport units (vhc and symmetrical values)<br>
&lt;RossenTheReal_> RESOLVED: Add a set of viewport units (vhc for ex.) that reflect the size of the layout viewport less all UA UI<br>
&lt;fremy> RossenTheReal_: the second question, do we need to provide the events / env variable that allows to transition between them<br>
&lt;fremy> fantasai: I think the consensus was to have the dynamic full size<br>
&lt;fremy> florian: we can also consider giving differences between the dynamic and full one<br>
&lt;fremy> jensimmons: that's simpler to just say that env() variable is exactly like vh but it doesn't stay static<br>
&lt;fremy> jensimmons: and the number is a live measurement of the space, instead of a difference<br>
&lt;dbaron> In hindsight, I think we'd have been better off if we'd called vmin vsmaller, and if we'd called vmax vlarger, or something like that.<br>
&lt;fremy> florian: I don't disagree but I am unsure it answers my question, but ok let's move on<br>
&lt;hober> dbaron: yeah.<br>
&lt;fremy> jensimmons: example of a use case where there is a footer on the side that needs to stay stuck on the bottom of the viewport, even as the user scrolls<br>
&lt;fremy> jensimmons: (done in javascript right now)<br>
&lt;fremy> jensimmons: and I think that use case is important<br>
&lt;fremy> hober: it's a bummer that we have to do relayout during scroll<br>
&lt;hober> s/we have to/we'd have to/<br>
&lt;fremy> myles: there is an alternative that doesn't do that (myles to expand, didn't catch all things)<br>
&lt;myles> as long as there is an alternative that doesn't do layout on scroll, and this is named appropriately, and it is an opt-in mechanism, it's acceptable.<br>
&lt;fremy> jensimmons: vh doesn't already change for performance<br>
&lt;fremy> jensimmons: and that the new env() variable would only be used in cases where it's needed<br>
&lt;fremy> jensimmons: so the perf impact would be lower<br>
&lt;fremy> jensimmons: but I agree we need to enable authors to understand what they are doing so they use the unit only when they really need the animation<br>
&lt;fremy> emilio: also, it's unfortunate because if you use it on the body because then you still need to relayout everything<br>
&lt;fremy> RossenTheReal_: this example works with position:sticky<br>
&lt;fremy> fantasai: this case yes, but it might not always be the case<br>
&lt;fantasai> fantasai: For example, maybe I have an effect where I click on a picture and it becomes the full size of the viewport, should be the size of the viewport right now<br>
&lt;fremy> jensimmons: I am sure there are use cases<br>
&lt;fremy> jensimmons: I could gather more evidence if needed<br>
&lt;fremy> RossenTheReal_: I think we should probably get another example, but I think we should focus on answering the question at hand<br>
&lt;fremy> RossenTheReal_: do we agree to add the dynamic unit?<br>
&lt;fremy> jensimmons: We need to know if this is something we can implement<br>
&lt;fremy> myles: yes, if you can do in js<br>
&lt;bkardell_> q+<br>
&lt;fremy> hober: but it's really problematic that we would need to do layout in scrolling<br>
&lt;fremy> hober: even if we add this, this would stay janky<br>
&lt;fantasai> http://inkedblade.net/viewport-test.html<br>
&lt;bkardell_> q-<br>
&lt;fremy> hober: so I don't think we should do this<br>
&lt;fremy> hober: but we can have smooth perf with position:sticky<br>
&lt;fremy> jensimmons: but there are other examples, if you need to the height to be considered<br>
&lt;fremy> RossenTheReal_: there's position:fixed for that<br>
&lt;fremy> emilio: yes<br>
&lt;fremy> TabAtkins: but there are cases where you only want to show it in some context<br>
&lt;fremy> TabAtkins: and position:fixed make it visible at all times<br>
&lt;dbaron> dbaron: does position:sticky help with that?<br>
&lt;bkardell_> would it be useful to have a collection of use cases and allow the CSSWG to propose how you could do this today, and then let devs tell us why that doesn't suit their needs?<br>
&lt;fantasai> TabAtkins gives example of some widget which is not position fixed or sticky, and is compacted by default, but when expanded (in place) should take the size of the viewport<br>
&lt;hober> s/this would stay janky/this would be an attractive nusiance. the behavior would be just as janky as js./<br>
&lt;fremy> RossenTheReal_: also if you have a "fake fullscreen" where an experience takes the full size of the viewport<br>
&lt;fremy> RossenTheReal_: and you might want to resize that experience as the user is scrolling, so it doesn't go out of bounds of the viewport<br>
&lt;fantasai> hober, this is why we're providing the units, and making them a lot more convenient to work with. vhc or whatever is a lot easier than env(viewport-height) unless you've got a strong reason for the latter<br>
&lt;fremy> RossenTheReal_: you can of course do that with js, and we ask the question whether we want a better solution<br>
&lt;fantasai> btw, anyone with Safari mobile able to load http://inkedblade.net/viewport-test.html ?<br>
&lt;fremy> RossenTheReal_: I think we should probably defer, and see more use cases<br>
&lt;fremy> RossenTheReal_: except if we all agree<br>
&lt;fremy> RossenTheReal_: but the points on perf and layout on scrolling remain<br>
&lt;astearns> I see blue taller than yellow, fantasai<br>
&lt;fremy> fantasai: I pasted a testcase<br>
&lt;fremy> fantasai: there is no interop in a lot of cases<br>
&lt;fremy> emilio: there is been a lot of effort from us to match Chrome/Safari<br>
&lt;fremy> emilio: so I'm surprised we don't match<br>
&lt;fantasai> Safari also showing 100% and 100vh not being equivalent<br>
&lt;fremy> RossenTheReal_: what is showing, I don't have a phone?<br>
&lt;fremy> florian: 100% and 100vh don't always match<br>
&lt;fremy> florian: in Chrome<br>
&lt;fremy> RossenTheReal_: but that's for the previous discussion then?<br>
&lt;fantasai> It's an open point we need to resolve<br>
&lt;astearns> q?<br>
&lt;fremy> RossenTheReal_: let's get back on track<br>
&lt;fremy> RossenTheReal_: can we resolve now, or do we want to defer?<br>
&lt;fremy> jensimmons: I think we should think about this more<br>
&lt;fremy> jensimmons: so let's table this for now<br>
&lt;fremy> fantasai: also, I think we should have a discussion about the compat<br>
&lt;fremy> fantasai: should 100% and 100vh match?<br>
&lt;fremy> hober: I don't think we can resolve this<br>
&lt;fremy> fantasai: the spec doesn't have a concept to allow them to diverge<br>
&lt;fremy> hober: there is a lot of content designed for mobile<br>
&lt;fremy> hober: and they rely on webkit/blink actually<br>
&lt;fremy> fantasai: I would have loved implementations to file an issue<br>
&lt;fremy> fantasai: because right now the spec doesn't match and we were not aware<br>
&lt;astearns> +1 to annoyance at not getting an issue from (multiple!) devs breaking spec behavior<br>
&lt;fremy> heycam: but since we aim to match gecko and blink/webkit, I think yes we would want to update the spec<br>
&lt;fremy> &lt;br type=lunch><br>
</details>


-- 
GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4329#issuecomment-577169195 using your GitHub account

Received on Wednesday, 22 January 2020 12:55:41 UTC