473,795 Members | 3,024 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

What parts of CSS 2.1 specification really implemented

Hello All.

I wonder if browsers developers scoff at CSS developers... I do simple
tests while reading CSS2.1 specification, just few boxes. And from time
to time I see that recent browsers render these *simple* things
*incorrectly* (each one in it's own way).

If I had a big page with dozen of blocks and they rendered incorrectly
- I'll call this a *bug* (and I can understand this). But when simple
things from specification not working - I don't know how too call
this...

I just took an ACID2 test with IE6, IE7, Opera 9, Firefox 2.0.0
http://www.webstandards.org/action/acid2

Opera 9 is excellent on this test, Firefox good (but has errors),
IE6/IE7 - terrible.

Can any body point me to resources, where I can read what parts of CSS
2.1 specification really implemented, and what are not?

Also, may be there is a resource that illustrates CSS2.1 expected
rendering (for every element). May be some wiki, or unit tests?

- Alex

Jan 22 '07 #1
7 1670
On 2007-01-22, fo***********@g mail.com <fo***********@ gmail.comwrote:
Hello All.

I wonder if browsers developers scoff at CSS developers...
Probably, they're a pretty arrogant bunch.
I do simple tests while reading CSS2.1 specification, just few boxes.
And from time to time I see that recent browsers render these
*simple* things *incorrectly* (each one in it's own way).
In many cases the specification allows browsers to render things
differently. Just because they do isn't evidence of non-conformance or
bugs, although it's often worth investigating.
If I had a big page with dozen of blocks and they rendered incorrectly
- I'll call this a *bug* (and I can understand this). But when simple
things from specification not working - I don't know how too call
this...
Next time you find one post a specific example.
I just took an ACID2 test with IE6, IE7, Opera 9, Firefox 2.0.0
http://www.webstandards.org/action/acid2

Opera 9 is excellent on this test, Firefox good (but has errors),
IE6/IE7 - terrible.
That acid test is diabolical.
Can any body point me to resources, where I can read what parts of CSS
2.1 specification really implemented, and what are not?
There's not much of the spec that isn't implemented in Opera and
Firefox. The most notable thing missing from Firefox is
display:inline-block.
Jan 22 '07 #2
Ben C wrote:
There's not much of the spec that isn't implemented in Opera and
Firefox. The most notable thing missing from Firefox is
display:inline-block.
Display:run-in! I want display:run-in!

Sigh.

David
Stardate 7060.7
Jan 22 '07 #3
On 2007-01-22, David Trimboli <da***@trimboli .namewrote:
Ben C wrote:
>There's not much of the spec that isn't implemented in Opera and
Firefox. The most notable thing missing from Firefox is
display:inli ne-block.

Display:run-in! I want display:run-in!
I completely forgot about display: run-in! I just tried it and it seems
to basically work in Opera, but not Firefox.

I never realized though how useful inline-block was. Quite a few times
people have posted layout requirements here and the solution has
involved the words "now if only inline-block was better supported..."
Jan 22 '07 #4
Rik
Ben C wrote:
On 2007-01-22, David Trimboli <da***@trimboli .namewrote:
>Ben C wrote:
>>There's not much of the spec that isn't implemented in Opera and
Firefox. The most notable thing missing from Firefox is
display:inlin e-block.

Display:run-in! I want display:run-in!

I completely forgot about display: run-in! I just tried it and it
seems to basically work in Opera, but not Firefox.
Opera Rocks!
I never realized though how useful inline-block was. Quite a few times
people have posted layout requirements here and the solution has
involved the words "now if only inline-block was better supported..."
Yup, width (and/or height), without the irritating properties of floating
(they _are_ contained within the box, instead of
'floated out', which usually makes us do otherwise unnecessary clears to
let the box contain them...
--
Rik Wasmus
Jan 22 '07 #5
Hi,

Thanks for your replies.
>The most notable thing missing from Firefox is display:inline-block.
Yes, inline-block bugs and 'acid2' motivated me too write the post.
That acid test is diabolical.
May be, but rendering as IE7 is diabolical too, is not it? Or may be my
IE7 is not final?
There's not much of the spec that isn't implemented in Opera and
Firefox.
Hm... Cool if so.
Can you also check following HTML. It seems that 'display' value
affects div rendering only under Opera (neither FF nor IE7).

= = = = = = =
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Strict//EN">
<html>
<style type="text/css">

div, span {
background:oran ge; border:1px gray solid; padding:4px; margin:2px;
display: inline-block;
}

</style>

<body>
<p>
<strong>inlin e</strong>
<div>div</div>
<div>div</div>
<br>
<span>span</span>
<span>span</span>
</p>
</body>

</html>
= = = = = = =

Is it a bug? If so we have bug in: inline, inline-block, run-in... If
my CSS learning continue this way I'll have only 'display:none' in my
toolbox :-)

- Alex.

Jan 23 '07 #6
On 2007-01-23, fo***********@g mail.com <fo***********@ gmail.comwrote:
Hi,

Thanks for your replies.
>>The most notable thing missing from Firefox is display:inline-block.
Yes, inline-block bugs and 'acid2' motivated me too write the post.
>That acid test is diabolical.
May be, but rendering as IE7 is diabolical too, is not it? Or may be my
IE7 is not final?
I don't know about IE7. People seem to be saying it's an improvement
over IE6, but I get the impression it's a long way behind Firefox.
>There's not much of the spec that isn't implemented in Opera and
Firefox.
Hm... Cool if so.
Can you also check following HTML. It seems that 'display' value
affects div rendering only under Opera (neither FF nor IE7).
This is just because they don't support display: inline-block. You can
change display on a div to display: inline (for example) and you will
see the difference.
>
= = = = = = =
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Strict//EN">
<html>
<style type="text/css">

div, span {
background:oran ge; border:1px gray solid; padding:4px; margin:2px;
display: inline-block;
}
[snip]
Is it a bug? If so we have bug in: inline, inline-block, run-in... If
my CSS learning continue this way I'll have only 'display:none' in my
toolbox :-)
Don't count on display:none working :)
Jan 23 '07 #7
fo***********@g mail.com schrieb:
<p>
<strong>inlin e</strong>
<div>div</div>
<div>div</div>
<br>
<span>span</span>
<span>span</span>
</p>
[...]
Is it a bug? If so we have bug in: inline, inline-block, run-in...
.... and in your code: p elements cannot contain div elements.
--
Johannes Koch
In te domine speravi; non confundar in aeternum.
(Te Deum, 4th cent.)
Jan 23 '07 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

699
34260
by: mike420 | last post by:
I think everyone who used Python will agree that its syntax is the best thing going for it. It is very readable and easy for everyone to learn. But, Python does not a have very good macro capabilities, unfortunately. I'd like to know if it may be possible to add a powerful macro system to Python, while keeping its amazing syntax, and if it could be possible to add Pythonistic syntax to Lisp or Scheme, while keeping all of the...
92
6544
by: Reed L. O'Brien | last post by:
I see rotor was removed for 2.4 and the docs say use an AES module provided separately... Is there a standard module that works alike or an AES module that works alike but with better encryption? cheers, reed
137
7196
by: Philippe C. Martin | last post by:
I apologize in advance for launching this post but I might get enlightment somehow (PS: I am _very_ agnostic ;-). - 1) I do not consider my intelligence/education above average - 2) I am very pragmatic - 3) I usually move forward when I get the gut feeling I am correct - 4) Most likely because of 1), I usually do not manage to fully explain 3) when it comes true. - 5) I have developed for many years (>18) in many different environments,...
3
29681
by: Jukka K. Korpela | last post by:
I have noticed that the meaning of visibility: collapse has been discussed on different forums, but with no consensus on what it really means. Besides, implementations differ. The specification says: "The 'visibility' property takes the value 'collapse' for row, row group, column, and column group elements. This value causes the entire row or column to be removed from the display, and the space normally taken up by the row or column to...
86
7805
by: Michael Kalina | last post by:
Because when I asked for comments on my site-design (Remember? My site, your opinion!) some of you told me never to change anything on font-sizes! What do you guys think of that: http://www.clagnut.com/blog/348/ I hope that's going to be a good discussion! Michael
21
13850
by: Helge Jensen | last post by:
I've got some data that has Set structure, that is membership, insert and delete is fast (O(1), hashing). I can't find a System.Collections interface that matches the operations naturally offered by Sets. - ICollection cannot decide containment - IList promises indexability by the natural numbers, which is not achievable (since i hash elements, not sort them). - IDictionary is definatly not setlike. Although I can, of course, define...
669
26235
by: Xah Lee | last post by:
in March, i posted a essay “What is Expressiveness in a Computer Language”, archived at: http://xahlee.org/perl-python/what_is_expresiveness.html I was informed then that there is a academic paper written on this subject. On the Expressive Power of Programming Languages, by Matthias Felleisen, 1990. http://www.ccs.neu.edu/home/cobbe/pl-seminar-jr/notes/2003-sep-26/expressive-slides.pdf
36
2595
by: Pat | last post by:
Hi, I've run into a strange problem, but one that seems like it might be fairly common. I have a single base class, from which several other classes are derived. To keep the example simple, the base class is "Animal" and the derived classes are "Cat," "Dog," and "Horse." The base class has a pure virtual method:
0
1140
by: agarwasa2008 | last post by:
A macro question. I have action:Transfer Text with the following settings: ------------------------------------ Transfer Type: import Fixed Width Specification Name: ?? Table Name: parts FileName: C:\test\parts.txt
0
9672
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, well explore What is ONU, What Is Router, ONU & Routers main usage, and What is the difference between ONU and Router. Lets take a closer look ! Part I. Meaning of...
0
10439
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10215
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9043
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing, and deploymentwithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7541
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupr who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6783
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5437
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5563
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3727
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.