Bug 66110

Summary: Zoom should be propagated to Shadow DOM
Product: WebKit Reporter: Levi Weintraub <leviw>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: dglazkov, dominicc, fsamuel, leviw, luiz, morrita, rjkroege, rolandsteiner, shinyak, tonikitoo
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 68075    

Description Levi Weintraub 2011-08-11 15:51:21 PDT
Load Apple.com and zoom in/out. Notice that the search icon in the search field at the top right doesn't zoom.
Comment 1 Fady Samuel 2011-10-07 11:52:12 PDT
(In reply to comment #0)
> Load Apple.com and zoom in/out. Notice that the search icon in the search field at the top right doesn't zoom.

Page scaling also doesn't propagate into shadow DOM!
Comment 2 Levi Weintraub 2011-10-07 11:53:26 PDT
(In reply to comment #1)
> Page scaling also doesn't propagate into shadow DOM!

Nope... but it should! :)
Comment 3 Dimitri Glazkov (Google) 2011-10-11 08:52:27 PDT
I must request "the beef" in this particular case. Where is it? :)

apple.com doesn't use input[type=search]. The reason the icon doesn't scale is because it's a background image, applied using CSS.

Also, take a look at this: http://jsfiddle.net/5f5K6/

As you can see, zoom definitely propagates into shadow DOM (look at the spin button). Also, zoom in and out -- everything works! :)
Comment 4 Fady Samuel 2011-10-11 13:11:04 PDT
Apparently what I thought was going on wasn't what was going on (some refactored code broke my local test code and caused strangeness). Sorry.