Assignee: administration → nobody
Component: Administration → General
Product: Bugzilla → Firefox
QA Contact: default-qa → general
Version: unspecified → Trunk
Is it valid to set the "hidden" attribute on a DOM node? That's not a real attribute IIRC. Since it's XHTML, we're probably rejecting it as invalid. At least, the hidden attribute doesn't show up in Firebug, but it does show up in Chrome.
If you can make a minimized testcase, it might make it clearer what's going on.
Ok, I think I hit on the key difference, half-way through reducing... http://m8y.org/js/sol_reduce.xhtml Different in FF4 vs FF3.6 http://m8y.org/js/sol_reduce2.xhtml Same in FF4 and FF3.6 The issue seems to be my use of "hidden" Apparently that triggers something in FF4 - presumably it is now some DOM node attribute. The odd thing is it is only FF4 specific - some implementation of (X)HTML5 bleeding into XHTML 1.1? Less sure if it is a bug now. Although Safari and Chrome do work fine. http://m8y.org/js/solitaire2.xhtml is the original "app" (and I use the term loosely for this evening of long ago of hacking about) with .hidden replaced with .XYZZY - works in FF4.
Summary: Some table cells do not render in latest FF4b nightlies. They do in FF3.6 or older and other browsers. → Application fails in FF4 due to setting a property on DOM node of "hidden"
Smaug, do you know if this is intentional?
Ah. Perhaps. Well, the FF4 behaviour is a bit inconsistent then, since you'd think any "flipped" card (one without the face showing) would be invisible in FF4 since hidden would be true. Certainly understandable it being honoured in older versions of HTML - heck. You don't ignore <canvas> just because it is HTML5 only...
I don't understand the previous comment. .hidden is defined by HTML5 to work as follows: myElement.hidden = true; should make the element no longer be displayed (act as if .style.display is set to "none"). myElement.hidden = false; should make the element act as normal (though of course can be overridden using CSS in all the usual fashions). Is that now how FF4 nightlies behave? .hidden was not implemented in earlier versions of Firefox, so was ignored there.
The inconsistency seems to be that some elements are not actually hidden when that is toggled. I was using a property I had called .hidden to show/hide the text. If you click on the diagonal row of cards, the text is shown/hidden, yet the card does not vanish. I'm not sure why that is, but it does seem inconsistent to me.
A minimized testcase would be great. It seems like you are setting .hidden on <td> elements. Note that this would result in that <td> being removed, but the <td> next to it taking its place.
Nemo, what's the story on a testcase here?
Haven't started yet. probably not a big deal anyway. feel free to close it, I can alway reopen or refile if I confirm a real minified testcase for the problem mentioned in comment #9.
Sounds good. Reopening is definitely an option.
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.