Bug 13375: Syspref search highlight styling broken in Chrome
This patch encloses the the syspref description/values mix in a <div>. It doesn't introduce any regression on other browsers (like Firefox) and has the side effect to make Chrome render the highlighted words on syspref searches well. This alternate patch uses a <div> instead of a <span> because it will sometimes contain block-level elements. Follow the same plan: To test: - Search for 'facet' on the sysprefs => FAIL: verify it has styling problems in Chrome - Apply the patch, reload => SUCCESS: styling is correct Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
This commit is contained in:
parent
6413eb9949
commit
6c23ef54a3
1 changed files with 2 additions and 2 deletions
|
@ -110,7 +110,7 @@
|
|||
[% END %]
|
||||
</code>
|
||||
</td>
|
||||
<td>
|
||||
<td><div>
|
||||
[% FOREACH CHUNK IN LINE.CHUNKS %]
|
||||
[% IF ( CHUNK.type_text ) %]
|
||||
[% CHUNK.contents %]
|
||||
|
@ -166,7 +166,7 @@
|
|||
</dl>
|
||||
[% END %]
|
||||
[% END %]
|
||||
</td>
|
||||
</div></td>
|
||||
</tr>
|
||||
[% IF ( loop.last ) %]</tbody></table>[% END %]
|
||||
[% END %]
|
||||
|
|
Loading…
Reference in a new issue