Summary: | Focus ring of imagemap's area element does not scale when CSS zoom style is applied | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Max Vujovic <mvujovic> | ||||||
Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | ap, jonlee, mvujovic, webkit.review.bot | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | All | ||||||||
OS: | All | ||||||||
Attachments: |
|
Created attachment 117531 [details]
Patch
HTMLAreaElement is only considering the page zoom when computing the path for drawing the focus ring. In the patch, I've updated HTMLAreaElement to use the RenderObject's effectiveZoom instead of the Frame's page zoom. effectiveZoom takes into account both the page zoom and any scaling from a CSS zoom property.
Comment on attachment 117531 [details] Patch Clearing flags on attachment: 117531 Committed r101743: <http://trac.webkit.org/changeset/101743> All reviewed patches have been landed. Closing bug. |
Created attachment 117503 [details] Reproduction In the attached reproduction, the clickable region of the area element scales with the image, but the area element's focus ring does not scale. The image has a CSS zoom property applied to it.