[Webkit-unassigned] [Bug 53707] Viewport Warning/Error Messages Are Now Inaccurate

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 3 11:44:58 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=53707





--- Comment #33 from Joseph Pecoraro <joepeck at webkit.org>  2011-03-03 11:44:57 PST ---
> In the above case it is not necessary as you are using fixed values.
> But in the case of using device-width is it.

If the user is already using the "device-width" keyword, we don't need
to provide a tip that they are using the keyword. The code change I'm
adding would never be reached in that case, only when there is a
numeric constant.


> <meta name="viewport" content="width=device-width, target-densitydpi=160">
> 
> on a 480 wide device substitutes device-width with 320, due to the higher dpi of 240, where as 
>
> <meta name="viewport" content="width=device-width, target-densitydpi=240">
> 
> substitutes device-width with 480.

Your descriptions sound backwards to the meta tags. Are they?

I see what you're saying, but in that case my question above still applies.
I'll rephrase it below with your examples (assuming they were backwards)
with the description.

On a 480px wide device, are you suggesting that both of following should
print a tip that the width constant could be device-width?

  <meta name="viewport" content="width=480, target-densitydpi=160">
  <meta name="viewport" content="width=320, target-densitydpi=240">

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list