Live data from Hacker News

A subtle layout bug in Google Search: When CJK text-wrapping meets float

likang.dev

11–20 of 26 posts

Re: A subtle layout bug in Google Search: When CJK text-wrapping meets float

#11

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...

I thought those were on CJK encodings like GB 18030 and Shift-JIS? (Absolutely massive and one of the few places you’ll still encounter the insane stateful four-charset monster that is ISO 2022, so deserving of a lot of testing.)

Re: A subtle layout bug in Google Search: When CJK text-wrapping meets float

#13
post #6

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."

Well I hope nobody follows Google's design philosophy seriously. They are among the worst in the business.

I've said this for a long time, but the only reason Google search was successful is because they were lucky enough to just have a text area for the search box. If they had tried to do anything else, they would have drowned miserably because their design choices and decisions are so bad.

Re: A subtle layout bug in Google Search: When CJK text-wrapping meets float

#14
post #6

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."

> The homepage of Google has n-e-v-e-r had an error free console

I just checked, mine is error free.

https://google.com

Are you sure it's not your ad-blocker or another browser extension that causes this for you ?

Re: A subtle layout bug in Google Search: When CJK text-wrapping meets float

#15
post #6

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."

Well I hope nobody follows Google's design philosophy seriously. They are among the worst in the business. I've said this for a long time, but the only reason Google search was successful is because they were lucky enough to just have a text area for the search box. If they had tried to do anything else, they would have drowned miserably because their design choices and decisions are so bad.

In other words: they made good design decisions. If they hadn't made good design decisions, their design would be bad.

Re: A subtle layout bug in Google Search: When CJK text-wrapping meets float

#16

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...

Just wait until you have to test vertical traditional Mongolian sites:

http://khumuunbichig.montsame.mn/index.php?home

Re: A subtle layout bug in Google Search: When CJK text-wrapping meets float

#17
post #6

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."

> The homepage of Google has n-e-v-e-r had an error free console I just checked, mine is error free. https://google.com Are you sure it's not your ad-blocker or another browser extension that causes this for you ?

Opening on Firefox 132.0.2 (all extensions disabled) I get a Content-Security-Policy error, on Edge 131.0.2903.51 (stock) in the issues panel reports 40 Errors and 147 Warnings (With Top Browsers selected). Downloading chrome 131.0.6778.86 just to test they also have a different error "Define @import rules at the top of the stylesheet" which specifies that the @import is ignored due to it not being at the top. They're just hidden in the issues, so same as edge.

This might be more down to the browser you're using and not the extensions present (while extensions like ublock origin do cause more errors.) Not even chrome has 0 problems with their own default home page.

Re: A subtle layout bug in Google Search: When CJK text-wrapping meets float

#18
post #15

Earlier quoted context omitted.

Well I hope nobody follows Google's design philosophy seriously. They are among the worst in the business. I've said this for a long time, but the only reason Google search was successful is because they were lucky enough to just have a text area for the search box. If they had tried to do anything else, they would have drowned miserably because their design choices and decisions are so bad.

In other words: they made good design decisions. If they hadn't made good design decisions, their design would be bad.

I think every other design that they have ever done apart from that Google search homepage has been horrible and bad. So that's why they lucked out on that first one.

Re: A subtle layout bug in Google Search: When CJK text-wrapping meets float

#19
post #15

Earlier quoted context omitted.

In other words: they made good design decisions. If they hadn't made good design decisions, their design would be bad.

I think every other design that they have ever done apart from that Google search homepage has been horrible and bad. So that's why they lucked out on that first one.

I would definitely read an in-depth exploration of Google's design failures from someone informed & opinionated on the topic. I found this looking for such a thing: https://ux.stackexchange.com/questions/81965/what-are-the-di...

Re: A subtle layout bug in Google Search: When CJK text-wrapping meets float

#20

Earlier quoted context omitted.

I think every other design that they have ever done apart from that Google search homepage has been horrible and bad. So that's why they lucked out on that first one.

I would definitely read an in-depth exploration of Google's design failures from someone informed & opinionated on the topic. I found this looking for such a thing: https://ux.stackexchange.com/questions/81965/what-are-the-di...

I've read a bunch of stuff about their design and why it's so bad, including this one. Bottom line is you cannot scientifically manage your way to design. That is why in the future we are going to see designers with aesthetic sense become more and more useful as AI sort of like starts doing everything.
Post reply on HN