[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdelibs/khtml
From:       Tobias Anton <anton () stud ! fbi ! fh-darmstadt ! de>
Date:       2004-10-23 13:12:32
Message-ID: 20041023131232.9B3DA16BC7 () office ! kde ! org
[Download RAW message or body]

CVS commit by tanton: 

make labels mouse-focusable only.

The mouse click event will pass focus to the associated form control,
as mandated by the spec. Contrary to the spec's wording, also links
will receive focus this way. This also fixes a spec violation that
prohibits nested focusable elements.

The main difference to the version where labels weren't focusable at
all: Focusin and focusout events are fired on labels when the focus is
passed, enabling their onfocus and onblur attributes to take effect.


  M +3 -3      khtmlview.cpp   1.669
  M +1 -1      html/html_baseimpl.cpp   1.202
  M +1 -1      html/html_baseimpl.h   1.87
  M +2 -2      html/html_formimpl.cpp   1.390
  M +4 -3      html/html_formimpl.h   1.157
  M +2 -2      html/html_inlineimpl.h   1.47
  M +15 -15    xml/dom_docimpl.cpp   1.297
  M +1 -1      xml/dom_elementimpl.cpp   1.201
  M +1 -1      xml/dom_elementimpl.h   1.118
  M +4 -5      xml/dom_nodeimpl.h   1.162



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic