9 comments

  • zelon88 an hour ago

    Not surprising.

    The homepage of Google has n-e-v-e-r had an error free console, which I find funny considering it's literally a white page with a logo and a lonely text field, and considering that Google expends so much effort trying to sling their design methodology onto everyone. "Do as I say, not as I do."

  • silvestrov 2 hours ago

    In short: don't use "float: left/right" for anything besides real floating images.

    In this case a "display: flex" on the <a> element would be a much better solution.

    • londons_explore an hour ago

      I wonder how long ago this CSS was written...

      That particular UI element of google search has been around decades, so might predate css flex...

      • ipaddr an hour ago

        2009 but css flex didn't become popular until 2014+.

        • mananaysiempre 2 minutes ago

          In 2009, one still needed to give IE6 serious thought (even if, depending on the use case, the conclusion could already be “nope”). At the time, I had someone telling me that we shouldn’t waste our time on supporting mobile. And flexbox was more a curiosity you studied with a hope of using someday than a serious option.

  • tapirl 40 minutes ago

    Another problem for years in Chrome is, if a line is wrapped between two Chinese words, Chrome will insert a space between them in rendering. (Firefox doesn't)

  • JeremyBarbosa 2 hours ago

    While following the development of the Ladybird browser[0] I found out many of the Web Platform Tests[1] are related to CJK rendering which I found surprising, but seeing this it makes a lot more sense.

    [0] https://ladybird.org/

    [1] https://wpt.fyi/results/?label=experimental&label=master&ali...

  • clacker-o-matic 2 hours ago

    Fascinating article! Weird side note but lovely note callout. I’ve been trying to get something similar on my site but haven't got it to work right. Is the code for your site open source? I check your GitHub and couldn’t find it.

  • DimuP 2 hours ago

    Now i have to learn html again