Closed
Bug 469030
Opened 16 years ago
Closed 16 years ago
video control binding shouldn't use ID attribute
Categories
(Toolkit :: Video/Audio Controls, defect)
Toolkit
Video/Audio Controls
Tracking
()
RESOLVED
FIXED
mozilla1.9.2a1
People
(Reporter: Dolske, Assigned: Dolske)
References
Details
(Keywords: fixed1.9.1)
Attachments
(1 file)
(deleted),
patch
|
enndeakin
:
review+
beltzner
:
approval1.9.1+
|
Details | Diff | Splinter Review |
See bug 461680 comment 5:
> You shouldn't be using id in xbl. Two of these in a document would mean two
> elements with that id. Usually, we use anonid for this, or a class for css
> purposes.
Yeah, the other Neil caught this. It actually seems to work now (at least,
doc.getElementById doesn't pick any of them up, which was his concern), but I
agreed we should change them anyway. I'll do this in a followup patch, instead
of cluttering this one.
Neil also put up an example patch in attachment 351361 [details] [diff] [review].
Assignee | ||
Comment 1•16 years ago
|
||
Switches id= to class=. I started to go with anonid, but that makes the CSS slightly uglier.
I also realized this might all change again when switching the controls to <buttons>, but oh well. Already finished the patch done. :)
Attachment #352445 -
Flags: review?(enndeakin)
Comment 2•16 years ago
|
||
Comment on attachment 352445 [details] [diff] [review]
Patch v.1
You may want to fix up the missing space on the .muteButton lines while you're at it.
Attachment #352445 -
Flags: review?(enndeakin) → review+
Assignee | ||
Comment 3•16 years ago
|
||
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.2a1
Assignee | ||
Updated•16 years ago
|
Attachment #352445 -
Flags: approval1.9.1?
Comment 4•16 years ago
|
||
Can this alo be pushed to 1.9.1/FF3.1 as otherwise themers would have to use both # and . to style the videocontrols in their theme, if they want to keep the theme compatible between 3.1 and 3.1...
Assignee | ||
Comment 5•16 years ago
|
||
The intention is to land this on 1.9.1, which is why I requested approval1.9.1 on the patch! :-)
Comment 6•16 years ago
|
||
Comment on attachment 352445 [details] [diff] [review]
Patch v.1
a191=beltzner, though I think this should probably be a blocker ...
Attachment #352445 -
Flags: approval1.9.1? → approval1.9.1+
Assignee | ||
Comment 7•16 years ago
|
||
Keywords: fixed1.9.1
Assignee | ||
Updated•15 years ago
|
Component: Video/Audio → Video/Audio Controls
Product: Core → Toolkit
QA Contact: video.audio → video.audio
Version: Trunk → unspecified
You need to log in
before you can comment on or make changes to this bug.
Description
•