[project @ 2005-05-11 00:54:56 by rjw]

Remove redundant code. Improve rendering of hr elements.

svn path=/import/netsurf/; revision=1717
This commit is contained in:
Richard Wilson 2005-05-11 00:54:56 +00:00
parent 759ff816db
commit 04ac7d63f9
2 changed files with 6 additions and 8 deletions

View File

@ -125,10 +125,13 @@ font[size="7"] { font-size: xx-large; }
font[size="-1"] { font-size: smaller; }
font[size="+1"] { font-size: larger; }
hr { display: block; background-color: #000; height: 1px; }
hr[align=left] { margin-right: auto; }
hr { display: block; background-color: #000; height: 1px;
margin-left:auto; margin-right: auto;
margin-top:4px; margin-bottom:4px;
border-top-width: medium; border-color: #d9d9d9; border-style: ridge; }
hr[align=left] { margin-left: 0; }
hr[align=center] { margin-left: auto; margin-right: auto; }
hr[align=right] { margin-left: auto; }
hr[align=right] { margin-right: 0; }
noframes { display: none; }

View File

@ -429,11 +429,6 @@ bool ro_gui_dialog_keypress(wimp_key *key)
pointer.i = ICON_OPENURL_OPEN;
pointer.buttons = wimp_CLICK_SELECT;
ro_gui_dialog_click_open_url(&pointer);
} else if (key->w == dialog_search) {
pointer.w = key->w;
pointer.i = ICON_SEARCH_FIND;
pointer.buttons = wimp_CLICK_SELECT;
ro_gui_search_click(&pointer);
}
}
#ifdef WITH_AUTH