Whitespace affects the rendering of unordered-list-as-tabs. See URL for details.
* STEPS TO REPRODUCE
1. Launch Safari/WebKit.
2. Open URL: http://bugs.webkit.org/attachment.cgi?id=17268&action=view
The "ON THE WEB" tab on the top is rendered differently than the "ON THE WEB" tab on the bottom.
Unknown. Only tested with a local debug build of WebKit r28828 with Safari 3.0.4 (523.12) on Mac OS X 10.4.11 (8S165).
Both tabs render as expected with Firefox 184.108.40.206 and Opera 9.24.
(In reply to comment #0)
> * STEPS TO REPRODUCE
> 1. Launch Safari/WebKit.
> 2. Open URL: http://bugs.webkit.org/attachment.cgi?id=17268&action=view
Test case originally attached to Bug 14134.
Created attachment 17990 [details]
In Firefox 220.127.116.11, both green boxes are the same width and height.
In MSIE 7, both green boxes are the same height, but the width of the bottom box is a few pixels smaller than the top box.
In a local debug build of WebKit r28828 with Safari 3.0.4 (523.12) on Mac OS X 10.4.11 (8S165), the bottom box is smaller in width and height than the top box.
Interesting things that affect the width and height:
- Removing/adding <span> tags. (They were changed from <em> tags, but <strong> tags work as well.)
- Adding/removing whitespace before </li> elements.
- Removing/adding empty <li></li> elements.
Perhaps a duplicate of bug 8392.