Closed
Bug 604386
Opened 15 years ago
Closed 15 years ago
Prune placeholder from text children
Categories
(Core :: Disability Access APIs, defect, P1)
Core
Disability Access APIs
Tracking
()
RESOLVED
FIXED
mozilla2.0b7
People
(Reporter: davidb, Assigned: surkov)
References
Details
Attachments
(2 files)
27.79 KB,
patch
|
davidb
:
review+
bzbarsky
:
superreview+
|
Details | Diff | Splinter Review |
27.96 KB,
patch
|
davidb
:
review+
|
Details | Diff | Splinter Review |
The placeholder gets in the way of our nice accessibility traversal and related expectations. This has led to disabling of tests and impedes bug 570275.
Reporter | ||
Comment 1•15 years ago
|
||
As per Alexander, need to look at nsIContent::GetChildren for HTML inputs...
Assignee | ||
Comment 2•15 years ago
|
||
(In reply to comment #1)
> As per Alexander, need to look at nsIContent::GetChildren for HTML inputs...
small correction, I think you need to override nsIContent::GetChildren for HTML inputs
Assignee | ||
Comment 3•15 years ago
|
||
David, if you'll get a wip then please file it here, I might continue it.
Reporter | ||
Comment 4•15 years ago
|
||
Right nsHTMLInputElement. I'll set you as owner for this bug, at least until I have a working DOMi.
Assignee: bolterbugz → surkov.alexander
Assignee | ||
Comment 5•15 years ago
|
||
Attachment #483450 -
Flags: superreview?(bzbarsky)
Attachment #483450 -
Flags: review?(bolterbugz)
Assignee | ||
Updated•15 years ago
|
Status: NEW → ASSIGNED
![]() |
||
Comment 6•15 years ago
|
||
Comment on attachment 483450 [details] [diff] [review]
patch
The nsIContent API needs to take PRUint32 as well now, no?
The nsIAnonymousContentCreator change needs to document what set of values can be passed for the filter.
I'd prefer reversing the sense of the check in nsTextControlFrame and just moving
aElements.MaybeAppendElement(txtCtrl->GetPlaceholderNode());
into the if body with the reversed check.
sr=me with those changes.
Attachment #483450 -
Flags: superreview?(bzbarsky) → superreview+
Assignee | ||
Comment 7•15 years ago
|
||
bz's comments are addressed
Attachment #483460 -
Flags: review?(bolterbugz)
Reporter | ||
Comment 8•15 years ago
|
||
Comment on attachment 483450 [details] [diff] [review]
patch
r=me. (Assuming you can address bz's comments)
It wasn't the solution I was thinking of, but it does leave the door open to adding more filters I guess?
Attachment #483450 -
Flags: review?(bolterbugz) → review+
Reporter | ||
Updated•15 years ago
|
Attachment #483460 -
Flags: review?(bolterbugz) → review+
Assignee | ||
Comment 9•15 years ago
|
||
(In reply to comment #8)
> It wasn't the solution I was thinking of, but it does leave the door open to
> adding more filters I guess?
sure, it's flexible approach.
Assignee | ||
Comment 10•15 years ago
|
||
Boris, are you ok with patch2, any other suggestions?
Reporter | ||
Comment 11•15 years ago
|
||
The only thing missing is the nsIAnonymousContentCreator documentation about filters.
Assignee | ||
Comment 12•15 years ago
|
||
(In reply to comment #11)
> The only thing missing is the nsIAnonymousContentCreator documentation about
> filters.
I wouldn't like to copy possible values into nsIAnonymousContentCreator from nsIContent, therefore I jsut refer to nsIContent::GetChildren there. Any ideas?
![]() |
||
Comment 13•15 years ago
|
||
That looks good to me.
Assignee | ||
Comment 14•15 years ago
|
||
landed on 2.0 - http://hg.mozilla.org/mozilla-central/rev/16ef018faad1
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0b8
Updated•15 years ago
|
Target Milestone: mozilla2.0b8 → mozilla2.0b7
You need to log in
before you can comment on or make changes to this bug.
Description
•