Community
Participate
Working Groups
3.1 RC1 - Window > Preferences > General > Content Types - press the Help key - in the resulting help window, click on "Content Types" - the page has blank areas where "Content Types" is supposed to be highlighted
Created attachment 22082 [details] Screen shot (TIFF format)
There's also a large blank area at top.
What's your Safari version?
Safari 1.3 on OS X 10.3.9.
Thanks. I am running Safari 1.3 (v312) and cannot reproduce the problem. It used to be an issue in the past. See bug 47298.
I reproduced in the help view, and now realize your screen shot is showing the view not the browser.
Created attachment 22154 [details] screen shot PDF I attach an image of the the same document displayed in the help view, and in the browser (after clicking "show in external window"
The help view uses the embedded browser. Check the narrow_book.css to see if there are some CSS styles that may cause this on Mac.
My Safari is v312 too.
Note that the screenshot is of the sidecar help window used for dialogs, which I guess uses the same code as the help view.
Highlighting: It turns out that user agent in embedded browser is different than in stand alone Safari. The string is missing "Safari" and its version at the end. Chris is this intentional? Since the fix for bug 47298 was looking for "Safari" it was not working in the embedded. For RC2, I have added a check for "AppleWebKit" to javascript that does highlighting. It fixes the words highlighting problem. Dejan, The title is still white on white because narrow_book.css if using "Highlight" system color that Safari does not understand.
Can we have ws-specific entries in CSS?
> is this intentional? No. Probably a side effect of using Webkit. CC'ing Grant. I believe there is API to set the user agent property in Webkit.
I Googled for the way to detect Safari in CSS but did not find anything that was not kludgy. Instead, I added another line in the CSS injection filter that imports <os>_narrow_book.css script when topics are shown in the help view. If present, this CSS can be used to override some settings that are misbehaving on a particular os. I added macosx_narrow_book.css - a small file that sets H1 and H2 back to black. Works like charm. This can also be used to tweak topic presentation in the view for IE (for windows) and Mozilla (Linux). OS is good enough because we only use one browser per OS for the Browser widget.