Closed Bug 798183 Opened 12 years ago Closed 12 years ago

Implement "specially crafted defaults" for self-reported WAP/Mobile/WML/handheldFriendly sites

Categories

(Core :: Layout, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 798068

People

(Reporter: cjones, Unassigned)

References

()

Details

In the current implementation, nsContentUtils::GetViewportInfo() returns garbage values for these self-reporting sites.  This causes bad things to happen, e.g. bug 798068.  There's no way for clients to tell that one of these sites was found without doing its own header parsing, which is what nsContentUtils::GetViewportInfo() is designed to avoid.

We should add this logic to nsContentUtils::GetViewportInfo().
Darnit, submitted too quickly.

If bug 795657 were fixed, the current computations would give the URL a tremendously-wide viewport width, and then zoom out the content.  This looks pretty silly.
Please reopen if there's any additional hackery we need for this class of pages.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.