首页›Eric Meyer›文章

Eighteen

Eric Meyer · 2026年6月7日

AI 摘要 AI 生成,可能有误

作者在女儿丽贝卡去世十二年后,回想起她本应迎来的十八岁生日,回忆起她的葬礼,并想象她未曾经历的成年生活,包括她很可能本会参加的高中毕业典礼。他认为,从她的“幻影童年”过渡到“幻影成年”,可能是这个家庭的一个转折点——按照传统,他们每年都会一起去扫墓,如今开始讨论是否放宽这一仪式。今年,全家人在她生日当天前去祭扫,一个玻璃纸旋转装饰在她的名字上投下闪闪发光的紫色图案——包括一只蝴蝶——这样的景象,他们所认识的丽贝卡一定会很喜欢。

Today is very much like it was twelve years ago, warm but not hot and cool in the shade, the sky a kind of clear you don’t often get in Cleveland.  It felt that way from dawn, and when I went back to check the weather for June 7, 2014, which is a thing you can so easily do now, the feeling was validated.

I find myself thinking less of that day and more of the day of her funeral.  Sitting with my sister and father, giving them contingency instructions.  The masses of people.  The words I wish I’d thought to add.  The limo ride through so many road construction zones.  The thud of earth on urn, mourner after mourner adding a few more clods to the slowly filling grave.  Clinging to Kat as we sobbed.  All of them almost like things I saw in a movie once, and also absolutely nothing like that.

This would be her adulthood.  No longer a child, finally, on the schedule that should have been kept.  She most likely would have graduated high school a couple of weeks ago, unless the spark in her drove her to graduate a year early, or drove her to so much juvenile mischief that she ended up a year behind.  Even in the latter case, I don’t think she would have been destructive, but I can’t be sure of that.  She never got close to the age where kids learn how to be cruel, let alone the later age where they learn why they shouldn’t be.  Well, most of them do; the exceptions go on to run bad governments.

继续阅读全文

为了尊重作者,这里只展示开头几段。你可以去原文阅读,或者在 HorizonReader 里读:划线做笔记、让 AI 帮忙。

更多来自 Eric Meyer

My Interop 2027 Rankings

AI 摘要The author shares their personal rankings for Interop 2027 proposals using Jake Archibald's community ranking tool, placing JavaScript Temporal first, followed by improving CSS sibling-count()/sibling-index() interop, unprefixed CSS box-decoration-break, HTML headingoffset/headingreset attributes, and CSS line-clamp plus margin-trim. In total they ranked twenty proposals and explain their reasoning for each, while emphasizing these personal rankings do not predict how they will vote as Igalia's representative to Interop. They encourage readers to rank and share their own favorite proposals.

In situ Syntax Highlighting in macOS Applications Like Keynote

AI 摘要The author shares a macOS workflow for syntax-highlighting code blocks in place within Keynote (and other apps), built from the highlight command-line tool, a custom shell script, and an Automator Quick Action that adds an entry to the Services submenu of the right-click menu. The setup preserves the original font face and size, though line spacing is reset to 1.0 due to a limitation in highlight, and support for other languages can be added by duplicating the workflow and changing the syntax variable. Tested on macOS Sequoia, the approach has caveats such as failing on text with mixed fonts or sizes and performing no validation that the selected text matches the configured language.

Accessible (I Think) Split-Cell Table Headers

AI 摘要The author describes an attempt to build an accessible split-diagonal table header cell, inspired by Apollo 16 documentation, using rowspan on header cells (to satisfy WCAG 1.3.3), CSS positioning, and a gradient to draw the diagonal. He shares layout caveats, including a Safari bug with relative positioning on thead that required a workaround, and notes basic testing with accessibility experts found no major issues. He ultimately asks assistive technology users to confirm whether the solution actually works well for them.

Canvas-ing the Web

AI 摘要The author describes using Chrome's new flag-gated HTML-in-canvas API to add a one-click 'Download banner image' button to a browser-based tool built at Igalia for generating social media banners and thumbnails. They recount overcoming technical snags, including avoiding infinite recursion when inserting a custom element into a canvas (solved with Element.moveBefore() and connectedMoveCallback()) and dynamically resizing the canvas to fit its content. They conclude that while HTML-in-canvas excels for static screenshot-style use cases like theirs, the inherent mismatch between fluid DOM layout and fixed canvas dimensions will likely limit its broader adoption on the web.

Targeting by Reference in the Shadow DOM

AI 摘要The article discusses the Reference Target proposal, which addresses how the Shadow DOM breaks references such as label 'for' attributes, popoverTarget, commandFor, and ARIA attributes by creating a separate node tree. The proposed shadowRootReferenceTarget attribute lets a component redirect external references to a specific element inside its shadow tree, with prototype implementations available in Chrome and Safari (and a Gecko version under review). The author encourages developers to test the feature in these browsers and provide feedback on the proposal's issue tracker.