Bug 19096 - interpark.co.kr : layout completely broken
Summary: interpark.co.kr : layout completely broken
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 525.x (Safari 3.1)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL: http://book.interpark.com/product/Boo...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-15 18:02 PDT by Jungshik Shin
Modified: 2011-05-13 11:09 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jungshik Shin 2008-05-15 18:02:21 PDT
Go to the url above and find that the layout is broken.

It's likely to be an evangelism issue. Only IE can render the page as intended. 

Interpark.com  is a Korean amazon.com
Comment 1 Jungshik Shin 2008-05-15 18:50:53 PDT
Below is a JS snippet. It relies on document.all to do different things for IE (document.all)  and Netscape 4.x (document.layers) !! Their clock must have stopped in 1998. Sigh !

A random idea : Can we introduce a limited support for 10-yr old non-standard document.layers in a quirk mode? 



----------------------------
       if (document.all)
       {
               layerRef='document.all'
               styleRef='.style.'
       }
       else if (document.layers)
       {
               layerRef='document.layers'
               styleRef='.'
       }
       // show DIV
       function showLayer(lname) {

               eval(layerRef+'["'+lname+'"]'+styleRef+'display="block"');
       }
       // hide DIV
       function hideLayer(lname) {

               eval(layerRef+'["'+lname+'"]'+styleRef+'display="none"');
       }

----------------------------
Comment 2 Deirdre Saoirse Moen 2008-05-15 20:49:43 PDT
<rdar://problem/4209402 >
Comment 3 Jungshik Shin 2011-05-13 11:09:35 PDT
Apparently, the site has been revised to work better with modern browsers. The layout is not broken any more.  

There's one 'behavior' issue that does not seem quite right, but I have to try the site with (an old version of) MSIE and see what their intent was.