Changeset 150075 in webkit
- Timestamp:
- May 14, 2013 10:44:37 AM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r150074 r150075 1 2013-05-14 Antoine Quint <graouts@apple.com> 2 3 [Mac] captions menu is not positioned correctly in full-screen 4 https://bugs.webkit.org/show_bug.cgi?id=116103 5 6 Update the positioning properties of the captions menu in full-screen 7 following the fix for https://webkit.org/b/115968. 8 9 Reviewed by Darin Adler. 10 11 * css/fullscreenQuickTime.css: 12 (video:-webkit-full-screen::-webkit-media-controls-closed-captions-container): 13 Add 50px to the bottom position since we're now positioned relative to the 14 media element, and use a calc() command to be right-aligned to the captions 15 icon in the media controller. The max-width and max-height properties follow 16 the same technique used for the non-full-screen mode. 17 1 18 2013-05-14 Zan Dobersek <zdobersek@igalia.com> 2 19 -
trunk/Source/WebCore/css/fullscreenQuickTime.css
r142003 r150075 169 169 170 170 video:-webkit-full-screen::-webkit-media-controls-closed-captions-container { 171 bottom: 64px; 172 right: 38px; 171 bottom: 114px; 172 right: -webkit-calc(50% - 183px); /* 183px is 221px (half the media controller's width) minus 38px (the right position of the captions icon). */ 173 max-width: -webkit-calc(50% + 173px); /* right + 10px */ 174 max-height: -webkit-calc(100% - 124px); /* bottom + 10px */ 173 175 } 174 175 video:-webkit-full-screen::-webkit-media-controls-closed-captions-track-list {176 max-height: 500px;177 }
Note: See TracChangeset
for help on using the changeset viewer.