зеркало из https://github.com/mozilla/pjs.git
Make frameborder=0 work again (bug 147883), patch by mats.palmgren@bredband.net, r=jkeiser@netscape.com, sr=dbaron@fas.harvard.edu
This commit is contained in:
Родитель
fd98a659de
Коммит
86be0fdf32
|
@ -924,7 +924,7 @@ nsFrameborder nsHTMLFramesetFrame::GetFrameBorder(nsIContent* aContent)
|
|||
{
|
||||
nsFrameborder result = eFrameborder_Notset;
|
||||
|
||||
nsCOMPtr<nsIHTMLContent> content(do_QueryInterface(mContent));
|
||||
nsCOMPtr<nsIHTMLContent> content(do_QueryInterface(aContent));
|
||||
|
||||
if (content) {
|
||||
result = GetFrameBorderHelper(content);
|
||||
|
|
|
@ -924,7 +924,7 @@ nsFrameborder nsHTMLFramesetFrame::GetFrameBorder(nsIContent* aContent)
|
|||
{
|
||||
nsFrameborder result = eFrameborder_Notset;
|
||||
|
||||
nsCOMPtr<nsIHTMLContent> content(do_QueryInterface(mContent));
|
||||
nsCOMPtr<nsIHTMLContent> content(do_QueryInterface(aContent));
|
||||
|
||||
if (content) {
|
||||
result = GetFrameBorderHelper(content);
|
||||
|
|
Загрузка…
Ссылка в новой задаче