短pr间期是什么意思| 李倩梅结局是什么| 6月26什么星座| afar是什么意思| 什么是胰岛素抵抗| 桃李满天下的桃李是什么意思| 许冠杰属什么生肖| 头晕用什么药| 法医是干什么的| 手指关节痛挂什么科| 站着腰疼是什么原因引起的| 什么是夹角| 中国文联是什么级别| 七月份怀孕预产期是什么时候| 什么是太监| 庚日是什么意思啊| 三个虫念什么| 病机是什么意思| 湖南为什么叫湖南| 后背长痘痘是什么原因| hbeab阳性是什么意思| 社区建档需要什么资料| 什么叫高潮| sle是什么病的缩写| 肚子痛去药店买什么药| 欣喜若狂是什么意思| 春五行属什么| 什么是直系亲属| 尿胆红素阳性是什么意思| 风湿病是什么引起的| 储蓄卡是什么意思| gxg是什么牌子| hbeab阳性是什么意思| 胃火吃什么食物好| 母亲节送母亲什么礼物| special是什么意思| 女人小肚子疼是什么原因| 热感冒吃什么药好| 男模是什么| 偷什么不犯法| qc是什么| 2017年五行属什么| 借刀杀人是什么生肖| 己是什么意思| 79年的羊是什么命| 黄晓明的老婆叫什么名字| 式可以加什么偏旁| 不放屁吃什么药能通气| 比干是什么神| 午五行属什么| 军校是干什么的| 车挂件挂什么保平安好| 96345是什么电话| 经常放屁是什么问题| 猫对什么颜色感兴趣| 唯我独尊指什么生肖| 雷特综合症是什么症状| 师公是什么意思| 重庆为什么叫雾都| 从革是什么意思| 50岁是什么之年| 卖淫是什么意思| 眼珠子疼是什么原因| 蜜蜂的天敌是什么| 籍贯是指什么| 总是睡不着觉是什么原因| 喉咙发炎挂什么科| 工作是什么意思| 眼睛出血什么原因| 黄片是什么| 聚首一堂是指什么生肖| 中国四大国粹是什么| 明知故犯的故是什么意思| 点卯是什么意思| 肚子硬硬的是什么原因| 坐骨神经吃什么药| 无故流鼻血是什么原因| 结婚需要什么证件| 舌头发苦是什么原因造成的| 容貌是什么意思| 吃什么能让胸变大| 朋友是什么| 吃什么对肝好怎么养肝| 木字旁羽字是什么字| 腿膝盖后面的窝窝疼是什么原因| 什么是燕麦| 婴儿大便绿色是什么原因| 蜗牛为什么怕盐| 干爹是什么意思| 美甲做多了有什么危害| 白玫瑰适合送什么人| 永加一个日念什么| ats是什么意思| 早上适合做什么运动| burberry是什么品牌| 银屑病为什么会自愈| 大学休学1年有什么影响| 富不过三代是什么意思| 阳字属于五行属什么| 米线是什么材料做的| 单绒双羊是什么意思| 上环后同房要注意什么| 杂菌阳性是什么意思| 什么叫近视| 一百万存款算什么水平| 肋间神经痛什么症状| 什么树林| 大爱什么意思| 艾滋病是什么| 手指甲凹凸不平是什么原因| 曹曦月演过什么电视剧| 石蜡病理是什么意思| 五毒是什么| 什么是环境影响评价| 淋证是什么病| 记忆是什么意思| 吃什么补头发| 松子吃了有什么好处和坏处| 前列腺是什么意思| 流浓黄鼻涕是什么原因| 身心俱疲是什么意思| 怀孕一周有什么症状| 柳丁是什么水果| 发烧为什么不能吃鸡蛋| 老公梦见老婆出轨是什么意思| 为什么越吃越饿| 刍狗是什么意思| 山水有相逢是什么意思| 不良于行是什么意思| 一闪一闪的星星像什么| 为什么井盖是圆的| 字是什么结构| 儿童办护照需要什么证件| 铁蛋白偏低是什么意思| 每天起床口苦口臭是什么原因| 蜈蚣为什么不能打死| 攀缘是什么意思| 排异是什么意思| 虾仁和什么炒好吃| 排骨炖什么好吃又有营养| 肝胆不好有什么症状有哪些表现| 止盈什么意思| 头晕头疼是什么原因| 血压的低压高是什么原因| 什么是超话| 泥鳅吃什么东西| 稽留流产是什么意思| 益生菌适合什么人群吃| 七夕节的含义是什么| 肝脓肿是什么病严重吗| 早晨起来口干舌燥是什么原因| 你喜欢我什么我改| 胆囊结石挂什么科| 干眼症用什么眼药水| osprey是什么牌子| 离苦得乐什么意思| ct查什么| 杨紫属什么生肖| 阳痿什么意思| 今年37岁属什么生肖| 组织部长是什么级别| 正月十六是什么星座| 肚子有腹水是什么症状| 风湿病吃什么药| 地素女装属于什么档次| 呼吸重是什么原因| 宜余事勿取是什么意思| 晕车药吃多了有什么副作用| 逝者如斯夫什么意思| 轱辘是什么意思| 囊肿与肿瘤有什么区别| 童子是什么| 吃软不吃硬是什么生肖| 护照类型p是什么意思| 魔性是什么意思| 阴阳二气是什么意思| 风尘是什么意思| 什么是龙骨| 改姓需要什么手续| 什么是电信诈骗| 酒后喝什么饮料比较好| 为什么会甲减| 胰腺炎吃什么| 不好意思是什么意思| 人彘为什么还能活着| 格色是什么意思| 烤鱼什么鱼好吃| 龙是什么意思| 平均红细胞体积偏高说明什么| 佛是什么意思| 忘不了鱼在中国叫什么| 一什么晚霞| 肝在五行中属什么| 监视居住是什么意思| 胰腺最怕什么| 卧底归来大结局是什么| 做梦翻车了什么预兆| 晚睡早起是什么原因| 白完念什么| 胆囊炎吃什么药好得快| 一贫如什么| 送女生什么生日礼物比较好| 产后为什么脸部松弛| 什么是鼻息肉| 海带补什么| 感冒了挂什么科| k字开头是什么车| 吹风扇感冒了吃什么药| 抗坏血酸是什么意思| 胃窦炎是什么病| ysl是什么意思| rh是什么血型| 毛笔是用什么毛做的| 斑秃是什么原因造成的| 11月5日是什么星座| 小孩白头发是什么原因引起的| 康复新液是什么做的| 好久不见是什么意思| 慎独什么意思| 不甘心是什么意思| 牛反刍是什么意思| 略施小计是什么动物| 梦见小男孩拉屎是什么意思| 头很容易出汗什么原因| 尿泡沫多是什么原因| 什么牌子的大米好吃| 石家庄有什么特产| 喉结下面是什么部位| 异地补办身份证需要什么手续| 什么名字好听| 咽喉干燥是什么原因| 卫生纸属于什么垃圾| 同仁什么意思| 蓝灰色配什么颜色好看| 考教师资格证需要什么条件| 复原乳是什么意思| 红丝带的含义是什么| 什么是考生号| 於是什么意思| 睡久了腰疼是什么原因| 公子是你吗是什么歌| 六月十三日是什么日子| 心悸是什么病| 米糠是什么东西| 刘晓庆什么星座| 头痛是什么原因| 左耳耳鸣是什么原因| 百合什么时候种植最好| 血小板有什么作用| 天秤座什么性格| 中蛊的人有什么症状| 阴瑜伽是什么意思| 散光是什么症状| 特别嗜睡是什么原因| 黑曜石是什么| c罗穿什么足球鞋| cos是什么意思| 施华洛世奇算什么档次| 梦见自己捡钱是什么意思| 妈妈的弟弟的老婆叫什么| 白色加红色等于什么颜色| 谷草谷丙偏高是什么原因| 通奸是什么意思| 双喜临门是什么生肖| 百度
Illustration by

海南:南海作业渔民将可在渔船上收听收看广播电视

A note from the editors: We want to thank the Microsoft Edge team for sharing transcripts of the interviews they conducted with many of the brilliant people who have contributed to the development of CSS Grid. Those transcripts proved invaluable in compiling this history. You can watch the short video they produced from those interviews, Creating CSS Grid, on Channel 9.
百度 24日,哈尔滨市迎来今年清明祭扫的第一波小高峰。

On October 17th, Microsoft’s Edge browser shipped its implementation of CSS Grid. This is a milestone for a number of reasons. First, it means that all major browsers now support this incredible layout tool. Second, it means that all major browsers rolled out their implementations in a single year(!), a terrific example of standards success and cross-browser collaboration. But third, and perhaps most interestingly, it closes the loop on a process that has been more than 20 years in the making.

Article Continues Below

Not a new idea#section2

While the modern concept of a “grid layout” has been with us since the Industrial Revolution, grids have been a design tool for centuries. As such, it shouldn’t come as a shock that grid-based layouts have been a goal of CSS since the beginning.

According to Dr. Bert Bos, who co-created CSS with H?kon Wium Lie, grid-based layouts have actually been on his mind for quite some time.

“CSS started as something very simple,” Bos recalled. “It was just a way to create a view of a document on a very simple small screen at the time. Twenty years ago, screens were very small. So, when we saw that we could make a style sheet for documents, we thought, Well, what else can we do now that we have a system for making style sheets?

Looking at what books and magazines were doing with layout was a great inspiration for them.

“Independent of the content on every page, it has a certain layout,” Bos said. “Page numbers are in certain places. And images are always aligned to the certain sides—left or right or in the middle. We wanted to capture that.”

Early on, browser makers wrote off the idea as “too complex” to implement, but grid layout concepts kept cropping up. In 1996, Bos, Lie, and Dave Raggett came up with a “frame-based” layout model. Then, in 2005, Bos released the Advanced Layout Module, which later turned into the Template Layout Module. Despite enthusiasm for these concepts from the web design community, none of them ever shipped in a browser.

Once more, with feeling#section3

With grid concepts being thrown at the wall of the CSS Working Group with some regularity, folks were hopeful one of them would stick eventually. And the idea that did was a proposal from a couple of folks at Microsoft who had been looking for a more robust layout tool for one of their web-based products.

Phil Cupp had been put in charge of the UI team tasked with reimagining Microsoft Intune, a computer management utility. Cupp was a big fan of Silverlight, a browser plug-in that sported robust layout tools from Windows Presentation Foundation, and initially had planned to go that route for building the new Intune. As it happened, however, Microsoft was in the planning stages of Windows 8 and were going to enable building apps with web technologies. Upon learning this, Cupp wanted to follow suit with Intune, but he quickly realized that the web was in desperate need of better layout options.

He joined a new team so he could focus on bringing some of the rich layout options that existed in Silverlight—like grid layout—to the web. Interestingly, folks on this new team were already noticing the need. At the time, many app developers were focusing on iPhones and iPads, which only required designers to consider two different fixed canvas sizes (four, if you consider portrait and landscape). Windows had to support a ton of different screen sizes, screen resolutions, and form factors. Oh, and resizable windows. In short, Microsoft needed a robust and flexible layout tool for the web desperately if the web was going to be an option for native app development on Windows.

After working extensively with various teams within Microsoft to assemble a draft specification, Cupp and his team shipped a grid layout implementation behind the -ms- vendor prefix in Internet Explorer 10 in 2011. They followed that up with a draft Grid Layout spec, which they presented to the W3C in 2012.

Of course, this was not the first—or even the third—time the W3C had received a grid layout spec to consider. What was different this time, however, was that they also had an actual implementation to evaluate and critique. Also, we, as developers, finally had something we could noodle around with. Grid layout was no longer just a theoretical possibility.

A handful of forward-thinking web designers and developers—Rachel Andrew, an Invited Expert to the W3C, chiefly among them—began to tinker.

“I came across CSS Grid initially at a workshop that Bert Bos was leading in French. And I don’t really speak French, but I was watching the slides and trying to follow along,” Andrew recalled. “I saw him demonstrate … the Template Layout spec. I think he was really talking about it in terms of print and using this stuff to create print layouts, but as soon as I saw that, I was like, No, we want this for the web. This is something that we really need and its feasibility to properly lay things out. And so I started digging into it, and finding out what he was doing, and building some examples.”

“Then I saw the Microsoft implementation [of the draft Grid Layout spec], which gave me a real implementation that I could build examples to show other people. And I wanted to do that—not just because it was interesting, and I like interesting things to play with—it was because I wanted to get it out there and get other people to have a look at it. Because I’ve been doing this for a long time and I know that specs often show up, and then no one really talks about them, and they kinda disappear again. And I was absolutely determined that Grid Layout wasn’t gonna disappear, it was gonna be something that other people found out about and got excited about it. And hopefully we’d actually get it into browsers and be able to use it.”

The spec evolves#section4

The draft spec that Cupp presented to the W3C, and that his team shipped in IE10, is not the Grid Layout spec we have today. It was a step in the right direction, but it was far from perfect.

“The one [Phil Cupp submitted] was a very track-based system,” recalled Elika Etemad, an Invited Expert to the W3C and an Editor of the CSS Grid Layout Module. “There was only a numeric addressing system, there were no line names, there [were] no templates, none of that stuff. But it had a layout algorithm that they … were confident would work because they had been doing experimental implementations of it.”

“The original grid that Bert [Bos] came up with … was really the reason I joined the CSS Working Group,” recalled Google’s Tab Atkins, another Editor of the CSS Grid Layout Module. “At the time, I was learning all the terrible layout hacks and seeing the possibility to just write my page layout in CSS and just have it all, kinda, work was astonishing. And then seeing the draft from Phil Cupp … and seeing it all laid out properly and with a good algorithm behind it, I knew that it was something that could actually exist now.”

It was also a compelling option because, unlike previous proposals, which specified rigid layouts, this proposal was for a responsive grid system.

“You can [be] explicit about the size of a grid item,” Etemad explained. “But you can also say, Be the size that your content takes up. And that was what we needed to move forward.”

However, the draft spec wasn’t as approachable as many on the CSS Working Group wanted it to be. So the group looked to bring in ideas from some of its earlier explorations.

“What we really liked about Bert [Bos]’s proposal was that it had this very elegant interface to it that made it easy to express layouts in a way that you can intuitively see,” Etemad said. “It’s like an ASCII art format to create a template, and you could put [it] in your code, like the width of the columns and the heights of the rows. You could embed those into the same kind of like ASCII diagram, which made it a lot easier to see what you were doing.”

Peter Linss, then Co-Chair of the CSS Working Group, also suggested that they incorporate the concept of grid lines in the spec (instead of only talking about tracks). He believed including this familiar graphic design concept would make the spec more accessible to designers.

“When we were thinking initially about CSS Grid, we were thinking about it in a very app-centric model,” recalled Microsoft’s Rossen Atanassov, who is also an Editor on the spec. “But grid is nothing new. I mean, grid’s been here for a very long time. And that traditional type of grid has always been based on lines. And we’d been kind of ignoring the lines. When we realized that we could marry the two implementations—the app side and the typography side of the Grid—this for me, personally, was one of those aha moments that really inspired me to continue working on Grid.”

So the CSS Working Group began tweaking Microsoft’s proposal to incorporate these ideas. The final result allows you to think about Grid systems in terms of tracks or lines or templates or even all three at once.

Of course, getting there wasn’t easy.

Refine, repeat#section5

As you can probably imagine, reconciling three different ideas—Microsoft’s proposal, Bos’ Advanced Layout, and Linss’ addition of grid lines—wasn’t a simple cut and paste; there were a lot of tricky aspects and edge cases that needed to be worked out.

“I think some of the tricky things at the beginning [were] taking all the different aspects of … the three proposals that we were trying to combine and coming up with a system that was coherent enough to gracefully accept all of that input,” Etemad said.

Some ideas just weren’t feasible for phase one of a CSS grid. Bos’ concept, for instance, allowed for any arbitrary descendent of the grid to lay out as though it were a child element of the grid. That is a feature often referred to as “subgrid” and it didn’t make the cut for CSS Grid Layout 1.0.

“Subgrid has been one of those things that was pointed out immediately,” Atanassov said. “And that has been a blessing and kind of a hurdle along the way. It was … one that held back the spec work for quite a bit. And it was also one that was scaring away some of the implementers. … But it’s also one of the features that I’m … most excited about going forward. And I know that we’re gonna solve it and it’s gonna be great. It’s just gonna take a little while longer.”

Similarly, there were two options for handling content mapped to grid lines. On the one hand, you could let the grid itself have fixed-dimension tracks and adjust which ending grid line the overflowing content mapped to, based on how much it overflowed. Alternately, you could let the track grow to contain the content so it ended at the predefined grid line. Having both was not an option as it could create a circular dependency, so the group decided to put the grid-snapping idea on hold.

Ultimately, many of these edits and punts were made in light of the CSS Working Group’s three primary goals for this spec. It needed to be:

  1. Powerful: They wanted CSS Grid to enable designers to express their desires in a way that “made simple things easy and complex things possible,” as Etemad put it;
  2. Robust: They wanted to ensure there would not be gaps that could cause your layout to fall apart, inhibit scrolling, or cause content to disappear accidentally;
  3. and Performant: If the algorithm wasn’t fast enough to elegantly handle real-world situations like browser resize events and dynamic content loading, they knew it would create a frustrating experience for end users.

“[T]his is why designing a new layout system for CSS takes a lot of time,” Etemad said. “It takes a lot of time, a lot of effort, and a lot of love from the people who are working on it.”

Where the rubber meets the road#section6

Before a Candidate Recommendation (aka, a final draft) can become a Proposed Recommendation (what we colloquially refer to as a “standard”), the W3C needs to see at least two independent, interoperable implementations. Microsoft had implemented their draft proposal, but the spec had changed a lot since then. On top of that, they wanted to see other browsers take up the torch before they committed more engineering effort to update it. Why? Well, they were a little gun-shy after what happened with another promising layout proposal: CSS Regions.

CSS Regions offered a way to flow content through a series of predefined “regions” on a page, enabling really complex layouts. Microsoft released an implementation of CSS Regions early on, behind a prefix in IE 10. A patch landed support for Regions in WebKit as well. Safari shipped it, as did Chrome (which was still running WebKit under the hood at the time). But then Google backed it out of Chrome. Firefox opposed the spec and never implemented it. So the idea is currently in limbo. Even Safari will drop its experimental support for CSS Regions in its next release. Suffice it to say, Microsoft wanted to be sure Grid wouldn’t suffer the same fate as Regions before committing more engineering resources to it.

“We had implementers that immediately said, ‘Wow, this is great, we should definitely do it,’” recalled Atanassov of Grid. “But [it’s] one thing … saying, ‘Yeah this is great, we should do it,’ and then there’s the next step where it’s adding resources and paying developers to go and actually implement it.”

“There was desire from other implementers—one of the spec editors is from Google—but there was still hesitancy to actually push code,” recalled Microsoft’s Greg Whitworth, a member of the CSS Working Group. “And … shipping code is what matters.”

In an interesting turn of events, the media company Bloomberg hired Igalia, an open source consultancy, to implement CSS Grid for both Blink and WebKit.

“Back in 2013 … [we] were contacted by [Bloomberg] … because they had very specific needs regarding defining and using grid-like structures,” recalled Sergio Villar Senin, both a software engineer at and partner in Igalia. “[T]hey basically asked us to help in the development of the CSS Grid layout specification, and also [to] implement it for [Blink and WebKit].”

“[Igalia’s work] helped tremendously because then developers [could] see it as possibly something that they can actually use when developing their sites,” Whitworth added.
But even with two ready-made implementations, some folks were still concerned the feature wouldn’t find its footing. After all, just because a rendering engine is open source doesn’t mean its stewards accept every patch. And even if they do, as happened with CSS Regions, there’s no guarantee the feature will stick around. Thankfully, a good number of designers and developers were starting to get excited about Grid and began to put pressure on browser vendors to implement it.

“There was a pivotal shift with CSS Grid,” Whitworth said. “Starting with Rachel Andrew coming in and creating a ton of demos and excitement around CSS Grid with Grid by Example and starting to really champion it and show it to web developers and what it was capable of and the problems that it solves.”

“Then, a little bit later, Jen Simmons [a Designer Advocate at Mozilla] created something called Labs where she put a lot of demos that she created for CSS Grid up on the web and, again, continued that momentum and that wave of enthusiasm for CSS Grid with web developers in the community.”

Grid facilitates both traditional and (as shown here) non-traditional layouts. This is a Grid Layout example from Jen Simmons’ Labs, as seen in Edge 16. If you’d like to see it working in Edge but don’t run Windows, you can also view it in BrowserStack (account required).

With thought leaders like Andrews and Simmons actively demonstrating the power and versatility of CSS Grid, the web design community grew more excited. They began to experiment on sites like CodePen, sharing their ideas and developing their Grid layout skills. We don’t often think about it, but developer enthusiasm has the power to bolster or bury a spec.

“We can write a spec, we can go implement things, but if there isn’t developer demand or usage of the features, it doesn’t really matter how much we do with that,” Whitworth said.

Unfortunately, with ambitious specs like Grid, the implementation cost can often deter a browser vendor from making the commitment. Without a browser implementation enabling developers to tinker and experiment, it’s hard to build enthusiasm. Without developer enthusiasm, browser vendors are reluctant to spend the money to see if the idea gains traction. I’m sure you can see the problem here. In fact, this is partly what has doomed Regions—performance on mobile chipsets was another cited reason—at least for now.

Thankfully, Bloomberg willingly played the role of benefactor and got the ball rolling for this new incarnation of CSS Grid. So, with its help, Google landed an implementation of CSS Grid in Chromium 56 for Android in January of 2017. It landed its Chrome implementation in early March, just two days after Mozilla shipped its own implementation in Firefox. Before the month was over, Opera and Safari had also shipped support for CSS Grid.

Ironically, the last company to ship CSS Grid was Microsoft. But it released its implementation in Edge earlier this week.

“With features on the web platform … you’re waiting for a sweet spot,” Whitworth said, just prior to Grid’s release in Edge. “You want a solid spec, you want implementer interest, and you want tons of demand from web developers. Late 2016/early 2017 was that sweet spot. All of that happened. We upgraded our implementation and are stoked to ship it.”

“I don’t recall a feature ever shipping like CSS Grid has shipped. Every major browser will have shipped it within a matter of a single year, and it will be interoperable because we’ve been… implementing [it] behind flags, testing it, making future changes behind flags, and then when it was deemed stable, all the browsers are now shipping it natively.”

“With everybody shipping at approximately the same time,” Atkins said, “[Grid] goes from an interesting idea you can play with to something that you just use as your only layout method without having to worry about fallbacks incredibly quickly. … [It’s been] faster than I expected any of this to work out.”

What Grid means for CSS#section7

With Grid support no longer in question, we can (and should) begin to make use of this amazing tool. One of the challenges for many of us old timers who have been working with CSS for the better part of two decades, is that CSS Grid requires a whole new way of thinking about layout.

“It’s not just attaching your margins and properties to each individual element and placing them,” Bos said. “[Y]ou can now have a different model, a model where you start with your layout first and then pull in the different elements into that layout.”

“It is the most powerful layout tool that we have invented yet for CSS,” Atkins said. “It makes page layouts so ridiculously easy. … [P]eople have always been asking for better layouts. Just for author-ability reasons and because the hacks that we were employing weren’t as powerful as the old methods of just put[ting] it all in a big old table element—that was popular for a reason; it let you do powerful complex layouts. It was just the worst thing to maintain and the worst thing for semantics. And Grid gives you back that power and a lot more, which is kind of amazing.”

“CSS Grid takes all of that complicated stuff that we had to do to [achieve] basic layouts and makes it completely unnecessary,” Etemad said. “You can talk to the CSS engine directly[—]you, yourself, without an intermediary translator.”

CSS Grid offers a lot of power that many of us are only just starting to come to grips with. It will be interesting to see where we go from here.

“I think it’s going to be transformative,” Etemad said. “It’s going to take CSS back to what it was meant to be, which is styling and layout language that lifts all of that logic away from the markup and allows that clean separation of content and style that we’ve been trying to get from the beginning.”

“I’m excited about the future of CSS layout,” Whitworth said. “CSS Grid is not the end; it’s actually just the beginning. In IE 10 … [we shipped] CSS Regions as well as CSS Exclusions. I think as web designers begin to utilize CSS Grid more and more, they’ll realize why we shipped all three together. And maybe we can continue what we did with CSS Grid and continue to improve upon those specifications. Get vendor desire to implement those as well. Get the community excited about them and push layout on the web even further.”

“I think that now we have Grid, Exclusions makes absolute sense to have,” Andrew said. “It gives us a way to place something in [a grid] and wrap text around it, and we don’t have any other way to do that. … And then things like Regions … I would love to see that progress because … once we can build a nice grid structure, we might want to flow content through it. We don’t have a way of doing that.”

“[A]s far as I’m concerned, this doesn’t stop here; this is just the start.”

Getting into Grid#section8

4 Reader Comments

  1. s/Burt/Bert/

    “Some ideas just weren’t feasible for phase one of a CSS grid. Bos’ concept, for instance, allowed for any arbitrary descendent of the grid to lay out as though it were a child element of the grid. That is a feature often referred to as “subgrid” and it didn’t make the cut for CSS Grid Layout 1.0”

    This wasn’t subgrid: this was a different (interesting, but imho less critical) feature. Subgrid was part of the initial CSS Grid Layout 1.0 Candidate Recommendation. It was removed from the spec this year because it didn’t make it into the first round of implementations.

    “It was … one that held back the spec work for quite a bit.” I’m going to dispute Rossen on this one, we spent very little time on the spec work for subgrid (like < 1% of editing effort), and a lot of time arguing whether it should be in level 1 of the spec. ?? Wrt Regions... Regions had a lot of opposition in the working group because, as proposed, it made a wreck of the content/style division. It required altering markup, adding lots of empty elements for the purpose of styling. A lot of common, interesting, responsive behaviors would therefore require JavaScript. It did not fulfill the design principles of CSS. *And* it was gnarly to implement in layout engines, as it broke a lot of assumptions in their architecture--the resulting fragility likely motivated its subsequent removal. Grid had none of these problems: it upheld the CSS design principles, and it fit neatly into as a new module within the layout engine. This is why it succeeded where Regions failed.

  2. Excellent article which draws historical lines and explains some of the non-linearity in spec development.

    Elika’s comment is also very good. It’s a pity that CSS doesn’t have selectable regions; the proposal which is mentioned in the article had numerous problems which were identified early, but not rectified.

    CSS multi-column layout provides a model where regions are created and placed automatically. By adding column selectors, one could quite easily provide selectable regions.

Got something to say?

We have turned off comments, but you can see what folks had to say before we did so.

More from ALA

From Beta to Bedrock: Build Products that Stick.

Building towards bedrock means sacrificing some short-term growth potential in favour of long-term stability. But the payoff is worth it: products built with a focus on bedrock will outlast and outperform their competitors, and deliver sustained value to users over time. Liam Nugent shows us how.

User Research Is Storytelling

At a time when budgets for user experience research seem to have reached an all-time low, how do we get stakeholders and executives alike invested in this crucial discipline? Gerry Duffy walks us through how the research we conduct is much like telling a compelling story, complete with a three-act narrative structure, character development, and conflict resolution—with a happy ending for researchers and stakeholders alike.
什么时间是排卵期 吊孝是什么意思 减肥晚上可以吃什么 大姨妈期间吃什么好 skp是什么品牌
爱上一个人是什么感觉 吃什么水果能壮阳 看肝挂什么科 肠粉是用什么材料做的 吃丝瓜有什么功效和作用
女人梦到地震预示什么 大方得体是什么意思 边沿是什么意思 斑秃是什么原因造成的 喝柠檬水对身体有什么好处
老想睡觉是什么原因 兰花是什么季节开的 月经推迟十天是什么原因 网黄是什么意思 肾疼是因为什么
什么什么深长hcv7jop9ns1r.cn 氨纶是什么面料优缺点hcv8jop9ns2r.cn 尿hcg阴性是什么意思hcv9jop3ns7r.cn 细菌性肠炎是什么原因引起的hcv9jop8ns0r.cn 舌面有裂纹是什么原因gangsutong.com
烂脚丫用什么药wzqsfys.com 附件炎是什么原因引起的mmeoe.com 故宫什么时候建的hcv8jop4ns4r.cn 杏仁有什么作用和功效hcv9jop0ns4r.cn 口吐白沫是什么原因hcv9jop4ns7r.cn
两个子是什么字hcv8jop2ns5r.cn 唐卡是什么材料做的jinxinzhichuang.com 夸父是一个什么样的人hcv9jop7ns3r.cn 属牛本命佛是什么佛hcv8jop4ns9r.cn 猕猴桃对身体有什么好处hcv8jop6ns8r.cn
女生下面出血但不是月经为什么imcecn.com 胃一阵一阵的疼吃什么药inbungee.com 弱水三千什么意思hcv9jop4ns2r.cn 痛风急性发作期吃什么药hcv7jop5ns0r.cn 1992年属猴的是什么命hcv8jop3ns1r.cn
百度