Domain: w3.org
Stories and comments across the archive that link to w3.org.
Comments · 6,785
-
Re:Might I recommend webcriteria.com?
-
Re:Same as it ever was...
Google, Yahoo and Slashdot use pretty simple HTML!? Ya, right. Its not even HTML. Try running any of these sites through an HTML validator.
-
Re:Might I recommend webcriteria.com?
Another thing most web designer seam to dislike is to write correct HTML code.
I suggest you all go to the W3 validator and test you web pages so that they conform to a HTML standard. Surpricingly many webpages ar invalid:
http://validator.w3.org/ -
neisen should validate
Working html is much more usable
with the w3
also, bobby seems a bit bothered -
Re:My favorite quote
[N]ote that HTTP has one feature over FTP that I forgot about until now. Content-type!
Yeah, this is a weakness in the FTP protocol - though, in it's favor, I don't think HTTP allows for LOCAL typing/interpretation. You're right, Content-Type alleviates type confusion here.
What? You've never tried to go to a page and been presented with a pop-up box asking you for user and password for such-and-such an authentication domain?
HTTP defines the "Auth-Type" header, with the two commonly supported methods "Basic" and "Digest" (the latter does not send cleartext passwords).
You originally mentioned a strength of HTTP being other means of authorization outside of plaintext. I've never seen a common working implementation of Digest Authorization.
Yes, I'm familiar with these concepts and yes, I've encountered and used Basic Authorization before.
Cookie and URL-based authorization are still plaintext transmission, by and large, and prone to their own issues. And I still think that use of SSL raises its own headaches.
Several command-line http clients implement "reget" functionality using the "Range" or "Byte-Range" (whatever it's called) HTTP header, which I think (but am not sure) even
/1.0 supports.No, Byte-Range/Range are 1.1 functionality, afaik. Things like wget are appropriate here, but are really tailored to snarfing websites, though I suppose one could tailor these implementations to a broader range of needs.
I'll leave the remainder of your post alone. You've convinced me that you can apply things as appropriate, raised a number of valid points, and similarly agree that there might not be a good, interactive HTTP client to replace FTP just yet. WebDAV developments, mentioned elsewhere, might hold promise. Who knows?
-
Re:Jif?
Not to mention that 'JIF' sounds too much like JFIF (obsolete but technically correct term for JPEG files).
-
Re:They forgot about the mice...
HTML is based on SGML = Standardized General Markup Language.
w3.org -
Re:I need this like I need colonic irrigation
OVERDONE WEB PAGES:
I agree with your point. I always advocate simplistic, standards-compliant web pages (after all HTML is about content, not appearance!). To see how dependent recent web pages are on plugins, one only needs to spend a few minutes browsing with a vanilla Mozilla build. :-(
NETSCAPE ON IRIX:
Have you tried Mozilla for IRIX? Mozilla itself is somewhat bloated IMHO, but it is becoming quite stable and should easily run on the Indigo box you mention. Have a look at SGI Freeware for an inst package.
A DECENT BROWSER ON IRIX:
Maybe it's worth seeing whether Galeon will build on IRIX. (I expect this will require some work, as recent GNOME libraries don't seem to be readily available on IRIX.) -
Re:Why aren't there more rendering engines?
How about Amaya?
-
The Semantic Web
Surely this kind of issue is what Tim Berners-Lee and the W3C is trying to address with the Semantic Web.
The problem with content on the web today is that while it is perfectly readable by humans, it is incomprenesible to machines. If Tim and Co get their way, and I for one would love to see the Semantic Web catch on, then we can get rid of kluges like the Anti-Thesaurus, HTML meta keywords and the like. -
Better MetadataWhile the idea would probably do some good if widely adopted what's really needed is to reduce the need for text based indexing of web sites but increasing the amount of explict semantic information about its content.
Marking up pages with information about the meaning of the terms on them is the main thrust of the work on semantic web - see http://www.daml.org/ (for DAML - the DARPA Agent Markup Language), http://www.semanticweb.org/ (One of the main information sources) and finally the new W3C activity on the subject: http://www.w3.org/2001/sw/.
How far, how fast it will go is another matter but there's certainly a lot of interest in creating a more "machine readable" web.
-
Re:Standardization?
And remain ignorant... From it's inception
.NET by its definition is an open architecture... it is designed to be cross platform on the server and client sideHave we forgotten Mono by Ximian ?
ASP.NET is designed to function within any browser from Netscape 3.0 upwards... The core artchitecture of
.NET is based on XML... which is about as open a standard as you will ever find.So.... please tell me how is it someone developing on
.NET may find themselves locked into a Gatesian world ?As for waiting for a standards body.... the core architecture
.NET platform is based on open standards much of which is administered by the W3C organisation.As for the the moderator scoring these comments.... I guess your scoring method is based on 99% anti-MS sentiment, 0.5% for its intelligence and another 0.5% for how informed it is.
-
See RDF
I don't think XML by itself carries enough metadata to understand much beyond whether a document is valid or not. I think RDF and RDFS have a big role to play in getting XML database ready.
Perhaps hopping on the XML database bandwagon before RDF technologies mature could be a mistake. Forget the semantic web, I want to see the sematic database.
-
Many to many is hard? FALSE!
XML has, of course, a hierarchical structure
Just because XML is a hierarchical markup language does not mean that it can only be used for hierarchical things. Perhaps you should look at RDF which can use many to many mappings through resources and groupings (sequences, bags, and alternates). (A resource in one grouping can refer to another grouping i.e. many to many.)
-
Re:"Harmless http?"
RFC 2616, Hypertext Transfer Protocol -- HTTP/1.1 is a good read. It illustrates that, contrary to popular belief, HTTP is not a protocol defined solely for "web page requests". It is actually a general-purpose protocol for reading and writing data, creating and deleting resources, proxying, etc. No wonder SOAP (amongst other things) builds on top of it. It is a very flexible network transport layer. The danger really comes from how HTTP/SOAP are implemented. In other words, how secure is the server? Recent issues with IIS allowing full write access to FAT-based web directories shows how poor security design in software can lead to all kinds of unintended consequences.
-
Re:No big deal
PNG was supposed to replace GIF because (Unisys?) was going to uphold patents on GIF
Also because PNG is Turbo Studly standard and supposedly unencumbered.
Has anyone even seen a PNG file online? I think I ran across a grand total of 1. Of course there could have been inline graphics that I didn't notice, but really?
Yeah, inline graphics are pretty rare on the web. Plus, some sites are designed to give you PNG if your browser supports OBJECT PNG, and GIF otherwise.
From my mozilla cache:
file * | grep PNG | wc -l = 20
file * | grep GIF | wc -l = 546
Of course, I do spend a lot of time on http://pnggygirls.com.
From Altavista:
image:bmp (348,527 results)
image:png (1,726,036 results)
image:jpg (204,606,124 results)
image:gif (452,012,967 results)
Looks like PNG is kicking BMPs butt! -
Not XML, RDF
XML wouldn't be a good alternative for CLM2, but it's squarely in scope for RDF and the Semantic Web.
-
Not XML, RDF
XML wouldn't be a good alternative for CLM2, but it's squarely in scope for RDF and the Semantic Web.
-
Re:Outdated, irrelevant facts w/o more info
Ah crap, (I cant believe how retarded slashdot is, I did it to fast and it said the "slow down cowboy" BS, when I backed up my text was gone, so I repasted but forget to correct it, grrrr)
http://lists.w3.org/Archives/Public/www-patentpoli cy-comment/2001Sep/0734.html
-
This patent is already licensed Royalty-Free
Shit man, click links people. I clicked on the link to the W3 page (http://www.w3.org/2001/07/SVG10-IPR-statements.h
t ml) and right there at the top clearly stated:
Update: Adobe have updated their license to clarify that it is, indeed, Royalty-Free.
Talk about quick overreaction. Maybe check out the links and info before posting a story next time? -
Actually, it IS a Web standard.
http://www.w3.org/Graphics/PNG/ is the page on the W3C's site on the subject.
-
Re:What in God's name...
Umm...not exactly. Using browser-specific extensions (like IE's marquee tag) would be an example of brain-dead web design. Abusing a browser's scripting capability (such as requiring JavaScript to be able to navigate through a website instead of just using anchor tags...some sites do that) would be another example of brain-dead design. Sticking to published standards, OTOH, is usually regarded as a Good Thing.A quick check of the HTML indicates that CSS positioning was used; Nutscrape...doesn't know how to implement CSS positioning. Internet Explorer works properly; Mozilla and Opera should work too
So, you're in agreement: It was a braindead web design. "Use my browser or don't view my webpage" is braindead web design. Period.It's worth noting that a properly-designed page should render reasonably well in any browser, to the limit of the browser's capabilities. Try calling up the page given here in Lynx, for instance; I wouldn't be surprised if it renders properly in Lynx (sans images, of course).
If your browser doesn't render pages properly, you might want to consider upgrading to a better browser, one that properly implements the published standards.
-
Re:What in God's name...
Umm...not exactly. Using browser-specific extensions (like IE's marquee tag) would be an example of brain-dead web design. Abusing a browser's scripting capability (such as requiring JavaScript to be able to navigate through a website instead of just using anchor tags...some sites do that) would be another example of brain-dead design. Sticking to published standards, OTOH, is usually regarded as a Good Thing.A quick check of the HTML indicates that CSS positioning was used; Nutscrape...doesn't know how to implement CSS positioning. Internet Explorer works properly; Mozilla and Opera should work too
So, you're in agreement: It was a braindead web design. "Use my browser or don't view my webpage" is braindead web design. Period.It's worth noting that a properly-designed page should render reasonably well in any browser, to the limit of the browser's capabilities. Try calling up the page given here in Lynx, for instance; I wouldn't be surprised if it renders properly in Lynx (sans images, of course).
If your browser doesn't render pages properly, you might want to consider upgrading to a better browser, one that properly implements the published standards.
-
Re:what if
Have you read this linked page? Have you read any statements made by Apple that they are using this patent to prevent you from using the PNG format?
If you look at that page, you will see that Apple does offer a license for the patent as part of the SVG 1.0 patent which is being put together. It looks like they are just being cautious in order to keep their rights to the patent intact, but still allow it to be used for PNG and SVG.There are plenty of greedy corporations out there and Apple may in fact be one, but don't assume they are without looking at all the facts. Take a look at the sites listed in this article, write to Apple and ask questions, express your thoughts to Apple. If you are not then satisfied with what you see then you can make as much noise about it as you want. Making a big deal about this just because someone has implied wrongdoing on Apple's part is just being a follower.
-
Re:What in God's name...
Well, since the subject was Netscape's failure to properly render CSS positioning, and since CSS wasn't in the HTML standards of "many years ago," you basically support my position. By the way, did you follow the link I gave [anybrowser.org]?
CSS1 has been a standard since December 1996, CSS2 since May 1998. Don't give any crap about NS4 being older than the spec because it isn't really true. CSS didn't spring forth from the head of Berners-Lee, NS and MS both helped design the standard. At the time Netscape was pushing their proprietary HTML tags and CSS implementation and didn't bother to implement the standards. NS4 is intentionally broken.
I do blame Netscape for failing to implement the standards that they helped to create. It's very, very sad that browser implementations are 5 years behind their own standards, keeping web design in the dark ages. Blinking purple text on a blinking starfield background (with flames!!) here I come !!
-
Re:What in God's name...
Well, since the subject was Netscape's failure to properly render CSS positioning, and since CSS wasn't in the HTML standards of "many years ago," you basically support my position. By the way, did you follow the link I gave [anybrowser.org]?
CSS1 has been a standard since December 1996, CSS2 since May 1998. Don't give any crap about NS4 being older than the spec because it isn't really true. CSS didn't spring forth from the head of Berners-Lee, NS and MS both helped design the standard. At the time Netscape was pushing their proprietary HTML tags and CSS implementation and didn't bother to implement the standards. NS4 is intentionally broken.
I do blame Netscape for failing to implement the standards that they helped to create. It's very, very sad that browser implementations are 5 years behind their own standards, keeping web design in the dark ages. Blinking purple text on a blinking starfield background (with flames!!) here I come !!
-
Re:W3C ratificationit is NOT ratified. it is still just a submission. not even a recommendation.
"This document is a submission to the World Wide Web Consortium (see Submission Request, W3C Staff Comment) to propose the formation of a working group in the area of XML-based protocols. Comments are welcome to the authors but you are encouraged to share your views on the W3C's public mailing list (see archives)."
From the SOAP spec. -
Re:Maybe XML?
No, XML is just a family of languages. You might however want to have a look at SVG (Scalable Vector Graphics), a XML-based format for (surprinsigly) vector graphics. See also here
Drawing tools are beginning to be able to save also in SVG format. We may soon see open source tool that natively save data in SVG format... -
Re:seeking more infoHere's some general resources on web accessibility:
-
Re:So be a friendly webmaster...install mod_gzip
I've compared the same site with and without mod_gzip over a modem, and mod_gzip is definately faster. http://www.w3.org/Protocols/HTTP/Performance/Comp
r ession/PPP.html agrees - fewer packets because of smaller data = faster performance on a modem. In addition, V.42bis checks to see if its own compression would be beneficial or not, and if not, it switches over to transparent mode. V.44 does the same thing, and compresses better. At http://www.digit-life.com/articles/compressv44vsv4 2bis/, if you look at table3, you'll see that pkzip compresses everything [that's not already compressed] about twice as much as either modem standard.
So, mod_gzip *does* in fact help out modem users, as it compresses data much more than any modem does, reducing the total amount of data to be sent by a greater amount while simultaneously reducing the number of packets sent.
I use mod_gzip, and everyone else should too. :) -
Scalable Vector Graphics - SVG
For those interested, http://www.w3.org/TR/SVG/, is the specification to SVG 1.0.
Nautilus, the GNOME filemanager and graphical shell uses SVG
(actually librsvg) for drawing vector icons and rendering anti-aliased fonts. -
Good for accessibility
Such a device will be very handy for people that have visual impairments. Instead of the current bulky and expensive kits, this will be an improvement, especially for VI users out-and-about.
What can you do? Make your web pages accessible for a start.
-
Re:Vote.
The Patent Policy Working Group makes decisions by consensus. Invited experts are considered equally with W3C Members in assessing consensus. Note (not particularly in response to your question) that consensus means broad agreement, not unanimity. Under W3C process, those who dissent from consensus decisions have a right to file minority reports, what we call a formal object.
The problem with this response is as described in a comment that I forwarded to the W3C Patent Policy mailing list:
W3C's initial response to public comments on RAND could be construed as
I see nothing in the responses provided that is responsive to this concern.
an attempt to control the debate via a "good bill/bad bill" strategy.
That is, the current status quo is for the Web to be based on open,
non-proprietary standards. A proposal is mooted to implement a RAND (or
UFO) policy for new Web standards. Critics of this policy are then told
that they must "be constructive" in their criticism of the UFO policy,
as the choice is between a very onerous UFO policy and one which, having
been "constructively criticized", is only slightly less onerous. The
choice of retaining or strengthening the status quo (no patented
technology in Web standards) is taken off the table before the debate
begins.sPh
-
Start with the basics...For a starter, teach them HTML. Not just any HTML, but real HTML. Teach them the value of standards and opening up their pages to as many users as possible (i.e. if you follow the standards, more people will read your pages and if you're an eCommerce site, that's vital). Also teach them that not everyone can see graphics; I'm not talking about lynx users so much as the blind. Using animated GIFs can really screw up the chances of a blind person's reader working well. Finally, teach them how to validate their pages on W3C's validator. You might want to make some part of your marks dependant on successful validation of the pages.
Once they can create static content, let them play with server side includes first. It's a good introduction to dynamic content and it's pretty simple. It's also standard on most web platforms (Netscape, sorry, iPlanet, Apache, IIS).
You're not going to be able to instruct them on real dynamic content without teaching them databases as well, which is a problem. 90% of dynamic content on the web has a DB backend, whether it be Oracle, mySQL, PostreSQL or SQL server. To design that side correctly, you need to understand how to delegate responsibilities to the DB (i.e. foreign keys, referential databases etc). However, if you can get that side done, ASP has some advantages:
- It has a large market share and is probably more employable than PHP/perl
- You can get personal web server (at least under win9x) to play around on home machines
- as it's VB based, it's pretty simple.
- I'd imagine it works well with Frontpage if that's what you want to use as a tool (and let's face it, for new computer users, it's not a bad idea)
Good luck!
-
The patentpolicy-comment list is still open.
You can subscribe to it by sending a message to:
www-patentpolicy-comment-request@w3.org
with subject 'subscribe' and body:
subscribe <your email address>
Archives are here.
You'll do a lot more good by subscribing to, and posting to the patentpolicy-comment list than by posting here. Oh, you don't have to be subscribed to the list to email to it, but it's well worth making the extra effort. -
Re:Another round of comments /might/ help
More comments to the public comment archive would certainly be welcome. There will be another public Last Call draft released before we make any final decision. Comments on this next draft would be particularly useful. We've heard a fair amount about the current draft already.
-
Another round of comments /might/ helpI would ask all Slashdotters concerned about this situation to read these response, read the W3C Patent Committee's October meeting minutes, and submit another round of comments via the W3C e-mail address. Given the answers shown here, I really don't have much hope, but there is some possibility it might help.
sPh
-
Another round of comments /might/ helpI would ask all Slashdotters concerned about this situation to read these response, read the W3C Patent Committee's October meeting minutes, and submit another round of comments via the W3C e-mail address. Given the answers shown here, I really don't have much hope, but there is some possibility it might help.
sPh
-
Safesurf confused on technology, Constitution.OK, we've known for a while that Safesurf, like many of their competitors, is confused about what freedom of speech is about and what the Constitutional protections for it are about, and they've got random difficulties with English grammar and basic logic as well.
The Safesurf MAPS rant complains about them stealth-blocking websites that may contain important information, and people won't know they're being censored. But they've got the technology wrong: MAPS doesn't block websites - they provide tools that are normally used for blocking emails and furthermore, sites that implement MAPS tools properly normally provide bouncegrams telling people they block how and why their email was rejected, so they can fix their problems. The only way a company like Safesurf would be "censored" by a MAPS-using mailbox service would be if they sent out email to people - and since they'd find out they had a problem the first time they tried to send mail, they could put a notice on their website about it and tell people who want followup communications from them how to contact them.
Furthermore, Safesurf's web site violates Safesurf's proposed law creating (and mixing up) civil and criminal penalties and tort liability for mislabeling or failing to label web sites. Their original proposal was more aggressive than their current one, but it still doesn't require any actual harm to any actual child, as long as there are graphic images on the site (logos and decorations may not be harmful, but they're graphics, so we're covered there.) Plaintiffs can sue if the site doesn't provide appropriate ratings labels on material severe enough to be potentially harmful to children. Certainly, any proposal to throw people in jail for what they write on the net is pretty severe, and could cause harm to children who write things without labeling them if such a law were passed, and telling kids that people want to do that kind of harm to them just for what they write, even if there's no law passed, can also be pretty scary. www.safesurf.com's label says"CONTENT='(PICS-1.1 "http://www.classify.org/safesurf/" l r (SS~~000 1))'"
which if you look it up on the explanatory web site doesn't have any indication of what the rating means. It does point to a site that tells you how to download a ".rat" file into your browser, and if you open up that file with a text editor instead of installing it, the file indicates something about "all ages", but doesn't indicate whether it's appropriate or inappropriate for all ages, so that a web browser could be set to do the appropriate thing with it, though it clearly implies that the really scary material complained about above should be appropriate for all ages....
"http://www.w3.org/TR/REC-PICS-services" has more PICS explanations.
Update - their web page indicates that MAPS has now unblocked them.
-
Re:Native OS widgets cannot be used if you want CS
The HTML 4.01 spec does not define buttons as generic containers; in fact, it refers explictly to their extra rendering requirements.
Whatever that spec says to you in whatever wierd interpretation you make is largely of historical interest. The current state of the art in HTML specs if xhtml 1.1 which specifically has nothing to say on any visual aspects of rendering, leaving that for CSS
From here:
Note: In CSS1 & CSS2 the form elements of HTML were also counted as replaced elements, because they were considered to be replaced by buttons, text fields, etc. that were proprietary to the platform. In CSS3 these elements are normal, non-replaced elements. CSS3 has explicit properties that can make them look like they did in CSS1 and CSS2 (or make them look completely different).
So there you are. If you are building a browser that hopes to be and continue to be "state of the art" you better treat your standard form elements as you would any other element, because while buttons etc may look like they did previously they can also be made to look completely different using standard CSS terminology as with any other element.
Native widgets on both Windows and Mac have transparent backgrounds and draw in a z-ordered way.
How nice. What a pity that the CSS3 proposal covering opacity doesn't just call for transparent backgrounds but for whole elements (including content) to be transparent. To my knowledge the windows widgets don't support that natively. I'm happy to be proved wrong though, show me some source code that I can compile and run on win98 or an msdn page that says otherwise. -
Re:Native OS widgets cannot be used if you want CS
The HTML 4.01 spec does not define buttons as generic containers; in fact, it refers explictly to their extra rendering requirements.
Whatever that spec says to you in whatever wierd interpretation you make is largely of historical interest. The current state of the art in HTML specs if xhtml 1.1 which specifically has nothing to say on any visual aspects of rendering, leaving that for CSS
From here:
Note: In CSS1 & CSS2 the form elements of HTML were also counted as replaced elements, because they were considered to be replaced by buttons, text fields, etc. that were proprietary to the platform. In CSS3 these elements are normal, non-replaced elements. CSS3 has explicit properties that can make them look like they did in CSS1 and CSS2 (or make them look completely different).
So there you are. If you are building a browser that hopes to be and continue to be "state of the art" you better treat your standard form elements as you would any other element, because while buttons etc may look like they did previously they can also be made to look completely different using standard CSS terminology as with any other element.
Native widgets on both Windows and Mac have transparent backgrounds and draw in a z-ordered way.
How nice. What a pity that the CSS3 proposal covering opacity doesn't just call for transparent backgrounds but for whole elements (including content) to be transparent. To my knowledge the windows widgets don't support that natively. I'm happy to be proved wrong though, show me some source code that I can compile and run on win98 or an msdn page that says otherwise. -
Re:Native OS widgets cannot be used if you want CSAre you trolling? I'm beginning to conclude that you must be as you are misinterpreting virtually everything.
HTML (in it's modern form) defines structural functionality.
CSS defines presentational possibilities.
The User Agents default stylesheet provides default CSS presentational definitions for HTML.
These defaults are overridable by the author and user (in that order) in accordance with the possibilities that CSS allows.No offense, but that's just not true. An interactive element is not an empty DIV. It has a content area. That content area contains a button.
Er, that div wasn't empty, it had exactly the same content as the button. That content was the text "hello". To suggest that the content of a <button> element is the visual rendering of a button demonstrates a fundamental lack of understanding. The content of a <button> element is what lies between the two tags, as the html 4.01 specification shows quite plainly by placing some text and an image in there.
You seem to be fundamentally unaware of the evolution that this media has and is going through. Everything is being generalised. The presentational details (ie what it looks like) are being seperated from the structural functionality. That a button performs an action when clicked on is to do with it's structural functionality. That it looks like you'd expect a button to look is a presentational detail.
With CSS, in a CSS compliant browser, an author (or user) can modify that look from the default look provided by the user agents default stylesheet in any way they like.
In the same way it is possible to make a normally inline <span> element have a "display:block;" I can make a normally "inline-block" <button> element display with "inline", "block" , "table", "table-cell", "hidden" etc etc. Whether it makes sense for me to do so is another matter entirely, but it is possible and ultimatly required by the specs.
Everything is being generalised. Presentation is being seperated from structural functionality. We're moving from html whatever to xhtml 1.1 (and beyond). Odd things (such as form widget rendering) that just "worked" in older HTML versions are being redefined in terms of generic CSS language (this is the goal of the CSS3 page I linked to if you read it). This generalisation opens a whole world of possibilities. If you are building a browser today and you want it to be able to grow into these possibilities you need to embrace the genericism from the ground up.
The whole bit you quoted after "explicitly says that backgrounds should not be set for HTML items" simply means that if you want to set a background for an HTML page (as opposed to a non-HTML XML page) they recommend you do it on the <body> element rather than the <html>. If you were styling an arbitrary XML page you'd set the background for the whole page on the root element. They are simply saying that for html you should do it on the <body> tag instead, largely for historical reasons. It's got absolutely nothing to do with buttons or widgets.
The goal there is to be able to use system default appearances, not to get away from system default appearances.
"system standard rendering" is not defined anywhere that I could find.
Those keywords only give you access to system standard renderings. It would be a good idea for a user agent to make use of these definitions in it UA stylesheet. You are certainly not forced to use them as an author or as a user. As either a conforming browser would enable me to make a checkbox look like a radio button and vice versa, or stick something that looks like a radio button at the beginning of every paragraph.
Even if you accept that "system standard rendering" means using the default OS widgets and also accept that those widgets may not be capable of fulfilling other (potential) CSS aspects (z-index, opacity) then the specs are at odds with themselves and need to be fixed or priorities given. If I were allocating priorities I'd opt for consistancy within the browser window, rather than between the browser window and the OS.
Again, for those who have trouble reading spec language, that says that CSS3 is meant to use default system widget appearances, and that Mozilla is not going to be able to support CSS3 because it uses its own non-standard widget appearances.
I guess that depends on what you mean by platform. Mozilla could well be described as the platform. In any case people who don't have trouble reading W3 spec language are well aware that anything that is merely "suggested" has no impact on conformity to the standard.
.
Some thoughts on the whole widget thing from the Mozilla folk are here. -
Re:Native OS widgets cannot be used if you want CSAre you trolling? I'm beginning to conclude that you must be as you are misinterpreting virtually everything.
HTML (in it's modern form) defines structural functionality.
CSS defines presentational possibilities.
The User Agents default stylesheet provides default CSS presentational definitions for HTML.
These defaults are overridable by the author and user (in that order) in accordance with the possibilities that CSS allows.No offense, but that's just not true. An interactive element is not an empty DIV. It has a content area. That content area contains a button.
Er, that div wasn't empty, it had exactly the same content as the button. That content was the text "hello". To suggest that the content of a <button> element is the visual rendering of a button demonstrates a fundamental lack of understanding. The content of a <button> element is what lies between the two tags, as the html 4.01 specification shows quite plainly by placing some text and an image in there.
You seem to be fundamentally unaware of the evolution that this media has and is going through. Everything is being generalised. The presentational details (ie what it looks like) are being seperated from the structural functionality. That a button performs an action when clicked on is to do with it's structural functionality. That it looks like you'd expect a button to look is a presentational detail.
With CSS, in a CSS compliant browser, an author (or user) can modify that look from the default look provided by the user agents default stylesheet in any way they like.
In the same way it is possible to make a normally inline <span> element have a "display:block;" I can make a normally "inline-block" <button> element display with "inline", "block" , "table", "table-cell", "hidden" etc etc. Whether it makes sense for me to do so is another matter entirely, but it is possible and ultimatly required by the specs.
Everything is being generalised. Presentation is being seperated from structural functionality. We're moving from html whatever to xhtml 1.1 (and beyond). Odd things (such as form widget rendering) that just "worked" in older HTML versions are being redefined in terms of generic CSS language (this is the goal of the CSS3 page I linked to if you read it). This generalisation opens a whole world of possibilities. If you are building a browser today and you want it to be able to grow into these possibilities you need to embrace the genericism from the ground up.
The whole bit you quoted after "explicitly says that backgrounds should not be set for HTML items" simply means that if you want to set a background for an HTML page (as opposed to a non-HTML XML page) they recommend you do it on the <body> element rather than the <html>. If you were styling an arbitrary XML page you'd set the background for the whole page on the root element. They are simply saying that for html you should do it on the <body> tag instead, largely for historical reasons. It's got absolutely nothing to do with buttons or widgets.
The goal there is to be able to use system default appearances, not to get away from system default appearances.
"system standard rendering" is not defined anywhere that I could find.
Those keywords only give you access to system standard renderings. It would be a good idea for a user agent to make use of these definitions in it UA stylesheet. You are certainly not forced to use them as an author or as a user. As either a conforming browser would enable me to make a checkbox look like a radio button and vice versa, or stick something that looks like a radio button at the beginning of every paragraph.
Even if you accept that "system standard rendering" means using the default OS widgets and also accept that those widgets may not be capable of fulfilling other (potential) CSS aspects (z-index, opacity) then the specs are at odds with themselves and need to be fixed or priorities given. If I were allocating priorities I'd opt for consistancy within the browser window, rather than between the browser window and the OS.
Again, for those who have trouble reading spec language, that says that CSS3 is meant to use default system widget appearances, and that Mozilla is not going to be able to support CSS3 because it uses its own non-standard widget appearances.
I guess that depends on what you mean by platform. Mozilla could well be described as the platform. In any case people who don't have trouble reading W3 spec language are well aware that anything that is merely "suggested" has no impact on conformity to the standard.
.
Some thoughts on the whole widget thing from the Mozilla folk are here. -
Re:Native OS widgets cannot be used if you want CS
I agree that the CSS spec certainly does not require that any form widgets be stylable. The CSS2 model is not sufficient to describe the rendering of even the simplest form widgets (mainly due to the weakness of its anonymous content generation and lack of some concepts in the box model). Therefore the CSS spec doesn't define how form widgets should respond to CSS styles. I think (although some others disagree) that this implies that a user-agent that applies any CSS styles to form controls is extending CSS.
Proposals such as XBL would add to CSS a model that is sufficient to describe the behavior of form controls. With that or a similar proposal one could have styling of form controls within the CSS spec.
Even then, I doubt the CSS spec would ever require that user-agents avoid native form controls in favor of stylable ones. (It is possible that user agents with native form controls would not be able to implement all modules of CSS since they would not be able to implement the module describing the styling of form controls.) After all, native form controls give the user a more consistent and usually better user interface.
-David
-
Re:Native OS widgets cannot be used if you want CS
I agree that the CSS spec certainly does not require that any form widgets be stylable. The CSS2 model is not sufficient to describe the rendering of even the simplest form widgets (mainly due to the weakness of its anonymous content generation and lack of some concepts in the box model). Therefore the CSS spec doesn't define how form widgets should respond to CSS styles. I think (although some others disagree) that this implies that a user-agent that applies any CSS styles to form controls is extending CSS.
Proposals such as XBL would add to CSS a model that is sufficient to describe the behavior of form controls. With that or a similar proposal one could have styling of form controls within the CSS spec.
Even then, I doubt the CSS spec would ever require that user-agents avoid native form controls in favor of stylable ones. (It is possible that user agents with native form controls would not be able to implement all modules of CSS since they would not be able to implement the module describing the styling of form controls.) After all, native form controls give the user a more consistent and usually better user interface.
-David
-
Re:Native OS widgets cannot be used if you want CS
I agree that the CSS spec certainly does not require that any form widgets be stylable. The CSS2 model is not sufficient to describe the rendering of even the simplest form widgets (mainly due to the weakness of its anonymous content generation and lack of some concepts in the box model). Therefore the CSS spec doesn't define how form widgets should respond to CSS styles. I think (although some others disagree) that this implies that a user-agent that applies any CSS styles to form controls is extending CSS.
Proposals such as XBL would add to CSS a model that is sufficient to describe the behavior of form controls. With that or a similar proposal one could have styling of form controls within the CSS spec.
Even then, I doubt the CSS spec would ever require that user-agents avoid native form controls in favor of stylable ones. (It is possible that user agents with native form controls would not be able to implement all modules of CSS since they would not be able to implement the module describing the styling of form controls.) After all, native form controls give the user a more consistent and usually better user interface.
-David
-
Re:Native OS widgets cannot be used if you want CS
I agree that the CSS spec certainly does not require that any form widgets be stylable. The CSS2 model is not sufficient to describe the rendering of even the simplest form widgets (mainly due to the weakness of its anonymous content generation and lack of some concepts in the box model). Therefore the CSS spec doesn't define how form widgets should respond to CSS styles. I think (although some others disagree) that this implies that a user-agent that applies any CSS styles to form controls is extending CSS.
Proposals such as XBL would add to CSS a model that is sufficient to describe the behavior of form controls. With that or a similar proposal one could have styling of form controls within the CSS spec.
Even then, I doubt the CSS spec would ever require that user-agents avoid native form controls in favor of stylable ones. (It is possible that user agents with native form controls would not be able to implement all modules of CSS since they would not be able to implement the module describing the styling of form controls.) After all, native form controls give the user a more consistent and usually better user interface.
-David
-
Re:Native OS widgets cannot be used if you want CS
I agree that the CSS spec certainly does not require that any form widgets be stylable. The CSS2 model is not sufficient to describe the rendering of even the simplest form widgets (mainly due to the weakness of its anonymous content generation and lack of some concepts in the box model). Therefore the CSS spec doesn't define how form widgets should respond to CSS styles. I think (although some others disagree) that this implies that a user-agent that applies any CSS styles to form controls is extending CSS.
Proposals such as XBL would add to CSS a model that is sufficient to describe the behavior of form controls. With that or a similar proposal one could have styling of form controls within the CSS spec.
Even then, I doubt the CSS spec would ever require that user-agents avoid native form controls in favor of stylable ones. (It is possible that user agents with native form controls would not be able to implement all modules of CSS since they would not be able to implement the module describing the styling of form controls.) After all, native form controls give the user a more consistent and usually better user interface.
-David
-
Re:Native OS widgets cannot be used if you want CS
There is no difference to CSS whether I have: <button>hello</button> or <div>hello</div>
No offense, but that's just not true. An interactive element is not an empty DIV. It has a content area. That content area contains a button.
Also please note that the CSS2 spec explicitly says that backgrounds should not be set for HTML items: The background of the box generated by the root element covers the entire canvas. For HTML documents, however, we recommend that authors specify the background for the BODY element rather than the HTML element. User agents should observe the following precedence rules to fill in the background: if the value of the 'background' property for the HTML element is different from 'transparent' then use it, else use the value of the 'background' property for the BODY element.
For those of you with trouble reading spec-ese, this means a couple of things. First, the allegedly required functionality (widget background setting) is actually recommended against in the specification.
Second, the Mozilla implementation misinterprets the spec. Having a button on a BODY that has a background image or background color would create the same visual effect within the button's bounding box as setting the button's own background image or background color -- which is to say, a surround effect, not a fill effect.
The supposedly required functionality is not required, and Mozilla is interpreting the functionality in a clearly incorrect way.
Having said all that, current CSS recomendations may not be able to adequatly describe the visual rendering of all form elements but that is where we are heading [w3.org]. Ultimatly while form elements may normally look like they've been rendered with this style sheet [w3.org] there's nothing to stop the web author or end user modifying those attributes as they can any other attributes on any other element.
Nope, sorry, you're reading that wrong too. The goal there is to be able to use system default appearances, not to get away from system default appearances. Search for the string "system standard rendering" -- it appears many times -- and note statements like:
Section 2.1 of CSS1 and Chapter 18 of CSS2 introduced several user interface related pseudo-classes, properties and values. This proposal extends them to provide the ability, through CSS, to style elements based upon their various user interface related states, and to make an arbitrary structural element take on the dynamic presentation, or system default look and feel, of various standard user interface widgets.
The exact rendering of check and diamond depends on the user agent, but it is suggested that the same glyph which is used on the platform to render a "checked" menu item be used for "check", and similarly for those platforms which support rendering of a "diamond" next to a menu item. Conformant user agents may render 'diamond' the same as 'check'. The radio- and checkbox- values are rendered as they are by default on the platform.
Again, for those who have trouble reading spec language, that says that CSS3 is meant to use default system widget appearances, and that Mozilla is not going to be able to support CSS3 because it uses its own non-standard widget appearances.
Tim -
Re:Native OS widgets cannot be used if you want CS
There is no difference to CSS whether I have: <button>hello</button> or <div>hello</div>
No offense, but that's just not true. An interactive element is not an empty DIV. It has a content area. That content area contains a button.
Also please note that the CSS2 spec explicitly says that backgrounds should not be set for HTML items: The background of the box generated by the root element covers the entire canvas. For HTML documents, however, we recommend that authors specify the background for the BODY element rather than the HTML element. User agents should observe the following precedence rules to fill in the background: if the value of the 'background' property for the HTML element is different from 'transparent' then use it, else use the value of the 'background' property for the BODY element.
For those of you with trouble reading spec-ese, this means a couple of things. First, the allegedly required functionality (widget background setting) is actually recommended against in the specification.
Second, the Mozilla implementation misinterprets the spec. Having a button on a BODY that has a background image or background color would create the same visual effect within the button's bounding box as setting the button's own background image or background color -- which is to say, a surround effect, not a fill effect.
The supposedly required functionality is not required, and Mozilla is interpreting the functionality in a clearly incorrect way.
Having said all that, current CSS recomendations may not be able to adequatly describe the visual rendering of all form elements but that is where we are heading [w3.org]. Ultimatly while form elements may normally look like they've been rendered with this style sheet [w3.org] there's nothing to stop the web author or end user modifying those attributes as they can any other attributes on any other element.
Nope, sorry, you're reading that wrong too. The goal there is to be able to use system default appearances, not to get away from system default appearances. Search for the string "system standard rendering" -- it appears many times -- and note statements like:
Section 2.1 of CSS1 and Chapter 18 of CSS2 introduced several user interface related pseudo-classes, properties and values. This proposal extends them to provide the ability, through CSS, to style elements based upon their various user interface related states, and to make an arbitrary structural element take on the dynamic presentation, or system default look and feel, of various standard user interface widgets.
The exact rendering of check and diamond depends on the user agent, but it is suggested that the same glyph which is used on the platform to render a "checked" menu item be used for "check", and similarly for those platforms which support rendering of a "diamond" next to a menu item. Conformant user agents may render 'diamond' the same as 'check'. The radio- and checkbox- values are rendered as they are by default on the platform.
Again, for those who have trouble reading spec language, that says that CSS3 is meant to use default system widget appearances, and that Mozilla is not going to be able to support CSS3 because it uses its own non-standard widget appearances.
Tim