Closed Bug 334606 Opened 19 years ago Closed 18 years ago

Remove xbl documentation at http://www.mozilla.org/projects/xbl/xbl.html

Categories

(www.mozilla.org :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: schools_ring, Assigned: reed)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8.0.2) Gecko/20060308 Firefox/1.5.0.2 Build Identifier: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8.0.2) Gecko/20060308 Firefox/1.5.0.2 Maybe I'm just missing something as available XBL docs are very sckatchy. Any way, on having this content: ... <content> <children/> <p>Top</p> <element/> <children/> <p>Bottom</p> </content> ... The expected (by me only) layout if bound to a Test DIV would be: Top Test Bottom with DOM Reproducible: Always Steps to Reproduce: 1. HTML Page: <html> <head> <title>Bx2</title> <style type="text/css"> body { background-color: #FFFFFF} div { -moz-binding: url(Bx2.xml#AJAX)} </style> </head> <body> <div>Test</div> </body> </html> 2. Binding file Bx2.xml: <?xml version="1.0"?> <bindings xmlns="http://www.mozilla.org/xbl"> <binding id="AJAX" applyauthorstyles="true" styleexplicitcontent="false"> <content> <children/> <p>Top</p> <element/> <children/> <p>Bottom</p> </content> </binding> </bindings> Actual Results: Firefox displays one string on the page: TopTestBottom DOM Inspector shows: DIV P |-> "Top" element |-> empty #text |-> "Test" P |-> "Bottom" Expected Results: Not sure exactly about the tree view, but why <P> are not treated as block elements anymore? Should not it look like: Top Test Bottom ?
Where did you get this information? <element/> isn't implemented in current Mozilla's xbl implementation, styleexplicitcontent isn't implemented also. I know there is indeed some very misleading information about xbl on the web. At least this information about the xbl elements should be more or less correct now: http://developer.mozilla.org/en/docs/XBL:XBL_1.0_Reference:Elements
Assignee: nobody → general
Component: General → XBL
Product: Firefox → Core
QA Contact: general → ian
Version: unspecified → Trunk
(In reply to comment #1) > Where did you get this information? <http://www.mozilla.org/projects/xbl/xbl.html> This is the source I was self-learning all last week. You mean to say it is a Microsoft diversion? Should be marked as such then. :-( :-) And by the way the demo is borken (XML tags are not enclosed properly) - took me one day to figure out instead of blaming on my Firefox installation. btw why did I jump on this page and not one you just linked? Simply because the mine is on the top in Google search results for "XBL". Thanks for the new source: need to relearn now. You should really mark somehow the page at <http://www.mozilla.org/projects/xbl/xbl.html> or get it out completely.
(In reply to comment #2) > Thanks for the new source: need to relearn now. You should really mark somehow > the page at <http://www.mozilla.org/projects/xbl/xbl.html> or get it out > completely. I so much agree with this.
Assignee: general → web.developer
Status: UNCONFIRMED → NEW
Component: XBL → Web Developer
Ever confirmed: true
Product: Core → Documentation
QA Contact: ian
Summary: XBL insertion point change over <element/> breaks the DOM tree? → Remove xbl documentation at http://www.mozilla.org/projects/xbl/xbl.html
Version: Trunk → unspecified
(In reply to comment #3) > (In reply to comment #2) > > Thanks for the new source: need to relearn now. You should really mark somehow > > the page at <http://www.mozilla.org/projects/xbl/xbl.html> or get it out > > completely. > > I so much agree with this. And as I said (and one may check) currently the "offending page" <http://www.mozilla.org/projects/xbl/xbl.html> is in top Google search results for "XBL". Thusly a simple 404 would be confusing for visitors. The optimum would be IMHO to place a timed forwarder from <http://www.mozilla.org/projects/xbl/xbl.html> (replaced by some breaf excuse) to <http://developer.mozilla.org/en/docs/XBL:XBL_1.0_Reference> And also: as long as the web-master of the relevant site section will possibly read this thread anyway: Currently bindings are going with ...xmlns="http://www.mozilla.org/xbl". If some curious user tries the address it will get 404 page. I understand you may not want to place some official DTD for the current implementation, but maybe something more encouraging than 404? "Thank you for using XBL" or "XBL Rulez!" or some ? :-)
(In reply to comment #4) > The optimum would be IMHO to place a timed forwarder from > <http://www.mozilla.org/projects/xbl/xbl.html> (replaced by some breaf excuse) > to <http://developer.mozilla.org/en/docs/XBL:XBL_1.0_Reference> Apparently this is something that will be done, see at the bottom: http://developer.mozilla.org/en/docs/MDC:Needs_Redirect > Currently bindings are going with ...xmlns="http://www.mozilla.org/xbl". If > some curious user tries the address it will get 404 page. I understand you may > not want to place some official DTD for the current implementation, but maybe > something more encouraging than 404? "Thank you for using XBL" or "XBL Rulez!" > or some ? :-) I agree. Perhaps you should file a new bug on this.
(In reply to comment #5) > (In reply to comment #4) > > The optimum would be IMHO to place a timed forwarder from > > <http://www.mozilla.org/projects/xbl/xbl.html> (replaced by some breaf excuse) > > to <http://developer.mozilla.org/en/docs/XBL:XBL_1.0_Reference> > > Apparently this is something that will be done, see at the bottom: > http://developer.mozilla.org/en/docs/MDC:Needs_Redirect Great. > > Currently bindings are going with ...xmlns="http://www.mozilla.org/xbl". If > > some curious user tries the address it will get 404 page. I understand you may > > not want to place some official DTD for the current implementation, but maybe > > something more encouraging than 404? "Thank you for using XBL" or "XBL Rulez!" > > or some ? :-) > > I agree. > Perhaps you should file a new bug on this. > Done. Filed as Bug # 334634
Assignee: web.developer → nobody
Component: Web Developer → www.mozilla.org
Product: Documentation → mozilla.org
QA Contact: www-mozilla-org
Version: unspecified → other
Assignee: nobody → reed
I posted about this to dev-mdc and no objections were posted; sheppy agreed with redirecting, so I added this to the list of things to be redirected the next time someone goes through MDC:Needs_Redirect. http://groups-beta.google.com/group/mozilla.dev.mdc/browse_thread/thread/330183ed68e1bdce/8c1a442a24dffae8#8c1a442a24dffae8
Checking in .htaccess; /cvsroot/mozilla-org/html/projects/xbl/.htaccess,v <-- .htaccess new revision: 1.2; previous revision: 1.1 done Removing xbl.html; /cvsroot/mozilla-org/html/projects/xbl/xbl.html,v <-- xbl.html new revision: delete; previous revision: 1.17 done
Status: NEW → RESOLVED
Closed: 18 years ago
OS: Windows 98 → All
Hardware: PC → All
Resolution: --- → FIXED
verified.
Status: RESOLVED → VERIFIED
Product: mozilla.org → Websites
Component: www.mozilla.org → General
Product: Websites → www.mozilla.org
You need to log in before you can comment on or make changes to this bug.