Bug 111014 - Either let normal outline include sub-elements or let auto outline not include them
Summary: Either let normal outline include sub-elements or let auto outline not includ...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-27 14:47 PST by Xianzhu Wang
Modified: 2013-02-27 14:47 PST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Xianzhu Wang 2013-02-27 14:47:11 PST
Currently 'auto' outline-style (normally for focus ring) and non-auto outline-style behave very differently. The former draws outlines for sub-elements while the latter doesn't. Should we make them the same?

Behaviors of other browsers:

Outlines:
- Firefox (19.0). a single rectangle enclosing the the element and its sub-elements when outline-style!=auto. Doesn't support 'auto'.
- IE9: a single rectangle enclosing the element only when outline-style!=auto. Doesn't support 'auto'.

IE9 is same as WebKit when outline-style!=auto.

Real focus rings (when an element is really focused):
- Firefox: position same as outline (enclosing sub-elements), using dotted black-and-white outline style.
- IE9: position same as outline (not enclosing sub-elements), using dotted black-and-white outline style. The sub-layer covers part of the focus ring.