Bug 91749
| Summary: | [FullscreenApi] Allow timestamps in the playback timeline for media elements smaller than 190px if elements is in fullscreen any media size | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Antonio Gomes <tonikitoo> |
| Component: | Media | Assignee: | Antonio Gomes <tonikitoo> |
| Status: | RESOLVED WONTFIX | ||
| Severity: | Normal | CC: | ahmad.saleem792, destra, eric.carlson, jer.noble |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Antonio Gomes
1101 // We want the timeline slider to be at least 100 pixels wide.
1102 // FIXME: Eliminate hard-coded widths altogether.
1103 static const int minWidthToDisplayTimeDisplays = 45 + 100 + 45;
1104
1105 void RenderMediaControlTimeDisplay::layout()
1106 {
1107 RenderDeprecatedFlexibleBox::layout();
1108 RenderBox* timelineContainerBox = parentBox();
1109 while (timelineContainerBox && timelineContainerBox->isAnonymous())
1110 timelineContainerBox = timelineContainerBox->parentBox();
1111
1117 if (timelineContainerBox && timelineContainerBox->width() < minWidthToDisplayTimeDisplays)
1118 setWidth(0);
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Ahmad Saleem
I am unable to find following FIXME and also FIXME.
Unfortunately, I am also not able to find when this file was deleted.
@Eric, @Jer - any input? I am marking this as 'RESOLVED WONTFIX' but if you can share any input, it would be great.