lade...
random avatar

zcorpan - Network

Posts Subscribe

- The automatic heading level (a.k.a. the outline algorithm) was dropped from the spec, but the default UA stylesheet remained. This is what...

https://mastodon.social/@zcorpan...

- The automatic heading level (a.k.a. the outline algorithm) was dropped from the spec, but the default UA stylesheet remained. This is what we're trying to remove now.

16.1.2025 16:38- The automatic heading level (a.k.a. the outline algorithm) was dropped from the spec, but the default UA stylesheet remained. This is what...
https://mastodon.social/@zcorpan...

- The default rendering was implemented in browsers, but not the heading level in the accessibility tree.- Websites started to use...

https://mastodon.social/@zcorpan...

- The default rendering was implemented in browsers, but not the heading level in the accessibility tree.
- Websites started to use sectioning elements, but didn't expect automatic heading levels. It was not possible for browsers to change that without breaking user expectations.

16.1.2025 16:38- The default rendering was implemented in browsers, but not the heading level in the accessibility tree.- Websites started to use...
https://mastodon.social/@zcorpan...

The backstory here is- h1 was specified to have automatic heading level based on the number of ancestor sections (or aside, article, nav).-...

https://mastodon.social/@zcorpan...

The backstory here is

- h1 was specified to have automatic heading level based on the number of ancestor sections (or aside, article, nav).
- The default rendering was specified to (roughly) match, such that <section><h1> would have the same font-size and margin as h2
- cont...

16.1.2025 16:37The backstory here is- h1 was specified to have automatic heading level based on the number of ancestor sections (or aside, article, nav).-...
https://mastodon.social/@zcorpan...

Here's the new 2025 reset.css:h1 { margin-block: 0.67em; font-size: 2em; }Thank you for adopting this on all your sites!See...

https://mastodon.social/@zcorpan...

Here's the new 2025 reset.css:

h1 { margin-block: 0.67em; font-size: 2em; }

Thank you for adopting this on all your sites!

See github.com/whatwg/html/issues/

16.1.2025 15:20Here's the new 2025 reset.css:h1 { margin-block: 0.67em; font-size: 2em; }Thank you for adopting this on all your sites!See...
https://mastodon.social/@zcorpan...

Got an answer on X.Inkscape: Path, Object to Path

https://mastodon.social/@zcorpan...

Got an answer on X.

Inkscape: Path, Object to Path

22.1.2024 22:53Got an answer on X.Inkscape: Path, Object to Path
https://mastodon.social/@zcorpan...

How do I convert an SVG with text and embedded TTF webfont (as data url, but can make the font external if needed) into SVG paths?

https://mastodon.social/@zcorpan...

How do I convert an SVG with text and embedded TTF webfont (as data url, but can make the font external if needed) into SVG paths?

22.1.2024 22:22How do I convert an SVG with text and embedded TTF webfont (as data url, but can make the font external if needed) into SVG paths?
https://mastodon.social/@zcorpan...

Bonus: some slides reference https://wpc.guide (which I helped write when I worked at Bocoup) which I think is useful material for...

https://mastodon.social/@zcorpan...

Bonus: some slides reference wpc.guide (which I helped write when I worked at Bocoup) which I think is useful material for onboarding folks interested in contributing to the web platform.

End.

19.12.2023 08:17Bonus: some slides reference https://wpc.guide (which I helped write when I worked at Bocoup) which I think is useful material for...
https://mastodon.social/@zcorpan...

Also see web-platform-tests documentation on how to write a testing plan (by Mike...

https://mastodon.social/@zcorpan...

Also see web-platform-tests documentation on how to write a testing plan (by Mike Pennisi)

web-platform-tests.org/writing

Finally, as promised, a link to my slides of my 2020 presentation for how to write web-platform-tests (and why)

slides.com/zcorpan/contributin

19.12.2023 08:16Also see web-platform-tests documentation on how to write a testing plan (by Mike...
https://mastodon.social/@zcorpan...

Thanks all for the actual heavy-lifting!@dbaron @bkardell @fantasai @Meyerweb @annevk :smaug @emilio Koji Ishii @rniwa and more — look...

https://mastodon.social/@zcorpan...

Thanks all for the actual heavy-lifting!

@dbaron @bkardell
@fantasai
@Meyerweb
@annevk :smaug @emilio Koji Ishii @rniwa
and more — look at this long GH thread!

github.com/whatwg/html/issues/

19.12.2023 08:14Thanks all for the actual heavy-lifting!@dbaron @bkardell @fantasai @Meyerweb @annevk :smaug @emilio Koji Ishii @rniwa and more — look...
https://mastodon.social/@zcorpan...

Now, most likely :dir() would have gotten the same attention anyway (because there was enough web developer demand), but I like to think...

https://mastodon.social/@zcorpan...

Now, most likely :dir() would have gotten the same attention anyway (because there was enough web developer demand), but I like to think about butterfly effects and how something I spent about an hour on 3 years ago got this momentum!

19.12.2023 08:07Now, most likely :dir() would have gotten the same attention anyway (because there was enough web developer demand), but I like to think...
https://mastodon.social/@zcorpan...

I also have to attribute Bootstrap since they created the Wall of browser bugs for Bootstrap 4.5, where :dir() support was requested for...

https://mastodon.social/@zcorpan...

I also have to attribute Bootstrap since they created the Wall of browser bugs for Bootstrap 4.5, where :dir() support was requested for Edge/Chrome/Safari as a Most Wanted Feature, and the reason I picked it to write the demo testing plan.

getbootstrap.com/docs/4.5/brow

19.12.2023 08:06I also have to attribute Bootstrap since they created the Wall of browser bugs for Bootstrap 4.5, where :dir() support was requested for...
https://mastodon.social/@zcorpan...

... :dir() was part of the Interop 2023 CSS Pseudo-classes focus area (not including Shadow DOM spec changes). Currently, Firefox passes...

https://mastodon.social/@zcorpan...

... :dir() was part of the Interop 2023 CSS Pseudo-classes focus area (not including Shadow DOM spec changes). Currently, Firefox passes 97.9%, Chrome/Edge and Safari pass 100%. Not only supported across browsers but also interoperable!

wpt.fyi/interop-2023

19.12.2023 08:04... :dir() was part of the Interop 2023 CSS Pseudo-classes focus area (not including Shadow DOM spec changes). Currently, Firefox passes...
https://mastodon.social/@zcorpan...

... many new tests have been written, 40+ for the Shadow DOM change but also generally per the original testing...

https://mastodon.social/@zcorpan...

... many new tests have been written, 40+ for the Shadow DOM change but also generally per the original testing plan.

github.com/web-platform-tests/

... there's a proposal to add :dir() as an Interop 2024 focus area, where, if accepted, participating browsers commit to improving interoperability (by passing more tests)!

github.com/web-platform-tests/

19.12.2023 08:03... many new tests have been written, 40+ for the Shadow DOM change but also generally per the original testing...
https://mastodon.social/@zcorpan...

In 2020, I created a presentation about how to write web-platform-tests. (Link to slides in thread.)As part of that, I made a...

https://mastodon.social/@zcorpan...

In 2020, I created a presentation about how to write web-platform-tests. (Link to slides in thread.)

As part of that, I made a "demo" testing plan for the :dir() pseudo-class, and a PR to add testing coverage for <input type=tel>. At the time :dir() was Gecko-only.

Now ... :

... :dir() is implemented in WebKit (since Safari 16.4), Chromium (since M120), and Gecko.

caniuse.com/css-dir-pseudo

... the HTML spec for "directionality" has been updated to support Shadow DOM

github.com/whatwg/html/pull/97

19.12.2023 08:02In 2020, I created a presentation about how to write web-platform-tests. (Link to slides in thread.)As part of that, I made a...
https://mastodon.social/@zcorpan...

Nice to see several focus areas with 100% pass rates in Interop 2023!Firefox Nightly now has 100% for :has() 🎉 and it will ship in...

https://mastodon.social/@zcorpan...

Nice to see several focus areas with 100% pass rates in Interop 2023!

Firefox Nightly now has 100% for :has() 🎉 and it will ship in Firefox 121 🎉🎉

wpt.fyi/interop-2023

30.11.2023 22:00Nice to see several focus areas with 100% pass rates in Interop 2023!Firefox Nightly now has 100% for :has() 🎉 and it will ship in...
https://mastodon.social/@zcorpan...

Can we change the default of `<meta name=viewport>` to `width=device-width,initial-scale=1` so that it's no longer part of the...

https://mastodon.social/@zcorpan...

Can we change the default of `<meta name=viewport>` to `width=device-width,initial-scale=1` so that it's no longer part of the Required Pragma?

2.11.2023 09:21Can we change the default of `<meta name=viewport>` to `width=device-width,initial-scale=1` so that it's no longer part of the...
https://mastodon.social/@zcorpan...

Web devs: assuming you can do@ import url("...") supports("...") ...;and<link rel=stylesheet href="..."...

https://mastodon.social/@zcorpan...

Web devs: assuming you can do

@ import url("...") supports("...") ...;

and

<link rel=stylesheet href="..." media="supports(...) ...">

would you expect this to work also?

@ media supports(...) ... {}

Yes
No
See results

19.9.2023 07:03Web devs: assuming you can do@ import url("...") supports("...") ...;and<link rel=stylesheet href="..."...
https://mastodon.social/@zcorpan...

Hey @Wilto do you happen to have RICG irc logs still available? Link in https://github.com/ResponsiveImagesCG/picture-element/issues/247 is...

https://mastodon.social/@zcorpan...

Hey @Wilto do you happen to have RICG irc logs still available? Link in github.com/ResponsiveImagesCG/ is broken

25.5.2023 16:04Hey @Wilto do you happen to have RICG irc logs still available? Link in https://github.com/ResponsiveImagesCG/picture-element/issues/247 is...
https://mastodon.social/@zcorpan...

#GitHub tip: use this alias by @gnarf to checkout PRs by number without having to add remotes etc.$ git pr...

https://mastodon.social/@zcorpan...

tip: use this alias by @gnarf to checkout PRs by number without having to add remotes etc.

$ git pr 1234

gist.github.com/gnarf/5406589

4.1.2023 15:21#GitHub tip: use this alias by @gnarf to checkout PRs by number without having to add remotes etc.$ git pr...
https://mastodon.social/@zcorpan...

Yay! This is now available cross-browser."The <source> element supports height & width attributes when it is a child of a...

https://mastodon.social/@zcorpan...

Yay! This is now available cross-browser.

"The <source> element supports height & width attributes when it is a child of a <picture> element." in Firefox 108

developer.mozilla.org/en-US/do

Spec issue: github.com/whatwg/html/issues/
Spec PR: github.com/whatwg/html/pull/58

20.12.2022 09:27Yay! This is now available cross-browser."The <source> element supports height & width attributes when it is a child of a...
https://mastodon.social/@zcorpan...
Subscribe
To add news/posts to your profile here, you must add a link to a RSS-Feed to your webfinger. One example how you can do this is to join Fediverse City.
         
Webfan Website Badge
Nutzungsbedingungen   Datenschutzerklärung  Impressum
Webfan | @Web pages | Fediverse Members