's Avatar

@bfgeek.bsky.social

27 Followers  |  46 Following  |  23 Posts  |  Joined: 14.06.2023  |  1.7856

Latest posts by bfgeek.bsky.social on Bluesky

A thing to keep in mind is that the performance of a native variant is likely to be worse than a polyfill (bindings overhead as DOMRect etc arent JS native objects)

05.07.2025 16:46 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

`container-type` forces `layout` containment, which forces an independent formatting context for the subgrid (it'll be a separate grid layout). The other browsers are wrong here.

30.06.2025 19:51 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

... you need a 16?-patch - e.g. various T-intersections, etc. Maybe that isn't needed, but don't want to repeat the usage problems of border-image.

cc/ @tabatkins.com

11.06.2025 19:00 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

(I'm helping with this feature)

If you can come up with a good syntax let us know!

Supporting images is clearly a usecase that this should support at some stage - but I don't think I've met a webdev that can use border-image out of the box. The situation here is "worse" as instead of a 9-patch...

11.06.2025 19:00 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 2    ๐Ÿ“Œ 0

.... so if you can come up with a good syntax for this use-case please let us know!

(I don't think i've met a web-developer that can successfully use border-image first try).

11.06.2025 16:38 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

This is a very good base proposal, e.g. it does what column-rule-* could already do with some minimal extensions. It covers a lot of use-cases.

There are some further extensions to the syntax - but are difficult. (supporting images). The prior art here (border-image) isn't really intuitive....

11.06.2025 16:38 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

This is an awesome proposal that the Microsoft Edge engineers have been working on.

It extends the existing column-rule-* properties to work for all gaps in an intuitive way. If you are interested I'd encourage you to try it out.

The repeat() syntax is really nicely with arbitrary sized grid/flex.

11.06.2025 16:34 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

selectors (classes/ids) are. (For clarification). Hits CSS tooling which does renaming that isn't aware of this; accidentally load something up in quirks mode and you generated class of ".aB" suddenly matches more things!

06.06.2025 05:04 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

"except for the things we name ourselves" - except in quirks mode :)

05.06.2025 20:26 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

A meta comment is that the "no comments" policy within WebKit that was present was super bad a ramping up new contributors - it was difficult to remove that policy within Blink but eventually got there - (was difficult to convince original WebKit contributors that it was harmful at the time).

12.03.2025 17:41 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Its scattered all over the place in WebKit, but a few examples:
github.com/WebKit/WebKi...
github.com/WebKit/WebKi...
github.com/WebKit/WebKi...

12.03.2025 17:40 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
CSS Basic User Interface Module Level 4

Make sure you disable the compressibility quirk! drafts.csswg.org/css-ui-4/#:~....

11.03.2025 21:20 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Preview
Google Maps changed the way we get around. It all began in a spare bedroom in Sydney This weekend, Google Maps turns 20 โ€“ and Stephen Ma is writing himself and his friends back into its origin story

www.theguardian.com/technology/2...

08.02.2025 22:52 โ€” ๐Ÿ‘ 420    ๐Ÿ” 43    ๐Ÿ’ฌ 26    ๐Ÿ“Œ 4
Preview
Arranging Invisible Icons in Quadratic Time Near the end of January I was pointed to a twitter thread where a Windows user with a powerful machine was hitting random hangs in explorer. Lots of unscientific theories were being proposed. I donโ€ฆ

Bruce Dawson has some great posts on this -
randomascii.wordpress.com/2021/02/16/a....

24.01.2025 22:43 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Quadratic complexity is truly the worst complexity. At small N its close enough to linear time that it doesn't matter, for large N it hangs the CPU.

24.01.2025 22:42 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

... just for consistency. E.g. if a developer is happy using "display:inline-flex" its a pretty major sharp edge if suddenly "display:inline-new-thing" doesn't work. You shouldn't need to learn a new thing if you are happy with the old.

(IMO people got way too excited about the new syntax)

12.12.2024 20:25 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

"no point in the new syntax" - It was more for allowing "other" display-outside types (namely "run-in"... which nobody has shipped yet), not "this is the way you should do it". The "new" syntax in itself doesn't provide much (any?) value.

We'll likely always provide the "legacy" inline-* types...

12.12.2024 20:25 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

What browser did you test in (that kinda looks like FF?)

05.12.2024 20:50 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Group similar acting properties together. Most things are prefixed which helps, eg grid-*, but things like align-self, justify-self, the inset properties mentioned above dont have common prefix. Additionally there are set of properties which only have a paint affect for example, (vs a layout affect)

28.11.2024 00:48 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

A lot of places avoid using the short hands excessively (e.g. inset) as it's more difficult to read in that form for newer developers (you need to be familiar with the exact order).

28.11.2024 00:43 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

It spreads similar acting properties in a non-logical order. E.g. if you are trying to position something via inset properties, you might not see that "top" and "bottom" are both set in a long rule.

28.11.2024 00:41 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Smarter ordering. Alphabetical ordering is typically confusing. E.g. top/right/bottom/left should be grouped together (in that order).

27.11.2024 05:17 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 4    ๐Ÿ“Œ 0
Post image

As an example of quality - after implementing+shipping the new grid layout algorithm - Grid bugs dropped significantly, and Blink has had very few *new* grid bugs reported over the past year or so.
e

15.06.2023 16:19 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Intent to Ship: CSS Subgrid

Massive congratulations to the Edge team for sending out the intent to ship for subgrid. The Edge team always impresses me with the attention to detail they bring to a project, and quality of implementation.

https://groups.google.com/a/chromium.org/g/blink-dev/c/qvfOyAVePfs/m/S04XMmTlCwAJ

15.06.2023 16:18 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

@bfgeek is following 19 prominent accounts