- From: Gérard Talbot <css21testsuite@gtalbot.org>
- Date: Thu, 10 Feb 2011 13:01:02 -0800
- To: "taka oshiyama" <oshiyama@est.co.jp>
- Cc: "Public CSS test suite mailing list" <public-css-testsuite@w3.org>
Le Jeu 10 février 2011 1:51, taka oshiyama a écrit : > Talbot-san > Thanks to your useful comments. I uploaded the file here > http://test.csswg.org/source/contributors/east-tokyo/submitted/css3-writing-modes/writing-mode-vertical-rl-001.xht after reflecting all. Please look into the file and review again. regards, Taka, 1- Email address obfuscation. You may want to obfuscate your (and/or your east tokyo work colleagues) email address or give instead a contact webpage to counter email address harvesting robots. Just a suggestion here. Example given: http://test.csswg.org/suites/css2.1/20110111/html4/content-type-001.htm http://test.csswg.org/suites/css2.1/20110111/html4/universal-selector-005.htm or even use an email obfuscation software. E.g.: oshiyama@est.co.jp 2- <![CDATA[ ... ]]> Your local style block should start with <![CDATA[ and end with ]]> when editing an XHTML page. <style type="text/css"><![CDATA[ CSS FOR TEST ]]></style> 3- #test p { margin: 0; text-indent: 0; white-space: pre; } By default in all browsers I know of, <p> elements do not have a non-zero text-indent. So, I think you can safely remove 'text-indent: 0;' here. In case of doubt, I sometimes check the user agent default style sheet of open source browsers: Firefox user agent style sheet defaults http://mxr.mozilla.org/mozilla/source/layout/style/html.css WebKit user agent style sheet defaults http://trac.webkit.org/browser/trunk/Source/WebCore/css/html.css Konqueror user agent style sheet defaults http://websvn.kde.org/*checkout*/trunk/KDE/kdelibs/khtml/css/html4.css?content-type=text%2Fplain Opera 11's DragonFly (built-in web debugging add-on) displays user agent default stylesheet for elements. Google Chrome 9+'s web inspector will also report user agent default stylesheet for elements. Not perfectly reliable/trustworthy is: Internet Explorer user agent style sheet defaults (IE6, IE7, IE8, IE9) http://www.iecss.com/ 4- If it is possible to avoid using a nested <p> inside the <div id="test">, then it is even more better. When you use a nested <div>, you do not have to "neutralize"/zero the margin-top and margin-bottom like you must do for <p>. 5- One important question for you. I can understand why div#control has 'white-space: pre' but I do *not* understand why #test p has 'white-space: pre' . If the writing-mode-vertical-rl-001.xht testcase wants to really put to the test this 'writing-mode: vertical-rl' property declaration and "challenge"/test browsers on their rendering, then I would not declare #test p {white-space: pre;} regards, Gérard -- Contributions to the CSS 2.1 test suite: http://www.gtalbot.org/BrowserBugsSection/css21testsuite/ CSS 2.1 test suite (RC5; January 11th 2011): http://test.csswg.org/suites/css2.1/20110111/html4/toc.html CSS 2.1 test suite contributors: http://test.csswg.org/source/contributors/
Received on Thursday, 10 February 2011 21:01:39 UTC