Comments (11)
from lighthouse.
Yep!
from lighthouse.
@mounirlamouri might know!
from lighthouse.
I do not think we do any kind of significant trimming in Chrome (there is a 4Ki limit but not what you are asking I think :)).
@addyosmani where do you see the trim? Is it in the home screen? or the Chrome UI?
from lighthouse.
I think it's more the visual wrangling you do to make sure it's not truncated on the home screen.
from lighthouse.
@mounirlamouri I see it in the homescreen. I'll see if I can put together a repro.
from lighthouse.
This is a smart check to have, yeah.
I am pretty sure i've seen quite different results on a Nexus 6 vs a smaller phone for this number.
@addyosmani have you gotten a sense of what string lengths work?
from lighthouse.
From my homescreen.. here's what is and isn't truncated, along with string lengths:
HackerWeb # 9
Play Store # 9
Pocket Cas… # 10
Chrome Ca… # 9
Popcorn Ti… # 10
What’s my… # 9
Flipkart Lite # 13
Guitar Tuner # 12
Trained To… # 10
Inbox Attack # 12
Get Kana! # 9
BusRouter… #9
By now, you can tell that Roboto doesn't use the same width for all letters. :)
An app called iiiiiiiiiiiiiiiii
(with 17 i's) will fit, but wwwwwwww
(with 8 w's) won't (and will get truncated to 7 plus an ellipsis).
from lighthouse.
If we know widths and fonts we can guess pretty well with a measureText
. We could ask the page to do it in JS as a gather once we have a manifest. It's messy.
from lighthouse.
Let me follow up with the android UI team... and see if I can get a real answer on this.
from lighthouse.
fixed by #145
from lighthouse.
Related Issues (20)
- How to configure triggered of the end of a navigation?
- Utilize localized failure messages from axe HOT 1
- Excessive style recalcs caused by CSS usage tracking HOT 4
- Improve documentation on standalone mode runners HOT 5
- Page crashes when running test from large DOM.getDocument response HOT 4
- Unexpected changes in main thread time reported around March 8th HOT 8
- Sequential network requests are simulated as parallel and the first rtt is ignored
- Lone surrogate character breaks PSI proto conversion HOT 4
- Was filing bug report when site crashed multiple before I could get the first report in HOT 2
- On certain audited pages, `totalBodyElements` are different from `MainDocumentContent` body nodes count HOT 1
- The Future of WordPress in the Age of AI Integration HOT 2
- Site security issues while making payment to Comcast. HOT 1
- SEO updates from recent search conversations
- Unexpected changes on main thread work from 11.6.0 to 11.7.1 HOT 3
- Viewport resizing to window size
- Lighthouse LCP Issue HOT 1
- LCP not recognized in many pages for this site. HOT 1
- Print stylesheet picked for Render-blocking resource HOT 1
- Incorrect user agent on pagespeed.web.dev HOT 1
- Protocol error (Target.getTargetInfo): Protocol error (Target.getTargetInfo): 'Target.getTargetInfo' wasn't found HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lighthouse.