Closed Bug 286556 Opened 21 years ago Closed 21 years ago

Failure to pass Anne van Kesteren's absolute positioning test

Categories

(Core :: CSS Parsing and Computation, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

VERIFIED INVALID

People

(Reporter: mattraymond, Assigned: dbaron)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050223 Firefox/1.0.1 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050223 Firefox/1.0.1 Firefox 1.0.1 (And perhaps other Gecko-based browsers) fail to properly render Anne van Kesteren's Acid2 test, which was designed as a challenge for the Internet Explorer 7 developers. Specifically, the <html> element doesn't vertically center properly (related to Bug #285871), and the <body> doesn't seem to maintain a width and height of "50%". Reproducible: Always Steps to Reproduce: 1. Go to http://annevankesteren.nl/test/examples/css/acid2. 2. View the page. Actual Results: The top and bottom margins on <html> don't exist. The <body> (a dark green box) is does not have the aspect ratio of it's parent. Expected Results: The height of <html> should be only "10%" of the screen size, so the black border should not touch the top and button unless you have a really small window. The dark green box should be exactly half the height and width of the parent. Am I safe in assuming we don't want Microsoft to fix this before we do?
Depends on: 285871
BTW: In current Mozilla builds this testcase looks a bit different than in FF 1.0.1. FF 1.0.x is out-of-date in layout rendering terms.
Most bugs for this have already bene filed. The main problem is bug 243519. We don't create an initial containing block around the root element as it seems.
Don't test CSS under quirks mode...
Sorry, not quirks mode. But definately invalid HTML. I was trying to cancel the submission, but hit the commit button already.
I'm not sure if it is correct to have this bug, but the code that makes the bug invalid (a missing block level element inside the BODY element) is certainly not relevant for the display issues at hand. Please see the generated DOM of the testcase which is perfectly acceptable and (almost) compliant with HTML 4. See also the validator, which reports only a single error (that missing block level element).
Calling this the "acid2 test" isn't a good idea. What are the pass conditions? As far as I can tell the lack of vertical centering is the only bug shown here. (And I'm not sure if it's even a bug for 'position: absolute', but it definitely is for 'position: fixed'.)
This should be marked as a dupe or dep of #289480 for consolidation
Summary: Failure to pass Anne van Kesteren's Acid2 test → Failure to pass Anne van Kesteren's absolute positioning test
Nikolas: this is a totally different bug. The dependecies you added to bug 289480 should probably be removed as they are specific to this bug, not to that bug. Please read carefully before doing such things.
Depends on: 243519
Sorry, missed the difference in URL. Can't believe I repeated the same mistake that was made before.
removing URL field to reduce search hits on people looking for acid2. Calling another test "acid2" after the WaSP one was announced was an extremely foolish thing to do, and will lead to a lot of confusion. Marking bug invalid on that basis. This isn't a very thorough test, and the bugs should just be filed on their own, with appropriately reduced testcases. Writing testcases of this style also isn't very useful unless you're trying to get publicity for them.
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → INVALID
dbaron, it was never my intention that this got posted to Bugzilla. As you can see I filed the separate issues this bug was about (bug 243519 and bug 285871). I posted the thing on my weblog more as a joke than as a formal testcase. Formal testcases have been attached to the bugs I filed. Calling this an extremely foolish thing is not appropriate imho. Anyway, VERIFIED INVALID as I already said in comment 5 that I was unsure if having this bug was useful.
Status: RESOLVED → VERIFIED
No longer depends on: 243519, 285871
I'll note that Anne did create her test before the WaSP. Not a huge deal.
His test* and it was indeed after the WaSPs announcement. However, it was never meant to be a serious test as mentioned in comment 11.
Unless I'm misreading dates ... 3/16/2005 - Anne's (not serious) blog post http://annevankesteren.nl/archives/2005/03/acid2 4/12/2005 - Anne notices official acid2 http://annevankesteren.nl/archives/2005/04/official-acid2 4/13/2005 - Official press release from WaSP http://webstandards.org/press/releases/archive/2005/04/13/index.html Thanks for the gender correction.
You need to log in before you can comment on or make changes to this bug.