Thank for the suggestion, I found that using the outline style on a frame and 
iframe :hover selector only seemed to work on iframes and not frames in a 
frameset. I've attached a sample that shows the problem, if you're curious to 
see what happens. If you look at the frameset.html page and mouse over the 
bottom frame that contains an iframe, the border style is the only one that 
shows up, and it is on the outermost frame in the frameset gets a border in 
addition to the iframe.

I suspect the behavior we are trying to get isn't really achievable with just 
the default html.css styling. We are going to look into using the focus ring 
mechanism as James MacLean suggested earlier.


Patrick East
[email protected]

From: Elliott Sprehn [mailto:[email protected]]
Sent: Monday, July 16, 2012 12:54 PM
To: Patrick East
Cc: [email protected]
Subject: Re: [webkit-dev] "highlighting" a frame

You'll want outline not border for this.


From: [email protected] [mailto:[email protected]] On Behalf Of W. James 
MacLean
Sent: Wednesday, July 11, 2012 1:09 PM
To: Patrick East
Cc: [email protected]
Subject: Re: [webkit-dev] "highlighting" a frame

If you're just looking to draw a border, will the focus rings mechanism suffice?


On Mon, Jul 9, 2012 at 10:37 PM, Patrick East 
<[email protected]<mailto:[email protected]>> wrote:
Hello,

We are working on a custom build of WebKit that will "highlight" a frame when 
the mouse moves over it (the intent is to have it draw a border around it for 
use with a custom input device). We have tried modifying the webcore html.css 
file adding in a :hover selector for frame and iframe that sets the border 
property, but this doesn't work correctly for embedded frames. When we test 
mousing over them it draws the border on the outer-most frame and not the inner 
frame which is what I want.

Unfortunately I don't know much about the css code in WebKit, so any 
suggestions on how this could be achieved would be much appreciated.

Thanks!

Patrick East
[email protected]<mailto:[email protected]>

_______________________________________________
webkit-dev mailing list
[email protected]<mailto:[email protected]>
http://lists.webkit.org/mailman/listinfo/webkit-dev

		
  <frameset border=1 rows="10%,10%,*,*">
    <frame src="links.html"/>
    <frame src="links.html"/>
    <frame src="spatial-navigation-test-cases.html"/>
    <frame src="spatial-navigation-test-cases - iframe_outline.html"/>
  </frameset><br><br>

x y z

Title: Spatial Navigation Test Cases

Spatial Navigation Fun

3x3 Centered Table Test

test test test
test test test
test test test

Vertical Sine Test


test
test
test
test
test
test
test
test
test
                                     test

Increasing sentence length

H
Ho
How
How
How N
How No
How Now
How Now
How Now B
How Now Br
How Now Bro
How Now Brow
How Now Brown
How Now Brown
How Now Brown C
How Now Brown Co
How Now Brown Cow

Split sentence


H                               ow Now Brown Cow
Ho                                w Now Brown Cow
How                                 Now Brown Cow
How N                                ow Brown Cow
How No                                w Brown Cow
How Now                                 Brown Cow
How Now B                                rown Cow
How Now Br                                own Cow
How Now Bro                                wn Cow
How Now Brow                                n Cow
How Now Brown                                 Cow
How Now Brown C                                ow
How Now Brown Co                                w
How Now Brown Cow

Line Wrap Test


Which the following constanst do you like, one is g, one is pi, and the other is e.
3.14
2.71
6.67

_javascript_ Focus/Blur Test

When going to any link from the following link, you should see a dialog.

Test

IFrames





DIVs


a
b
c


last
return.
_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-dev

Reply via email to