WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 78706
Renaming parameters for positioning a track cue
https://bugs.webkit.org/show_bug.cgi?id=78706
Summary
Renaming parameters for positioning a track cue
Victor Carbune
Reported
2012-02-15 05:37:34 PST
The positioning and size parameters (formerly D:, L:, T:, S:, A:) in the WebVTT spec have been renamed (vertical:, line:, position:, size:, align:) The TextTrackCue::parseSettings method needs to be updated.
Attachments
Proposed patch
(65.07 KB, patch)
2012-02-29 18:00 PST
,
Eric Carlson
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2012-02-29 15:39:28 PST
<
rdar://problem/10958447
>
Eric Carlson
Comment 2
2012-02-29 18:00:34 PST
Created
attachment 129568
[details]
Proposed patch
Sam Weinig
Comment 3
2012-04-02 09:24:07 PDT
Comment on
attachment 129568
[details]
Proposed patch View in context:
https://bugs.webkit.org/attachment.cgi?id=129568&action=review
> Source/WebCore/html/track/TextTrackCue.cpp:401 > +TextTrackCue::CueSetting TextTrackCue::settingName(const String& name) > +{ > + DEFINE_STATIC_LOCAL(const String, verticalKeyword, ("vertical")); > + DEFINE_STATIC_LOCAL(const String, lineKeyword, ("line")); > + DEFINE_STATIC_LOCAL(const String, positionKeyword, ("position")); > + DEFINE_STATIC_LOCAL(const String, sizeKeyword, ("size")); > + DEFINE_STATIC_LOCAL(const String, alignKeyword, ("align")); > + > + if (name == verticalKeyword) > + return Vertical; > + else if (name == lineKeyword) > + return Line; > + else if (name == positionKeyword) > + return Position; > + else if (name == sizeKeyword) > + return Size; > + else if (name == alignKeyword) > + return Align; > + > + return None; > +}
Is this common enough that we should consider using AtomicString?
WebKit Review Bot
Comment 4
2012-04-02 10:10:53 PDT
Comment on
attachment 129568
[details]
Proposed patch Clearing flags on attachment: 129568 Committed
r112898
: <
http://trac.webkit.org/changeset/112898
>
WebKit Review Bot
Comment 5
2012-04-02 10:10:57 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug