Bug 19096
Summary: | interpark.co.kr : layout completely broken | ||
---|---|---|---|
Product: | WebKit | Reporter: | Jungshik Shin <jshin> |
Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED WORKSFORME | ||
Severity: | Normal | ||
Priority: | P2 | ||
Version: | 525.x (Safari 3.1) | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://book.interpark.com/product/BookDisplay.do?_method=Detail&sc.shopNo=0000400000&sc.dispNo=&sc.prdNo=200699610 |
Jungshik Shin
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
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Jungshik Shin
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"');
}
----------------------------
Deirdre Saoirse Moen
<rdar://problem/4209402 >
Jungshik Shin
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.