[ 12 posts ] Go to page 1, 2 Next

Kristopher Ives

  • Username: krisives
  • Joined: Tue Aug 11, 2009 5:00 am
  • Posts: 64
  • Location: Salem, OR
  • Twitter: kristopherives
  • GitHub: krisives
  • Gists: krisives
  • IRC: krisives
  • Offline
  • Profile

HTML 4.01 ?

Post Posted: Fri Nov 13, 2009 9:33 am
+0-
I noticed the <link> tags generated are XHTML compatible inline tags, which end with />. Is there any way to currently "flip" it into HTML 4.01 mode?

Chad Auld

YUI Developer

  • Username: cauld
  • Joined: Fri Jan 09, 2009 8:53 pm
  • Posts: 10
  • Location: California
  • Twitter: chadauld
  • GitHub: cauld
  • Gists: cauld
  • YUI Developer
  • Offline
  • Profile

Re: HTML 4.01 ?

Post Posted: Fri Nov 13, 2009 10:30 am
+0-
Not currently, but I'll try to work something into the next beta release for this.

Adam Moore

YUI Contributor

  • Username: adam
  • Joined: Wed Sep 03, 2008 11:16 am
  • Posts: 356
  • GitHub: apm
  • Gists: apm
  • Offline
  • Profile
Tags:

Re: HTML 4.01 ?

Post Posted: Fri Nov 13, 2009 10:39 am
+0-
Why would this be needed? If this is causing a failure somewhere, please file a bug report. Otherwise, the space before the /> should prevent any kind of failure in HTML 4.01. It is used extensively in HTML 4.01 strict mode without problems.

Kristopher Ives

  • Username: krisives
  • Joined: Tue Aug 11, 2009 5:00 am
  • Posts: 64
  • Location: Salem, OR
  • Twitter: kristopherives
  • GitHub: krisives
  • Gists: krisives
  • IRC: krisives
  • Offline
  • Profile

Re: HTML 4.01 ?

Post Posted: Fri Nov 13, 2009 10:58 am
+0-
Thanks for the info. I'm not sure what's happening with my code and why it's not working, and to be honest I've been a little confused at getting YUI working in an XHTML environment.

Right now phploader isn't working for me very well at all. It seems to be confused about 2.8.0 and 2.8.0r4, any ideas?

Chad Auld

YUI Developer

  • Username: cauld
  • Joined: Fri Jan 09, 2009 8:53 pm
  • Posts: 10
  • Location: California
  • Twitter: chadauld
  • GitHub: cauld
  • Gists: cauld
  • YUI Developer
  • Offline
  • Profile

Re: HTML 4.01 ?

Post Posted: Fri Nov 13, 2009 11:09 am
+0-
It should be working without the change. I assumed the request was to help with HTML validation.

Chad Auld

YUI Developer

  • Username: cauld
  • Joined: Fri Jan 09, 2009 8:53 pm
  • Posts: 10
  • Location: California
  • Twitter: chadauld
  • GitHub: cauld
  • Gists: cauld
  • YUI Developer
  • Offline
  • Profile

Re: HTML 4.01 ?

Post Posted: Fri Nov 13, 2009 11:11 am
+0-
krisives the metadata shipped with the first beta was incorrectly named 2.8.0 rather than 2.8.0r4. If you use 2.8.0 it will work. In beta 2 we'll have 2.8.0 and 2.8.0r4 files (which are identical outside of the filenames).

Kristopher Ives

  • Username: krisives
  • Joined: Tue Aug 11, 2009 5:00 am
  • Posts: 64
  • Location: Salem, OR
  • Twitter: kristopherives
  • GitHub: krisives
  • Gists: krisives
  • IRC: krisives
  • Offline
  • Profile

Re: HTML 4.01 ?

Post Posted: Fri Nov 13, 2009 2:12 pm
+0-
I'm using unmodified sources currently. I have my version set to "2.8.0" for now, and it indeed includes those files.

Trying a simple example and simply including the "menu" and "tabview" modules, then calling tags() later, I get this http://pastebay.com/69580

Leads me to ask:
1.) Why isn't rollup being used here? I've tried setting the configuration variable manually, but it doesn't seem to use rollup. In my paste above I set the debug filter to try to figure things out, but I've tried it without modified filters.

2.) Aren't those in the wrong order?

3.) If I take the same stuff and put it into the YUI Dependency Configurator it yields: http://pastebay.com/69581

Chad Auld

YUI Developer

  • Username: cauld
  • Joined: Fri Jan 09, 2009 8:53 pm
  • Posts: 10
  • Location: California
  • Twitter: chadauld
  • GitHub: cauld
  • Gists: cauld
  • YUI Developer
  • Offline
  • Profile
Tags:

Re: HTML 4.01 ?

Post Posted: Fri Nov 13, 2009 2:36 pm
+0-
In beta 1 there is an issue with the loader not obeying the AFTER information included in the module metadata. There is a ticket open for this which I am reviewing.

As for the debug I assume you mean why isn't picking up the yahoo-dom-event rollup and that is basically because there is no yahoo-dom-event-debug.js, but there are debug files available for each of the individual modules (i.e.) yahoo, dom, and event.

Kristopher Ives

  • Username: krisives
  • Joined: Tue Aug 11, 2009 5:00 am
  • Posts: 64
  • Location: Salem, OR
  • Twitter: kristopherives
  • GitHub: krisives
  • Gists: krisives
  • IRC: krisives
  • Offline
  • Profile

Re: HTML 4.01 ?

Post Posted: Fri Nov 13, 2009 3:35 pm
+0-
I updated to the most recent version from github, which does include the 2.8.0r4 meta data. I changed my version and everything worked okay on the server-side. However, the client is still getting stuff in the wrong order :(

Kristopher Ives

  • Username: krisives
  • Joined: Tue Aug 11, 2009 5:00 am
  • Posts: 64
  • Location: Salem, OR
  • Twitter: kristopherives
  • GitHub: krisives
  • Gists: krisives
  • IRC: krisives
  • Offline
  • Profile

Re: HTML 4.01 ?

Post Posted: Fri Nov 13, 2009 3:46 pm
+0-
I believe it has to do with how the object is copied. I fixed my problem by simply making sure I was using a singleton object that was defined as a static member variable. The good thing is that it's working.

I was going to run a test and see what was different between the 2.8.0 and 2.8.0r4 meta data files, and simply make one depend on the other. There is no reason to be redundantly describing the same thing twice, right?
  [ 12 posts ] Go to page 1, 2 Next
Display posts from previous:  Sort by  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
cron