[prev in list] [next in list] [prev in thread] [next in thread]
List: kfm-devel
Subject: Re: Bug#20046: hover link color applied to other text
From: Simon Hausmann <hausmann () kde ! org>
Date: 2001-02-09 1:09:51
[Download RAW message or body]
On Thu, Feb 08, 2001 at 02:06:40PM +0100, Tobias Anton wrote:
> On Thursday 08 February 2001 12:15, Simon Hausmann wrote:
> > On Thu, Feb 08, 2001 at 08:47:11AM +0100, Tobias Anton wrote:
> > > On Thursday 08 February 2001 00:04, patrick.dowler@onfire.ca wrote:
> > > Why should :hover only apply to :link(s)?
> > >
> > > Closing, not a bug.
> >
> > Actually there is another bug with a:hover currently. It's being used when
> > the anchor element has no href. (try loading http://www.kde.org/gallery/ ,
> The CSS spec doesn't require a:hover to have any attributes.
> You can specify a[href]:hover if you only want anchors with a href attribute
> change on hover.
> The behaviour is perfectly okay as described above.
Strictly speaking I agree.
> > scroll down below Kalle's entry and move the mouse over the text) . The
> > offending html is <a name="blah"><table>blah . Besides that the table is
> > inserted as child of the anchor,
> you're right, but ...
>
> >the a:hover style is applied, which is wrong
> >as the anchor has no href attribute.
> ... that's not the problem here. (IMHO)
>
> The author didn't intend the table to be a child of the anchor, i think.
> He simply forgot to close the <A>-tag.
Yes, I agree that it's another issue that table must not be a child of
a. But IIRC I remember someone saying that changing this to the strict
rule (according to the specs) might break much? :)
> That wouldn't matter, if there was no a:hover rule...
Exactly :-)
I might very well miss the point (please correct me in any case) , but I can't
find a real reason to apply a:hover to anchors without href attribute ?
(for real-life webbrowsing, that is!)
Bye,
Simon
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic