[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kfm-devel
Subject:    Re: Patch for bug #200795
From:       Germain Garand <germain () ebooksfrance ! org>
Date:       2009-11-25 18:59:08
Message-ID: 200911251959.08720.germain () ebooksfrance ! org
[Download RAW message or body]

Le mercredi 18 novembre 2009, Andrea Iacovitti a écrit :
> Hi,
> revision 1046447 fixes half of bug, there are some cases where *buttons*
> does not respect border:none , like in comment #4 and #5:
>
> http://bugs.kde.org/show_bug.cgi?id=200795#c4
> http://bugs.kde.org/show_bug.cgi?id=200795#c5
>
> (another test case would be:
> http://sol.cib.unibo.it/SebinaOpac/Opac?sysb=UBOSB , here some buttons must
> not have borders)
>
> Attached a proposed (tested) patch (same logic as in revision 1046447).

Hi Andrea,
your patch makes plain sense indeed...

but then we'd better factor this code in some more readable 
method  I guess (e.g. shouldDisableNativeBorders() ?)

if only because one day some usability option could want to have the native 
borders still painted in the 'border:none' case (bringing much better 
discoverability of form widgets ... I thought about adding such an option 
already when making form widgets more obedient to CSS styling... some people 
with slight disabilities might prefer a lot to have widgets that stand out, 
even against the web designer's will.)

Maybe also renaming shouldPaintBorder() to shouldPaintCSSBorders() would be 
clearer, what do you think?

Greetings,
Germain


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic