|
|
Created:
7 years, 11 months ago by Ted C Modified:
7 years, 11 months ago CC:
chromium-reviews, arv (Not doing code reviews) Base URL:
svn://svn.chromium.org/chrome/trunk/src Visibility:
Public. |
DescriptionFix sync signed in text from being too small.
Desktop updated the default size for web ui pages to be
75% of the default browser height. We don't want the font
size on this page to be dependent, so I'm removing that inclusion
for the welcome page.
Here's the change updating it to 75% (and it's about a year old...
is that how old m18 is?)
https://chromiumcodereview.appspot.com/9328020
BUG=168388
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=175763
Patch Set 1 #Patch Set 2 : Switched to specifying text size for the element. #
Total comments: 2
Patch Set 3 : Switch to em #Messages
Total messages: 18 (0 generated)
Do you want to update chrome/browser/ui/webui/chrome_url_data_manager.cc as well to ifdef out the line that sets the fontsize value?
On 2013/01/08 00:52:41, newt wrote: > Do you want to update chrome/browser/ui/webui/chrome_url_data_manager.cc as well > to ifdef out the line that sets the fontsize value? I don't know if we want to do that across all our webui pages. Especially ones we share with desktop that have font sizes updated correctly.
On 2013/01/08 01:00:56, Ted C wrote: > On 2013/01/08 00:52:41, newt wrote: > > Do you want to update chrome/browser/ui/webui/chrome_url_data_manager.cc as > well > > to ifdef out the line that sets the fontsize value? > > I don't know if we want to do that across all our webui pages. Especially ones > we share with desktop that have font sizes updated correctly. Gotcha. For example, NTP uses this smaller font size. lgtm.
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tedchoc@chromium.org/11801031/1
Presubmit check for 11801031-1 failed and returned exit status 1. Running presubmit commit checks ... ** Presubmit ERRORS ** Missing LGTM from an OWNER for files in these directories: chrome/browser/resources
+estade for owners
don't want it to be dependent on what? Instead of changing the boilerplate, you should increase the size of the particular span that you want abnormally large text for.
Dependent on the font size setting in the resources. This is the only text on the page and it seems overkill to inherit the webui default just to have to compensate the text size to have it readable. 75% on a phone is quite small with a fixed position viewport. And if this default font size is changed then you'll need to change this page, which wouldn't be the case with this change. On Jan 7, 2013 6:05 PM, <estade@chromium.org> wrote: > don't want it to be dependent on what? Instead of changing the > boilerplate, you > should increase the size of the particular span that you want abnormally > large > text for. > > https://chromiumcodereview.**appspot.com/11801031/<https://chromiumcodereview... >
On 2013/01/08 03:37:24, Ted C wrote: > Dependent on the font size setting in the resources. This is the only text > on the page and it seems overkill to inherit the webui default just to have > to compensate the text size to have it readable. it's the only text until someone adds another span somewhere. I consider it coincidental that this even works (for example, if you wanted 18px instead of 16px for this span, you'd still have to add a CSS rule). > > 75% on a phone is quite small with a fixed position viewport. And if this > default font size is changed then you'll need to change this page, which > wouldn't be the case with this change. if the default is changed, it's because we want the font to change everywhere, so this is a plus. > On Jan 7, 2013 6:05 PM, <mailto:estade@chromium.org> wrote: > > > don't want it to be dependent on what? Instead of changing the > > boilerplate, you > > should increase the size of the particular span that you want abnormally > > large > > text for. > > > > > https://chromiumcodereview.**appspot.com/11801031/%3Chttps://chromiumcoderevi...> > >
Updated with an explicit size instead. On 2013/01/08 20:45:05, Evan Stade wrote: > On 2013/01/08 03:37:24, Ted C wrote: > > Dependent on the font size setting in the resources. This is the only text > > on the page and it seems overkill to inherit the webui default just to have > > to compensate the text size to have it readable. > > it's the only text until someone adds another span somewhere. I consider it > coincidental that this even works (for example, if you wanted 18px instead of > 16px for this span, you'd still have to add a CSS rule). > > > > > 75% on a phone is quite small with a fixed position viewport. And if this > > default font size is changed then you'll need to change this page, which > > wouldn't be the case with this change. > > if the default is changed, it's because we want the font to change everywhere, > so this is a plus. > > > On Jan 7, 2013 6:05 PM, <mailto:estade@chromium.org> wrote: > > > > > don't want it to be dependent on what? Instead of changing the > > > boilerplate, you > > > should increase the size of the particular span that you want abnormally > > > large > > > text for. > > > > > > > > > https://chromiumcodereview.**appspot.com/11801031/%253Chttps://chromiumcodere...> > > >
https://codereview.chromium.org/11801031/diff/6001/chrome/browser/resources/a... File chrome/browser/resources/about_welcome_android/about_welcome_android.css (right): https://codereview.chromium.org/11801031/diff/6001/chrome/browser/resources/a... chrome/browser/resources/about_welcome_android/about_welcome_android.css:45: font-size: 16px; this should be 1.3em because then it will depend on the user's default font size setting (which is a good thing).
https://codereview.chromium.org/11801031/diff/6001/chrome/browser/resources/a... File chrome/browser/resources/about_welcome_android/about_welcome_android.css (right): https://codereview.chromium.org/11801031/diff/6001/chrome/browser/resources/a... chrome/browser/resources/about_welcome_android/about_welcome_android.css:45: font-size: 16px; On 2013/01/09 00:41:55, Evan Stade wrote: > this should be 1.3em because then it will depend on the user's default font size > setting (which is a good thing). Done.
thanks, lgtm
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tedchoc@chromium.org/11801031/10001
Retried try job too often on win_aura for step(s) content_browsertests
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tedchoc@chromium.org/11801031/10001
Message was sent while issue was closed.
Change committed as 175763 |