Bug 19827
| Summary: | google search result has extraneous space in place of 'wbr' | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Jungshik Shin <jshin> |
| Component: | Evangelism | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED CONFIGURATION CHANGED | ||
| Severity: | Normal | CC: | jensimmons, webkit |
| Priority: | P2 | Keywords: | GoogleBug |
| Version: | 525.x (Safari 3.1) | ||
| Hardware: | All | ||
| OS: | All | ||
| URL: | http://www.google.com/search?hl=en&q=detour+function+example&btnG=Search | ||
Jungshik Shin
1. Go to the url above
2. The first hit (as of today) is
Detours: Binary Interception of Win32 Functions
File Format: PDF/Adobe Acrobat - View as HTML
import table can contain renamed import DLLs. and functions or entirely new DLLs and functions. For example, Coign [7] uses Detours to insert an ...
research.microsoft.com/~galenh/ publications/huntusenixnt99.pdf - Similar pages
Note that the last line (the url in green) has a space before 'publications'. Google search result emits <wbr> before 'publication' apparently to help browsers with line breaking. Firefox and IE take it just as a line breaking opportunity but Safari replaces <wbr> with a space. (tested on WIndows but expects Mac Safari to behave the same way)
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Jungshik Shin
It seems that Google emits 'space' for Safari while it emits <wbr> for Firefox.
So, Google needs to be 'persuaded' to either omit 'wbr'/space altogether (assuming webkit's line breaking handles edge cases like urls reasonably) or use 'wbr' for Safari as well.
mitz
Is this fixed on the Google side now?
Jungshik Shin
No, it's not. Somehow Safari 3.1 fails the 1st test at
http://www.quirksmode.org/oddsandends/wbr.html
However, webkit-trunk passes all the tests there.