Bug 61510

Summary: Changing the dimensions of the parent do not change that of its child, when child is set to inherit parent’s dimensions
Product: WebKit Reporter: vanivhegde
Component: Plug-insAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Critical CC: ap, prashanth.narayanaswamy
Priority: P1    
Version: 420+   
Hardware: S60 Hardware   
OS: S60 3rd edition   
Attachments:
Description Flags
QtBrowser sisx
none
Sample npplugin
none
test html page none

vanivhegde
Reported 2011-05-26 01:04:54 PDT
Creating an object tag(plug-in which runs a timer) with style.height and style.width as ‘inherit’. Create another div with some default height and width & set it as parent of the plug-in(appendChild). Plug-in takes the height and width from the parent. Later if one changes the dimensions of parent, plug-in does not resize accordingly. Steps to reproduce: 1. Flash the device with latest image. 2. Install attached qtbrowser.sisx 3. Install npplugin.sisx 4. Place the index.html in C:\data 5. Run qtbrowser application from application menu 6. Click on dimension button.(This changes the height and width of parent div) Expected Result: Timer plug-in should immediately resize. Actual Result: Timer plug-in, still shows up with its previous dimensions. NOTE: After changing parent’s dimension, if plug-in is hidden and then made visible, then it takes appropriate dimensions from parent.
Attachments
QtBrowser sisx (33.92 KB, application/octet-stream)
2011-05-26 01:05 PDT, vanivhegde
no flags
Sample npplugin (5.34 KB, application/octet-stream)
2011-05-26 01:06 PDT, vanivhegde
no flags
test html page (1.79 KB, text/html)
2011-05-26 01:06 PDT, vanivhegde
no flags
vanivhegde
Comment 1 2011-05-26 01:05:57 PDT
Created attachment 94937 [details] QtBrowser sisx
vanivhegde
Comment 2 2011-05-26 01:06:21 PDT
Created attachment 94938 [details] Sample npplugin
vanivhegde
Comment 3 2011-05-26 01:06:44 PDT
Created attachment 94939 [details] test html page
Alexey Proskuryakov
Comment 4 2022-07-01 11:36:07 PDT
Mass closing plug-in bugs, as plug-in support has been removed from WebKit. Please comment and/or reopen if this still affects WebKit in some way.
Note You need to log in before you can comment on or make changes to this bug.