Return-Path: X-Original-To: apmail-incubator-bloodhound-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-bloodhound-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 283F5F222 for ; Fri, 22 Mar 2013 10:12:33 +0000 (UTC) Received: (qmail 85044 invoked by uid 500); 22 Mar 2013 10:12:33 -0000 Delivered-To: apmail-incubator-bloodhound-dev-archive@incubator.apache.org Received: (qmail 84972 invoked by uid 500); 22 Mar 2013 10:12:32 -0000 Mailing-List: contact bloodhound-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: bloodhound-dev@incubator.apache.org Delivered-To: mailing list bloodhound-dev@incubator.apache.org Received: (qmail 84942 invoked by uid 99); 22 Mar 2013 10:12:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Mar 2013 10:12:31 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of brane@wandisco.com designates 209.85.215.180 as permitted sender) Received: from [209.85.215.180] (HELO mail-ea0-f180.google.com) (209.85.215.180) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Mar 2013 10:12:26 +0000 Received: by mail-ea0-f180.google.com with SMTP id m14so125253eaj.25 for ; Fri, 22 Mar 2013 03:12:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:message-id:date:from:organization:user-agent :mime-version:to:subject:references:in-reply-to:content-type :content-transfer-encoding:x-gm-message-state; bh=kbPduoqf5ZMq//zMVUZEailxw8yFhjtRcLzfo9F1CR4=; b=gismUhCmUcSRdyCGN1vmaGhDInLNba//4XTHAn9PLf/bwoDtsK5onFy7Rps7FCMJsf KaCMESEpHRishXLfyXnDqnGLjqc7zKS1qQCY2RU9zyLJHAkq7VdAdiYhrKydGuuhJcZz rXDFH45VRomKrtu/KlLUN2qv/jz2gnCSy9aJHVwtmO9r3ej+ZdFJx8ilja0eVJv1JGgV UZJfwYmep7sdIjzPbtb6ab7hTInm6SsLMHW3ndybN3/IH0ubS45M2MObLkcZdEkbKy8A DGW4wpXbUr0ascu0kHoEtxEyjJXztH6og29KpaXyrQU+qaV9gduMSf6ciH9oCLltHLvA tcmg== X-Received: by 10.15.67.134 with SMTP id u6mr3668493eex.6.1363947124631; Fri, 22 Mar 2013 03:12:04 -0700 (PDT) Received: from zulu.local (cpe-46-164-3-106.dynamic.amis.net. [46.164.3.106]) by mx.google.com with ESMTPS id f47sm2008730eep.13.2013.03.22.03.12.03 (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 22 Mar 2013 03:12:03 -0700 (PDT) Received: from zulu.local (localhost [IPv6:::1]) by zulu.local (Postfix) with ESMTP id 9F22C12A1F63 for ; Fri, 22 Mar 2013 11:11:55 +0100 (CET) Message-ID: <514C2E6B.6070704@wandisco.com> Date: Fri, 22 Mar 2013 11:11:55 +0100 From: =?UTF-8?B?QnJhbmtvIMSMaWJlag==?= Organization: WANdisco User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130307 Thunderbird/17.0.4 MIME-Version: 1.0 To: bloodhound-dev@incubator.apache.org Subject: Re: [REGRESSION] What should be italics is rendered as bold text WAS: svn commit: r1456892 - /incubator/bloodhound/trunk/bloodhound_theme/bhtheme/htdocs/bloodhound.css References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Gm-Message-State: ALoCoQlPpNngUebPfnGn1i9Pq5pA2aNxzo9frOI/tzAB+3STtAPN9ssPyOQAPbM/H6jw28bQmv+4 X-Virus-Checked: Checked by ClamAV on apache.org On 22.03.2013 10:24, Anze Staric wrote: > The change was introduced in r1452190 with match highlighting in > search. The tag was chosen as the tag to mark matches based on > the default choise of Solr ( for emphasis - > http://lucene.apache.org/solr/4_1_0/tutorial.html#Highlighting). > > Css was modified to match the look of the google search results (bold > matches). As it only changes style inside elements marked as > searchable it was not supposed to break anything outside the search > results. I forgot to check whether the css class was used in other > contexts. The following patch replaces the name of the class marking > the search results that need to be highlighted. phasis does not imply italic text, so in general it's fine to have bold emphasis instead of italic (or underlined, or different font or colour, or whatever). Since the definitions is scoped within class=highlight_matches, I don't really see a problem. -- Brane -- Branko Čibej Director of Subversion | WANdisco | www.wandisco.com