Closed
Bug 699002
Opened 13 years ago
Closed 13 years ago
Use a xul:checkbox for "Only user styles" option
Categories
(DevTools :: General, defect)
DevTools
General
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 10
People
(Reporter: miker, Assigned: dao)
References
Details
(Whiteboard: [styleinspector])
Attachments
(1 file, 4 obsolete files)
4.04 KB,
patch
|
rcampbell
:
review+
|
Details | Diff | Splinter Review |
When xul:checkboxes are used in xhtml docs they are rendered incorrectly
Reporter | ||
Comment 1•13 years ago
|
||
To reproduce:
1. Go to the web console (Firefox -> Web Developer -> Web Console)
2. Enter "inspectstyle(document.body)"
The style inspector will appear with a xul:checkbox from the land of ugly (see attached image).
Clicking the checkbox, which looks more like a text field, does nothing.
Reporter | ||
Comment 2•13 years ago
|
||
![]() |
||
Comment 3•13 years ago
|
||
Isn't that checkbox there this one:
+ <input class="onlyuserstyles" save="${onlyUserStylesCheckbox}"
+ type="checkbox" onchange="${onlyUserStylesChanged}" checked=""/>
? If so, that's an html:input, not a xul:checkbox, unless I'm seriously missing something....
Reporter | ||
Comment 4•13 years ago
|
||
(In reply to Boris Zbarsky (:bz) from comment #3)
> Isn't that checkbox there this one:
>
> + <input class="onlyuserstyles" save="${onlyUserStylesCheckbox}"
> + type="checkbox" onchange="${onlyUserStylesChanged}"
> checked=""/>
>
> ? If so, that's an html:input, not a xul:checkbox, unless I'm seriously
> missing something....
lol ... I attached the wrong patch. It is reproducible with this one.
Attachment #571280 -
Attachment is obsolete: true
![]() |
||
Comment 5•13 years ago
|
||
That last patch doesn't apply to m-c. On m-c there is no <xul:hbox class="header" flex="1"> or <xul:textarea>. Instead there is a <div class="filters"> and an HTML <input>.
Assignee | ||
Comment 6•13 years ago
|
||
Michael's patch was missing align="center".
Assignee: nobody → dao
Attachment #571285 -
Attachment is obsolete: true
Attachment #571322 -
Attachment is obsolete: true
Status: NEW → ASSIGNED
Assignee | ||
Updated•13 years ago
|
Component: XUL → Developer Tools
Product: Core → Firefox
QA Contact: xptoolkit.widgets → developer.tools
Summary: xul:checkbox rendered incorrectly when used in xhtml docs → Use a xul:checkbox for "Only user styles" option
Whiteboard: [styleinspector]
Assignee | ||
Comment 7•13 years ago
|
||
Attachment #572438 -
Attachment is obsolete: true
Attachment #572441 -
Flags: review?(mihai.sucan)
Comment 8•13 years ago
|
||
Comment on attachment 572441 [details] [diff] [review]
patch
-.onlyuserstyles,
-.userStylesLabel {
+.onlyuserstyles {
not a fan of this capitalization (would prefer onlyUserStyles).
but here we are.
Attachment #572441 -
Flags: review+
Assignee | ||
Updated•13 years ago
|
Attachment #572441 -
Flags: review?(mihai.sucan)
Assignee | ||
Comment 9•13 years ago
|
||
Target Milestone: --- → Firefox 10
![]() |
||
Comment 10•13 years ago
|
||
So is there still a core rendering issue I should be worried about here?
Assignee | ||
Comment 11•13 years ago
|
||
(In reply to Boris Zbarsky (:bz) from comment #10)
> So is there still a core rendering issue I should be worried about here?
nope
Comment 12•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•