WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
80116
HTMLTrackElement.idl doesn't have default attribute.
https://bugs.webkit.org/show_bug.cgi?id=80116
Summary
HTMLTrackElement.idl doesn't have default attribute.
yosin
Reported
2012-03-01 23:55:33 PST
See
http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#the-track-element
Attachments
proposed patch
(3.06 KB, patch)
2012-03-06 23:32 PST
,
Arun Patole
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Arun Patole
Comment 1
2012-03-05 23:11:33 PST
(In reply to
comment #0
)
> See
http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#the-track-element
I could see it in HTMLTrackElement.idl: "attribute [Reflect=default] boolean isDefault;"
http://trac.webkit.org/browser/trunk/Source/WebCore/html/HTMLTrackElement.idl
yosin
Comment 2
2012-03-06 00:53:46 PST
> I could see it in HTMLTrackElement.idl: > "attribute [Reflect=default] boolean isDefault;"
In JS, it will be track.isDefault instead of track.default. We would like to have attribute [Reflect] boolean default;
Arun Patole
Comment 3
2012-03-06 04:59:10 PST
(In reply to
comment #2
)
> > I could see it in HTMLTrackElement.idl: > > "attribute [Reflect=default] boolean isDefault;" > > In JS, it will be track.isDefault instead of track.default. > We would like to have > attribute [Reflect] boolean default;
ah, ok. There might be some reason for having isDefault and not 'default', Added Anna and Eric in cc.
Eric Carlson
Comment 4
2012-03-06 10:08:00 PST
(In reply to
comment #3
)
> (In reply to
comment #2
) > > > I could see it in HTMLTrackElement.idl: > > > "attribute [Reflect=default] boolean isDefault;" > > > > In JS, it will be track.isDefault instead of track.default. > > We would like to have > > attribute [Reflect] boolean default; > ah, ok. There might be some reason for having isDefault and not 'default', Added Anna and Eric in cc.
I *think* there was a compile problem on at least one port. The intention was to reflect the attribute as 'default', but that is clearly not happening and is a bug.
Arun Patole
Comment 5
2012-03-06 23:32:53 PST
Created
attachment 130554
[details]
proposed patch
Kentaro Hara
Comment 6
2012-03-07 04:31:28 PST
Comment on
attachment 130554
[details]
proposed patch The change looks sane. (In reply to
comment #4
)
> I *think* there was a compile problem on at least one port. The intention was to reflect the attribute as 'default', but that is clearly not happening and is a bug.
It seems that 'isDefault' was introduced in the initial patch of HTMLTrackElement.idl (
https://bugs.webkit.org/attachment.cgi?id=89094&action=review
).
WebKit Review Bot
Comment 7
2012-03-07 06:08:02 PST
Comment on
attachment 130554
[details]
proposed patch Clearing flags on attachment: 130554 Committed
r110052
: <
http://trac.webkit.org/changeset/110052
>
WebKit Review Bot
Comment 8
2012-03-07 06:08:07 PST
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