WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
18318
Styled href links being incorrectly inherited beyond their scope
https://bugs.webkit.org/show_bug.cgi?id=18318
Summary
Styled href links being incorrectly inherited beyond their scope
Dane Muldoon
Reported
2008-04-04 19:55:48 PDT
I have a series of menu links in a div with styling that is limited in scope to that div using "div#menu". Later on the same page, links to the same URLs as the menu links take on the menu link styling while links to different URLs do not. Please see
http://solarguys.com.au/link_style_test.htm
for a test case. This problem exists in the latest nightly build and Safari 3.1, but not in Coda 1.1 which is my development tool.
Attachments
Add attachment
proposed patch, testcase, etc.
mitz
Comment 1
2008-04-05 01:39:10 PDT
The oddly-styled links are visited links. The style sheet reads: div#menu a:link, a:visited {z-index: 100; padding-top: 4px; margin:0 1px 0 1px; width: 104px; height: 21px; ... Which selects links descending from div#menu AND all visited links, regardless of whether they descend from div#menu.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug