- From: Gérard Talbot <css21testsuite@gtalbot.org>
- Date: Sat, 18 Dec 2010 09:52:44 -0800
- To: "Øyvind Stenhaug" <oyvinds@opera.com>
- Cc: "public-css-testsuite@w3.org" <public-css-testsuite@w3.org>
Le Mar 14 décembre 2010 3:17, Øyvind Stenhaug a écrit : > On Mon, 13 Dec 2010 22:45:05 +0100, Gérard Talbot > <css21testsuite@gtalbot.org> wrote: > >> http://test.csswg.org/suites/css2.1/20101210/html4/bidi-alt-001.htm >> bidi-alt-001 should probably be invalid because "elbadaer" alt text >> attribute does not have to be styled by direction according to section >> 3.1 > > On the wiki page, you have indicated that it is "fixed in RC4". Well, then, this was premature. I will update this. > (It was > fixed by fantasai by setting width:0 for img so that the alt text won't > be > visible if the img is still considered to be a replaced element.) There are browsers which will ignore, will override by default the author specified image placeholder dimensions (width="0", 'width: 0') when rendering the alt text for accessibility purposes. This is what happens in this testcase with Firefox 3.6.13. See browser. display. force_inline_alttext at http://kb.mozillazine.org/About:config_entries#Browser%2E Such feature is also recommended by UAAG 1, UAAG 2, Ian Hickson, etc. The testcase original purpose as stated by its title was how the alt text can be styled by bidirection declarations and this is not normatively covered by the spec. Specifying width="0" and setting 'width: 0' may or may not hide the alt text in UAAG conformant browsers. If specifying width="0" and setting 'width: 0' hide the alt text, then the original testcase purpose is defeated, ignored. I think width="0" and setting 'width: 0' should only apply to the src replaced content, not to the alt text anyway. <meta name="assert" content="If alt text is not treated as replaced content, then unicode-bidi applies to image alt text."> but I can't find anywhere in the spec where it says that unicode-bidi should apply to alt text in such case. regards, Gérard -- Contributions to the CSS 2.1 test suite: http://www.gtalbot.org/BrowserBugsSection/css21testsuite/ CSS 2.1 test suite (RC4; December 10th 2010): http://test.csswg.org/suites/css2.1/20101210/html4/toc.html CSS 2.1 test suite contributors: http://test.csswg.org/source/contributors/
Received on Saturday, 18 December 2010 17:53:21 UTC