Bug 133933

Summary: (Regression 168350) Full screen image transition on wikipedia is broken.
Product: WebKit Reporter: zalan <zalan>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: dino, georgij.michaliutin, krit, pdr, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar, Regression
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Description zalan 2014-06-15 21:00:39 PDT
1. Load http://en.wikipedia.org/wiki/Charlie_O%27Donnell#mediaviewer/File:Charlieodonnell_announcement.jpg
2. Hit the full-screen button.

The image transition starts from the wrong position and it cuts off the image.

<rdar://problem/17321875>
Comment 1 zalan 2014-06-15 21:13:01 PDT
Regressed at http://trac.webkit.org/changeset/168350
Comment 2 Dirk Schulze 2014-06-16 08:28:08 PDT
Could you tell me how the SVG looks like during the transition?
Comment 3 Dirk Schulze 2014-06-16 08:35:00 PDT
Seems like the <svg> is relying on the wrong height calculation code where 100% is equal to 1vh regardless of the containing block. This can just be fixed in the wiki page.
Comment 4 Dean Jackson 2014-06-18 15:02:44 PDT
(In reply to comment #3)
> Seems like the <svg> is relying on the wrong height calculation code where 100% is equal to 1vh regardless of the containing block. This can just be fixed in the wiki page.

I'm not sure if you're saying this is correct behaviour, or still a bug on our end?
Comment 5 Philip Rogers 2014-06-18 16:57:29 PDT
(In reply to comment #3)
> Seems like the <svg> is relying on the wrong height calculation code where 100% is equal to 1vh regardless of the containing block. This can just be fixed in the wiki page.

Why does Firefox (whose sizing we match after http://trac.webkit.org/changeset/168350) not exhibit this bug?
Comment 6 Dirk Schulze 2014-06-26 02:17:37 PDT
Filed a bug for mediawiki https://bugzilla.wikimedia.org/show_bug.cgi?id=67119